alloc_fcdev

Name

alloc_fcdev --  Register fibre channel device

Synopsis

struct net_device * alloc_fcdev (int sizeof_priv);

Arguments

sizeof_priv

Size of additional driver-private structure to be allocated for this fibre channel device

Description

Fill in the fields of the device structure with fibre channel-generic values.

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.