* [RESEND] [PATCH] asix.c: Fix AX88178 connectivity with 10/100 networks
@ 2008-11-20 15:25 David Hollis
2008-11-21 4:41 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: David Hollis @ 2008-11-20 15:25 UTC (permalink / raw)
To: David Miller; +Cc: netdev, pktoss
[-- Attachment #1: Type: text/plain, Size: 207 bytes --]
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>
[-- Attachment #2: Type: text/x-patch, Size: 536 bytes --]
--- 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-11-21 4:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-20 15:25 [RESEND] [PATCH] asix.c: Fix AX88178 connectivity with 10/100 networks David Hollis
2008-11-21 4:41 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).