netdev
[Top] [All Lists]

Re: bug: 3c509 broken on 2.3.48

To: Bill Wendling <wendling@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: bug: 3c509 broken on 2.3.48
From: Michael Clark <mclark@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 02 Mar 2000 22:24:17 +1300
Cc: root <root@xxxxxxxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxxx, linux-net@xxxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
References: <20000302102603.A1091@xxxxxxxxxxxxxxxxxx> <20000302015357.A10322@xxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx
Bill Wendling wrote:
> 
> Also sprach root:
> } hai,
> }
> } a bug report:
> }
> } 3c509 is broken on 2.3.48. trying to manually using ifconfig and route give
> } the following error;
> }
> } ifup: SIOCSIFFLAGS: No such device
> } ifup: SIOCADDRT: Network is down
> } ifup: SIOCADDRT: Network is unreachable
> } ifup: SIOCADDRT: Network is unreachable
> }
> } 3c509 work on 2.3.45. I haven't try 2.3.[46-47]
> }
> It doesn't work for them either...And I don't think it'll work for 4[89].
> No patches have been sent for them...
[snip]

This patch was sent. Also fixed NE2000 clone for me. I'm surprised more
net drivers were not broken - 2.3.47 had some big net changes with
drivers checking link state differently.

Has someone got this patch into 2.3.49?

~mc

Tim Waugh wrote:
> 
> On Sun, 27 Feb 2000, Pete Clements wrote:
> 
> > FYI:
> > With both 2.3.47 and 48, unable to up the 3c509 driver when compiled
> > into the kernel.  Works fine when compiled as module.
> 
> Does this patch help?
> 
> Tim.
> */
> 
> --- linux/net/core/dev.c~       Sun Feb 27 17:53:51 2000
> +++ linux/net/core/dev.c        Sun Feb 27 17:54:06 2000
> @@ -2128,6 +2128,7 @@
>                                 dev->iflink = dev->ifindex;
>                         if (dev->rebuild_header == NULL)
>                                 dev->rebuild_header = default_rebuild_header;
> +                       set_bit(__LINK_STATE_PRESENT, &dev->state);
>                         dev_init_scheduler(dev);
>                 }
>         }

<Prev in Thread] Current Thread [Next in Thread>