Disabling PCI Memory Read Multiple improves Tulip transmit performance 30%.
This commit is contained in:
parent
59307a9107
commit
43a7ae04c9
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: gt.c,v 1.2 2000/03/31 14:51:52 soren Exp $ */
|
||||
/* $NetBSD: gt.c,v 1.3 2000/04/09 00:11:51 soren Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2000 Soren S. Jorvang. All rights reserved.
|
||||
|
@ -84,11 +84,10 @@ gt_attach(parent, self, aux)
|
|||
#if NPCI > 0
|
||||
pba.pba_busname = "pci";
|
||||
pba.pba_dmat = &pci_bus_dma_tag;
|
||||
pba.pba_flags = PCI_FLAGS_IO_ENABLED | PCI_FLAGS_MEM_ENABLED; /* XXX */
|
||||
/* XXX mrl mrm mwai? */
|
||||
pba.pba_flags = PCI_FLAGS_IO_ENABLED | PCI_FLAGS_MEM_ENABLED;
|
||||
pba.pba_bus = 0;
|
||||
pba.pba_flags = PCI_FLAGS_IO_ENABLED | PCI_FLAGS_MEM_ENABLED |
|
||||
PCI_FLAGS_MRL_OKAY | PCI_FLAGS_MRM_OKAY | PCI_FLAGS_MWI_OKAY;
|
||||
PCI_FLAGS_MRL_OKAY | /*PCI_FLAGS_MRM_OKAY|*/ PCI_FLAGS_MWI_OKAY;
|
||||
config_found(self, &pba, gt_print);
|
||||
#endif
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue