lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1295ed070811171041j1258ec41kc6b1db61e83b628e@mail.gmail.com>
Date:	Mon, 17 Nov 2008 20:41:57 +0200
From:	"Pantelis Koukousoulas" <pktoss@...il.com>
To:	netdev@...r.kernel.org
Subject: [PATCH] Fix asix-based gigabit cards connecting to 10 or 100Mbs networks

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.

 Signed-off-by: Pantelis Koukousoulas <pktoss@...il.com>
 Acked-by: David Hollis <dhollis@...ehollis.com>

 Index: linux-next/drivers/net/usb/
 asix.c
 ===================================================================
 --- linux-next.orig/drivers/net/usb/asix.c      2008-11-04
 19:51:06.000000000 +0200
 +++ linux-next/drivers/net/usb/asix.c   2008-11-04 21:32:55.000000000 +0200
 @@ -1102,12 +1102,14 @@
        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)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ