summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_xl.c
diff options
context:
space:
mode:
authorsilby <silby@FreeBSD.org>2003-09-29 02:14:04 +0000
committersilby <silby@FreeBSD.org>2003-09-29 02:14:04 +0000
commitb79b4549fd410fad1226a05a2ac930dad193b4ec (patch)
tree895dfeccab1d44b0119055215349bdbf93420c0f /sys/pci/if_xl.c
parent8aed1d333919b5d06d2b9d23e084b6e6f852b90d (diff)
downloadFreeBSD-src-b79b4549fd410fad1226a05a2ac930dad193b4ec.zip
FreeBSD-src-b79b4549fd410fad1226a05a2ac930dad193b4ec.tar.gz
Add a tiny bit more delay in the xl_mii_sync function; this is necessary
for proper intialization in certain 905B + old system combinations. Tested by: Jakub Miziolek <jxm@obta.uw.edu.pl>
Diffstat (limited to 'sys/pci/if_xl.c')
-rw-r--r--sys/pci/if_xl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c
index f8841f4..6bfd7fb 100644
--- a/sys/pci/if_xl.c
+++ b/sys/pci/if_xl.c
@@ -413,8 +413,10 @@ xl_mii_sync(sc)
for (i = 0; i < 32; i++) {
MII_SET(XL_MII_CLK);
MII_SET(XL_MII_DATA);
+ MII_SET(XL_MII_DATA);
MII_CLR(XL_MII_CLK);
MII_SET(XL_MII_DATA);
+ MII_SET(XL_MII_DATA);
}
return;
OpenPOWER on IntegriCloud