Trivial bugfix in 3c509.c
Dave & Martin,
I noticed you guys included Kasper Dupont's patch in your 2.5.15 patch kits:
Quoted 5 lines
With 3c509 compiled in kernel calling ifup after lots of diskaccess causes an Oops.
read_eepromwas incorrectly marked as__init. This patch applies against 2.4.19-pre8-ac1 and maybee also 2.4.19-pre8:
Note that 2.4.19-pre8-ac1 has a newer version of 3c509.c than either 2.4.19-pre8 vanilla or 2.5.15, and it's only the newer version that calls read_eeprom() from non-__init code. This patch is not needed for 2.5.15.
(The only calls to read_eeprom() in 2.5.15 are from el3_probe(), which is __init.)
/Mikael
Quoted 12 lines · Mikael Pettersson
Dave & Martin,
I noticed you guys included Kasper Dupont's patch in your 2.5.15 patch kits:
Quoted 6 lines
With 3c509 compiled in kernel calling ifup after lots of diskaccess causes an Oops.
read_eepromwas incorrectly marked as__init. This patch applies against 2.4.19-pre8-ac1 and maybee also 2.4.19-pre8:
Quoted 8 lines
Note that 2.4.19-pre8-ac1 has a newer version of
3c509.cthan either 2.4.19-pre8 vanilla or 2.5.15, and it's only the newer version that callsread_eeprom()from non-__init code. This patch is not needed for 2.5.15.(The only calls to
read_eeprom()in 2.5.15 are fromel3_probe(), which is__init.)
Nevertheless, I applied it to both, because I want to sync up both copies as much as possible.
Jeff