On Wed, Aug 11, 2010 at 11:24:56PM +0300, Zeus V Panchenko wrote:
> Pyun YongHyeon (pyu...@gmail.com) [10.08.11 23:09] wrote:
> > On Wed, Aug 11, 2010 at 10:34:07PM +0300, Zeus V Panchenko wrote:
> > > oh, i forgoten :(
> > > 
> > > dmesg.boot contains:
> > > 
> > > re0: <RealTek 8168/8168B/8168C/8168CP/8168D/8111B/8111C/8111CP PCIe 
> > > Gigabit Ethernet> port 0xe800-0xe8ff mem 
> > > 0xfafff000-0xfaffffff,0xfaff8000-0xfaffbfff irq 17 at device 0.0 on pci2
> > > re0: Using 1 MSI messages
> > > re0: Chip rev. 0x28000000
> > > re0: MAC rev. 0x00000000
> > > miibus0: <MII bus> on re0
> > > rgephy0: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus0
> > > rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
> > > 1000baseT-FDX, auto
> > > re0: Ethernet address: 48:5b:39:d2:1d:89
> > > re0: [FILTER]
> > > 
> > 
> > >From the output above, I believe you're using slightly old stable.
> > Please use 8.1-RELEASE and let me know how it works on 8.1-RELEASE.
> 
> ooops .... sorry, it was another box
> here the one i was begining from and where the problem persists too
> 
> > uname -a
> FreeBSD egw.ibs.dn.ua 8.1-STABLE FreeBSD 8.1-STABLE #0: Mon Aug  9 10:33:17 
> EEST 2010     r...@egw.ibs.dn.ua:/usr/obj/usr/src/sys/EGW  amd64
> 
> re0: <RealTek 8168/8111 B/C/CP/D/DP/E PCIe Gigabit Ethernet> port 
> 0xe800-0xe8ff mem 0xfafff000-0xfaffffff,0xfaff8000-0xfaffbfff irq 17 at 
> device 0.0 on pci2
> re0: Using 1 MSI messages
> re0: Chip rev. 0x28000000
> re0: MAC rev. 0x00000000
> miibus0: <MII bus> on re0
> rgephy0: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus0
> rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
> 1000baseT-FDX, auto
> re0: Ethernet address: 20:cf:30:89:5e:95
> re0: [FILTER]
> 
> > devinfo -rv
> rgephy0 pnpinfo oui=0x732 model=0x11 rev=0x2 at phyno=1
> 
> i was cvsup-ing a couple of days ago ... now i have killed all tree and 
> cvs-ing again ...
> 

Ok thanks for the info. Would you try attached patch and let me
know whether it makes any difference?
Index: sys/dev/re/if_re.c
===================================================================
--- sys/dev/re/if_re.c	(revision 211176)
+++ sys/dev/re/if_re.c	(working copy)
@@ -1311,6 +1311,8 @@
 		 * RTL8111C/CP : supports up to 9KB jumbo frame.
 		 */
 		sc->rl_flags |= RL_FLAG_NOJUMBO;
+		if (hw_rev->rl_rev == RL_HWREV_8168D)
+			sc->rl_flags |= RL_FLAG_PHYWAKE_PM;
 		break;
 	case RL_HWREV_8168E:
 		sc->rl_flags |= RL_FLAG_PHYWAKE | RL_FLAG_PHYWAKE_PM |
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to