I just went through a similar oops for another driver last Thursday. Move the
register_netdev(dev) after the initialization of 'dev->dev_stats = get_stats;'
and the oops should be eliminated.
> Hello all,
> version 0.17 of forcedeth for Linux 2.4 and 2.6 is available at
> Fixes in this release over 0.14:
> * 0.15: 08 Nov 2003: fix smp deadlock with set_multicast_list
> * during open.
> * 0.16: 15 Nov 2003: include file cleanup for ppc64, rx buffer
> * size increased to 1628 bytes.
> * 0.17: 16 Nov 2003: undo rx buffer size increase. Substract 1
> * from the tx length.
> Known issues:
> * Oops during module removal, probably sysfs related. Could a
> sysfs expert please take a look at the code? Call trace is at
> More traces (roughly the same) available on request.
> * Some boards give bogus MAC addresses and work only partially.
> Same problem happens with nvnet on these boards.
> * Transmit for packets close to MTU size was broken, should be
> fixed now.
> Please test.