.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "ALLOC_NETDEV" "9" "09 October 2005" "" "" .SH NAME alloc_netdev \- allocate network device .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp struct net_device * alloc_netdev (int \fIsizeof_priv\fB, const char * \fIname\fB, void (*\fIsetup\fB) struct net_device *); \fR .SH "ARGUMENTS" .TP \fB\fIsizeof_priv\fB\fR size of private data to allocate space for .TP \fB\fIname\fB\fR device name format string .TP \fB\fIsetup\fB\fR callback to initialize device .SH "DESCRIPTION" .PP Allocates a struct net_device with private data area for driver use and performs basic initialization.