Date: Mon, 15 Dec 2008 21:36:14 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/dc if_dc.c if_dcreg.h Message-ID: <200812152136.mBFLaPFR034455@repoman.freebsd.org>
index | next in thread | raw e-mail
marius 2008-12-15 21:36:14 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/dev/dc if_dc.c if_dcreg.h
Log:
SVN rev 186137 on 2008-12-15 21:36:14Z by marius
MFC: 185750
- According to the corresponding Linux, NetBSD and OpenSolaris
drivers, there should be a 1us delay after every write when
bit-banging the MII. Also insert barriers in order to ensure
the intended ordering. These changes hopefully will solve the
bus wedging occasionally experienced with DM9102A since r182461.
- Deobfuscate dc_mii_readreg() a bit.
Approved by: re (kib)
Revision Changes Path
1.192.2.6 +42 -34 src/sys/dev/dc/if_dc.c
1.54.2.3 +3 -0 src/sys/dev/dc/if_dcreg.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812152136.mBFLaPFR034455>
