netdev
[Top] [All Lists]

RFC: cleaning up net_init.c

To: netdev@xxxxxxxxxxx
Subject: RFC: cleaning up net_init.c
From: Jeff Garzik <jgarzik@xxxxxxxxxxxxxxxx>
Date: Sun, 1 Apr 2001 06:33:32 -0500 (CDT)
Sender: owner-netdev@xxxxxxxxxxx
If you guys didn't see the alloc_etherdev() changes or my RFCs on
this list, check out drivers/net/net_init.c in 2.4.3.

init_foodev, register_foodev, and unregister_foodev are completely
superfluous and should be removed.  Further, now that alloc_etherdev is
in the kernel, init_foodev especially should go away, because of the
race which alloc_etherdev solves.

Ideally I would like to work through the drivers in 2.4.x, fixing the
race by replacing init_etherdev with alloc_etherdev.  However, for
older ISA drivers, I don't yet have an alloc_etherdev strategy.
Suggestions welcome.

        Jeff





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