[eepro100] Re: EEPRO100 2.4.0 Patch

Ben Greear greearb@candelatech.com
Fri, 29 Jun 2001 20:32:11 -0700


Here is the guy that gave me the eepro patch that makes
it work with VLANs (with 1500 MTU), btw:

Dayton Turner <turnerd@data-fortress.com>

************************************************************************

Dayton Turner wrote:
> 
> Here's a fix for the eepro100.c for kernel 2.4.0 - Might be cool to
> bundle it with your vlan 1.0.0 - This fixes the mtu problem..
> 
>   ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> --- /home/turnerd/eepro100.c    Wed Jan 17 12:39:41 2001
> +++ linux/drivers/net/eepro100.c        Wed Jan 17 12:42:39 2001
> @@ -493,12 +493,12 @@
>  const char i82557_config_cmd[CONFIG_DATA_SIZE] = {
>         22, 0x08, 0, 0,  0, 0, 0x32, 0x03,  1, /* 1=Use MII  0=Use AUI */
>         0, 0x2E, 0,  0x60, 0,
> -       0xf2, 0x48,   0, 0x40, 0xf2, 0x80,              /* 0x40=Force full-duplex */
> +       0xf2, 0x48,   0, 0x40, 0xfa, 0x80,              /* 0x40=Force full-duplex */
>         0x3f, 0x05, };
>  const char i82558_config_cmd[CONFIG_DATA_SIZE] = {
>         22, 0x08, 0, 1,  0, 0, 0x22, 0x03,  1, /* 1=Use MII  0=Use AUI */
>         0, 0x2E, 0,  0x60, 0x08, 0x88,
> -       0x68, 0, 0x40, 0xf2, 0x84,              /* Disable FC */
> +       0x68, 0, 0x40, 0xfa, 0x84,              /* Disable FC */
>         0x31, 0x05, };
> 
>  /* PHY media interface chips. */

-- 
Ben Greear <greearb@candelatech.com>          <Ben_Greear@excite.com>
President of Candela Technologies Inc      http://www.candelatech.com
ScryMUD:  http://scry.wanfear.com     http://scry.wanfear.com/~greear