.TH "alloc_etherdev" 9 "alloc_etherdev" "25 May 1998" "Kernel Hacker's Manual" LINUX .SH NAME alloc_etherdev \- Allocates and sets up an ethernet device .SH SYNOPSIS .B "struct net_device *" alloc_etherdev .BI "(int " sizeof_priv ");" .SH ARGUMENTS .IP "sizeof_priv" 12 Size of additional driver-private structure to be allocated for this ethernet device .SH "DESCRIPTION" 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 \fIsizeof_priv\fP. A 32-byte (not bit) alignment is enforced for this private data area.