 |
Index for Section 9 |
|
 |
Alphabetical listing for L |
|
 |
Bottom of page |
|
lan_ehm_free(9r)
NAME
lan_ehm_free - Network: Unregisters the device from Hardware Management
SYNOPSIS
void lan_ehm_free(
struct net_hw_mgmt*ehm );
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.
DESCRIPTION
The lan_ehm_free() routine unregisters the network device from Hardware
Management and frees up any memory allocated for the interaction with
Hardware Management.
NOTES
If lan_ehm_init() was called to initialize the net_hw_mgmt data structure
for a network device, make sure that the driver calls lan_ehm_free() when
that network device is removed from use (for example, when the device is
deconfigured).
RETURN VALUES
None
SEE ALSO
Routines: lan_ehm_init(9r), lan_register_adapter(9r),
lan_set_attribute(9r), lan_set_common_attributes(9r)
Data Structures: net_hw_mgmt(9s)
 |
Index for Section 9 |
|
 |
Alphabetical listing for L |
|
 |
Top of page |
|