summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/if_dc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/pci/if_dc.c b/sys/pci/if_dc.c
index a838709..ee83951 100644
--- a/sys/pci/if_dc.c
+++ b/sys/pci/if_dc.c
@@ -1836,6 +1836,11 @@ static int dc_attach(dev)
sc->dc_flags |= DC_TX_COALESCE|DC_TX_INTR_ALWAYS;
sc->dc_flags |= DC_REDUCED_MII_POLL|DC_TX_STORENFWD;
sc->dc_pmode = DC_PMODE_MII;
+ /* Increase the latency timer value. */
+ command = pci_read_config(dev, DC_PCI_CFLT, 4);
+ command &= 0xFFFF00FF;
+ command |= 0x00008000;
+ pci_write_config(dev, DC_PCI_CFLT, command, 4);
break;
case DC_DEVICEID_AL981:
sc->dc_type = DC_TYPE_AL981;
OpenPOWER on IntegriCloud