Message ID | 1227194741.4420.37.camel@dhollis-lnx |
---|---|
State | Superseded, archived |
Delegated to: | David Miller |
Headers | show |
From: David Hollis <dhollis@davehollis.com> Date: Thu, 20 Nov 2008 10:25:41 -0500 > Add AX_MEDIUM_ENCK also when speed = 10/100Mbps. This makes the Belkin > F5D5055 device work properly. > > Signed-off-by: Pantelis Koukousoulas <pktoss@gmail.com> > Acked-by: David Hollis <dhollis@davehollis.com> I already applied Pantelis's patch and it's in Linus's tree. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
--- a/drivers/net/usb/asix.c 2008-11-20 09:50:04.000000000 -0500 +++ b/drivers/net/usb/asix.c 2008-11-20 09:50:36.000000000 -0500 @@ -1102,12 +1102,14 @@ static int ax88178_link_reset(struct usb mode = AX88178_MEDIUM_DEFAULT; if (ecmd.speed == SPEED_1000) - mode |= AX_MEDIUM_GM | AX_MEDIUM_ENCK; + mode |= AX_MEDIUM_GM; else if (ecmd.speed == SPEED_100) mode |= AX_MEDIUM_PS; else mode &= ~(AX_MEDIUM_PS | AX_MEDIUM_GM); + mode |= AX_MEDIUM_ENCK; + if (ecmd.duplex == DUPLEX_FULL) mode |= AX_MEDIUM_FD; else