summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_xl.c
diff options
context:
space:
mode:
authorsilby <silby@FreeBSD.org>2003-01-06 00:36:13 +0000
committersilby <silby@FreeBSD.org>2003-01-06 00:36:13 +0000
commit4b029c13b0ae30aeffa9dbab112c6db24a3ec533 (patch)
treea8c83419f9be46d0e58e3ac043e6a1ceda3f2d0a /sys/pci/if_xl.c
parent95f59f22f73d880fcb3ed287d333c60dacc6614b (diff)
downloadFreeBSD-src-4b029c13b0ae30aeffa9dbab112c6db24a3ec533.zip
FreeBSD-src-4b029c13b0ae30aeffa9dbab112c6db24a3ec533.tar.gz
Add two MII_SETs to provide a bit more time between operations in
xl_sync; this appears to be necessary with certain systems. Requested by: Michael Class <michael_class@gmx.net>
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 95bcf77..8b55765 100644
--- a/sys/pci/if_xl.c
+++ b/sys/pci/if_xl.c
@@ -406,7 +406,9 @@ xl_mii_sync(sc)
for (i = 0; i < 32; i++) {
MII_SET(XL_MII_CLK);
+ MII_SET(XL_MII_DATA);
MII_CLR(XL_MII_CLK);
+ MII_SET(XL_MII_DATA);
}
return;
OpenPOWER on IntegriCloud