 |
Index for Section 9 |
|
 |
Alphabetical listing for L |
|
 |
Bottom of page |
|
lan_ehm_init(9r)
NAME
lan_ehm_init - Network: Initializes the net_hw_mgmt structure used by
network device drivers for Hardware Management activities
SYNOPSIS
void lan_ehm_init(
struct net_hw_mgmt*ehm,
int version_id );
ARGUMENTS
ehm Specifies a pointer to the hardware management structure used by the
network device. A network driver allocates a net_hw_mgmt data structure
for each network device it controls.
version_id
The version of the net_hw_mgmt structure being used. Make sure that
the value passed in is NET_EHM_VERSION_ID.
DESCRIPTION
The lan_ehm_init() routine prepares a net_hw_mgmt data structure for use in
interfacing to Hardware Management.
CAUTIONS
This routine waits for memory that it needs to allocate. Do not call this
routine with any simple locks held or from the interrupt level.
RETURN VALUES
None
SEE ALSO
Routines: lan_ehm_free(9r), lan_set_attribute(9r),
lan_set_common_attributes(9r), lan_register_adapter(9r)
Data Structures: net_hw_mgmt(9s)
 |
Index for Section 9 |
|
 |
Alphabetical listing for L |
|
 |
Top of page |
|