Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: 5.0_RC3 messed up RTL8111DL onboard NIC
tomsbsd%googlemail.com@localhost wrote:
> Thomas Bieg schrieb:
> > Izumi Tsutsui wrote:
> > Hmm, could you try this random patch for netbsd-5 (from FreeBSD)?
>
> Didn't get around to it earlier.
>
> No change AFAICT. No Gigabit, persisting across warm-boots.
> (I don't even have to ifconfig anything for this to happen.)
>
> Didn't make anything worse though.
Okay, next could you try this one?
http://www.ceres.dti.ne.jp/~tsutsui/netbsd/netbsd-amd64-5.0_RC4-20090418.gz
http://www.ceres.dti.ne.jp/~tsutsui/netbsd/netbsd-i386-5.0_RC4-20090418.gz
---
Index: sys/dev/mii/rgephy.c
===================================================================
RCS file: /cvsroot/src/sys/dev/mii/rgephy.c,v
retrieving revision 1.21
diff -u -r1.21 rgephy.c
--- sys/dev/mii/rgephy.c 4 May 2008 17:06:10 -0000 1.21
+++ sys/dev/mii/rgephy.c 18 Apr 2009 04:00:08 -0000
@@ -589,13 +589,6 @@
if (rsc->mii_revision < 2)
rgephy_load_dspcode(sc);
else {
- PHY_WRITE(sc, 0x1F, 0x0001);
- PHY_WRITE(sc, 0x09, 0x273a);
- PHY_WRITE(sc, 0x0e, 0x7bfb);
- PHY_WRITE(sc, 0x1b, 0x841e);
-
- PHY_WRITE(sc, 0x1F, 0x0002);
- PHY_WRITE(sc, 0x01, 0x90D0);
PHY_WRITE(sc, 0x1F, 0x0000);
PHY_WRITE(sc, 0x0e, 0x0000);
}
---
Izumi Tsutsui
Home |
Main Index |
Thread Index |
Old Index