On Sun, Mar 03, 2013 at 12:00:10PM +0000, Alexey Dokuchaev wrote:
> On Sun, Mar 03, 2013 at 09:53:30AM +0000, Alexey Dokuchaev wrote:
> > However, after reboot ale0 come up at 1000baseT <full-duplex>, with patched
> > driver (longer delays in ale_phy_reset()).  I've reverted this change and
> > rebooted again, but it again come up as GigE.
> 
> Alas, after "make kernel", link come up as 100mbps again, playing with
> delays and rebooting (several times) did not make it GigE.  I'm not sure
> what's actually affecting it. :-(

Would you try attached patch?

> 
> ./danfe
Index: sys/dev/mii/atphy.c
===================================================================
--- sys/dev/mii/atphy.c	(revision 247382)
+++ sys/dev/mii/atphy.c	(working copy)
@@ -287,9 +287,11 @@ atphy_reset(struct mii_softc *sc)
 	uint32_t reg;
 	int i;
 
+#if 0
 	/* Take PHY out of power down mode. */
 	PHY_WRITE(sc, 29, 0x29);
 	PHY_WRITE(sc, 30, 0);
+#endif
 
 	reg = PHY_READ(sc, ATPHY_SCR);
 	/* Enable automatic crossover. */
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to