patch-2.4.5 linux/drivers/net/net_init.c
Next file: linux/drivers/net/pcmcia/Config.in
Previous file: linux/drivers/net/natsemi.c
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Wed May 16 10:25:39 2001
- Orig file:
v2.4.4/linux/drivers/net/net_init.c
- Orig date:
Wed Apr 18 14:40:06 2001
diff -u --recursive --new-file v2.4.4/linux/drivers/net/net_init.c linux/drivers/net/net_init.c
@@ -205,11 +205,12 @@
}
/**
- * alloc_etherdev - Register ethernet device
+ * alloc_etherdev - Allocates and sets up an ethernet device
* @sizeof_priv: Size of additional driver-private structure to be allocated
* for this ethernet device
*
- * Fill in the fields of the device structure with ethernet-generic values.
+ * Fill in the fields of the device structure with ethernet-generic
+ * values. Basically does everything except registering the device.
*
* Constructs a new net device, complete with a private data area of
* size @sizeof_priv. A 32-byte (not bit) alignment is enforced for
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)