2001-07-20 21:33:29

by Alex Stewart

[permalink] [raw]
Subject: [PATCH] eepro100 and IFF_RUNNING under 2.4

Hiho.. While working on some code which tries to monitor physical link status
for ethernet interfaces, I noticed that apparently under the 2.4 kernel, the
eepro100 driver does not reflect link status with the IFF_RUNNING flag as it
used to under 2.2.x.

It looks like a bit of the code in eepro100.c didn't get updated to reflect
some interface changes that happened somewhere in 2.3, so here is a patch which
should fix things (It also adds a bit of code to set things properly on startup as well, patch is against kernel 2.4.6).

(I'm not quite sure who to send this to, so I'm sending it to the list)

-alex


Attachments:
eepro100_linkstate24.patch (783.00 B)