On Thu, May 08, 2014 at 05:23:32PM +0000, Alexey Dokuchaev wrote:
> On Tue, Mar 05, 2013 at 09:14:11AM +0000, Alexey Dokuchaev wrote:
> > On Tue, Mar 05, 2013 at 05:57:03PM +0900, YongHyeon PYUN wrote:
> > > Hmm, Does the switch support EEE feature? If yes, would you try
> > > disabling it?
> > I do not think it  does; plus I cannot do much about this switch, as I'm
> > pretty far away from it right now.
> > 
> > http://netgear.com/home/products/switches-and-access-points/unmanaged-switches/GS608.aspx
> > (got it about 4 years ago)
> I just had a chance to plug the Ethernet cable directly into my laptop's
> bge(4) port, and it immediately negotiated at 1000baseT; but with the switch,
> it can only feel fine with 10baseT/UTP (after some 1000baseT-no carrier flip
> flopping). So it looks like it fails to talk to the switch. Given that this
> switch of mine in a simple (dumb) piece of equipment, any ideas how to help
> ale(4) to negotiate with it at full speed?
Because there is no publicly available data sheet for Atheros F1
PHY I'm not sure what could be done in this case. The only thing
I can think of at this moment is announcement of next page in auto
negotiation. atphy(4) does not directly manipulate master/slave,
single port/multi port configuration and this configuration may
need next page if other link partner also announces next page
Try attached patch and let me know whether this makes any
difference for you. You may have to cold boot the box because
stock driver used to clear next page bit in auto-negotiation.
--- sys/dev/mii/atphy.c (revision 265477)
+++ sys/dev/mii/atphy.c (working copy)
@@ -338,7 +338,9 @@ atphy_setmedia(struct mii_softc *sc, int media)
- anar = BMSR_MEDIA_TO_ANAR(sc->mii_capabilities) | ANAR_CSMA;
+ anar = PHY_READ(sc, MII_ANAR);
+ anar &= ANAR_NP;
+ anar |= BMSR_MEDIA_TO_ANAR(sc->mii_capabilities) | ANAR_CSMA;
if ((IFM_SUBTYPE(media) == IFM_AUTO || (media & IFM_FDX) != 0) &&
((media & IFM_FLOW) != 0 ||
(sc->mii_flags & MIIF_FORCEPAUSE) != 0))
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"