init_trdev(9)

NAME

init_trdev - Register token ring device

SYNOPSIS

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

ARGUMENTS

dev A token ring device structure to be filled
in, or NULL if a new struct should be allo
cated.
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 token
ring-generic values.

If no device structure is passed, a new one is con
structed, 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.
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout