ALLOC_ETHERDEV

Section: (9)
Updated: 06 August 2003
Index Return to Main Contents

 

NAME

alloc_etherdev - Allocates and sets up an ethernet device  

SYNOPSIS

struct net_device * alloc_etherdev (int sizeof_priv);  

ARGUMENTS

sizeof_priv
Size of additional driver-private structure to be allocated for this ethernet device
 

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 sizeof_priv. A 32-byte (not bit) alignment is enforced for this private data area.  

ABOUT THIS DOCUMENT

This documentation was generated with kernel version 2.6.0.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
ABOUT THIS DOCUMENT

This document was created by man2html, using the manual pages.
Time: 08:41:21 GMT, April 09, 2004