init_fcdev

Section: Kernel Hacker's Manual (9)
Updated: init_fcdev
Index Return to Main Contents
 

NAME

init_fcdev - Register fibre channel device  

SYNOPSIS

struct net_device * init_fcdev (struct net_device *dev, int sizeof_priv);  

ARGUMENTS

dev

 A fibre channel device structure to be filled in, or NULL if a new struct should be allocated.
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 fibre channel-generic values.

If no device structure is passed, a new one is constructed, complete with a private data area of size sizeof_priv. A 32-byte (not bit) alignment is enforced for this private data area.

If an empty string area is passed as dev->name, or a new structure is made, a new name string is constructed.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 03:55:30 GMT, June 12, 2005