Skip to contentSkip to conversation

Fix asix-based cards connecting to 10/100Mbs LAN.

PATCH In review Pantelis Koukousoulas 3 participants 5 messages Nov 20, 2008 – Nov 21, 2008 2 messages not in the archive

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix asix-based cards connecting to 10/100Mbs LAN.

Add AX_MEDIUM_ENCK also when speed = 10/100Mbps. This allows my belkin
f5d5055 to work with my 100Mbps switch and with an old 10Mbps ISA card. Without this patch, the card is recognized and the interface is brought up fine, but no packets actually flow through the interface.

---
 drivers/net/usb/asix.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
drivers/net/usb/asix.c +3 -1
index e12cdb4..de57490 100644
@@ -1102,12 +1102,14 @@ static int ax88178_link_reset(struct usbnet *dev)
 	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
Signature · 1 line
1.5.6.3
maintainer
#1 lore raw

From: Pantelis Koukousoulas <[email protected]>
Date: Thu, 20 Nov 2008 11:47:43 +0200

Quoted 7 lines

Add AX_MEDIUM_ENCK also when speed = 10/100Mbps. This allows my belkin
f5d5055 to work with my 100Mbps switch and with an old 10Mbps ISA card. Without this patch, the card is recognized and the interface is brought up fine, but no packets actually flow through the interface.

Patch applied, thank you.

maintainer
#5 lore raw

From: "Pantelis Koukousoulas" <[email protected]>
Date: Thu, 20 Nov 2008 18:42:10 +0200

Quoted 4 lines
Quoted 1 line

Patch applied, thank you.

Thanks for applying :)
Should I expect this for 2.6.28 or 2.6.29 ?

It's in Linus's tree already.

#6 lore raw
Quoted 9 lines · David Miller

From: "Pantelis Koukousoulas" <[email protected]>
Date: Thu, 20 Nov 2008 18:42:10 +0200

Quoted 4 lines
Quoted 1 line

Patch applied, thank you.

Thanks for applying :)
Should I expect this for 2.6.28 or 2.6.29 ?

It's in Linus's tree already.

Which means that it will be in 2.6.28 final.

Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html