|
iPXE
|
NII driver. More...
Go to the source code of this file.
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| int | nii_exclude (EFI_HANDLE device) |
| Exclude existing drivers. More... | |
| int | nii_start (struct efi_device *efidev) |
| Attach driver to device. More... | |
| void | nii_stop (struct efi_device *efidev) |
| Detach driver from device. More... | |
NII driver.
Definition in file nii.h.
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
| int nii_exclude | ( | EFI_HANDLE | device | ) |
Exclude existing drivers.
| device | EFI device handle |
| rc | Return status code |
Definition at line 1266 of file nii.c.
References DBGC, efi_driver_exclude(), efi_handle_name(), efi_nii31_protocol_guid, protocol, rc, and strerror().
| int nii_start | ( | struct efi_device * | efidev | ) |
Attach driver to device.
| efidev | EFI device |
| rc | Return status code |
Definition at line 1286 of file nii.c.
References alloc_netdev(), device::children, DBGC, DBGC_EFI_OPENERS, efi_device::dev, net_device::dev, efi_device::device, efi_close_by_driver(), efi_device_info(), efi_handle_name(), efi_nii31_protocol_guid, efi_open_by_driver, nii_nic::efidev, efidev_set_drvdata(), ENODEV, ENOMEM, ENOTSUP, _EFI_NETWORK_INTERFACE_IDENTIFIER_PROTOCOL::Id, INIT_LIST_HEAD, list_add, list_del, net_device::ll_broadcast, _EFI_NETWORK_INTERFACE_IDENTIFIER_PROTOCOL::MajorVer, _EFI_NETWORK_INTERFACE_IDENTIFIER_PROTOCOL::MinorVer, net_device::name, netdev, netdev_init(), netdev_link_up(), netdev_nullify(), netdev_put(), nii_nic::nii, nii_get_init_info(), nii_get_station_address(), nii_operations, nii_pci_close(), nii_pci_open(), nii_start_undi(), nii_stop_undi(), net_device::priv, PXE_ROMID_IMP_HW_UNDI, PXE_ROMID_IMP_SW_VIRT_ADDR, rc, register_netdev(), strerror(), and unregister_netdev().
| void nii_stop | ( | struct efi_device * | efidev | ) |
Detach driver from device.
| efidev | EFI device |
Definition at line 1397 of file nii.c.
References efi_device::device, efi_close_by_driver(), efi_nii31_protocol_guid, nii_nic::efidev, efidev_get_drvdata(), list_del, netdev, netdev_nullify(), netdev_put(), nii_nic::nii, nii_pci_close(), nii_stop_undi(), net_device::priv, and unregister_netdev().
1.8.15