Re: ale(4) cannot negotiate as GigE
--OXfL5xGRrasGEqWY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
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
--OXfL5xGRrasGEqWY
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="atphy.diff"
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. */
--OXfL5xGRrasGEqWY
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
--OXfL5xGRrasGEqWY--
討論串 (同標題文章)
完整討論串 (本文為第 20 之 29 篇):