Skip to contentSkip to conversation

[2.5] Update sk98lin driver

DISCUSSION Xose Vazquez Perez 3 participants 3 messages May 4, 2003 – May 5, 2003

lore
Share & tools
lore
#0 lore raw
Quoted 5 lines · Martin Schlemmer

I have a 3Com 3c940 gigabit LOM, that is basically a SysKonnect chipset card. Here are later drivers that do support it:

ftp://ftp.asus.com.tw/pub/ASUS/lan/3com/3c940/041_Linux.zip

latest drivers for SK-98xx and clones are 6.05 version.
patch for 2.4.20: http://www.syskonnect.de/syskonnect/support/driver/zip/sk98lin_2.4.20_patch.gz

regards,

Signature · 1 line
Galiza nin perdoa nin esquence. Governo demision!
#1 lore raw
Quoted 11 lines · Xose Vazquez Perez
Quoted 5 lines · Martin Schlemmer

I have a 3Com 3c940 gigabit LOM, that is basically a SysKonnect chipset card. Here are later drivers that do support it:

ftp://ftp.asus.com.tw/pub/ASUS/lan/3com/3c940/041_Linux.zip

latest drivers for SK-98xx and clones are 6.05 version.
patch for 2.4.20: http://www.syskonnect.de/syskonnect/support/driver/zip/sk98lin_2.4.20_patch.gz

Ok, I updated it to 6.05, and can be found here:

ftp://ftp.puk.ac.za/incoming/sk98lin-update-2.5.68.patch.bz2

A few issues though:

1) Should MOD_INC_USE_COUNT and MOD_DEC_USE_COUNT just be removed? I commented them for now.

2) What other changes should be done for 2.5 ?

Thanks,

Signature · 3 lines
Martin Schlemmer
Gentoo Linux Developer, Desktop/System Team Developer
Cape Town, South Africa
#2 lore raw
Quoted 4 lines · Martin Schlemmer

A few issues though:

1) Should MOD_INC_USE_COUNT and MOD_DEC_USE_COUNT just be removed? I commented them for now.

No. For the net device itself, make sure you do SET_MODULE_OWNER() on the netdev before passing it to register_netdevice().

For the procfs stuff you must make sure the appropriate module refcounting is done for that mechanism.

Just deleteing MOD_{INC,DEC}_USE_COUNT blindly will result in the module being broken.

Signature · 1 line
David S. Miller <[email protected]>