|
iPXE
|
NII driver. More...
Go to the source code of this file.
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| FILE_SECBOOT (PERMITTED) | |
| int | nii_exclude (EFI_HANDLE device) |
| Exclude existing drivers. | |
| int | nii_start (struct efi_device *efidev) |
| Attach driver to device. | |
| void | nii_stop (struct efi_device *efidev) |
| Detach driver from device. | |
NII driver.
Definition in file nii.h.
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
| FILE_SECBOOT | ( | PERMITTED | ) |
References EFI_HANDLE.
|
extern |
Exclude existing drivers.
| device | EFI device handle |
| rc | Return status code |
Definition at line 1267 of file nii.c.
References DBGC, efi_driver_exclude(), EFI_HANDLE, efi_handle_name(), efi_nii31_protocol_guid, protocol, rc, and strerror().
Referenced by __efi_driver().
|
extern |
Attach driver to device.
| efidev | EFI device |
| rc | Return status code |
Definition at line 1287 of file nii.c.
References alloc_netdev(), device::children, DBGC, DBGC_EFI_OPENERS, efi_device::dev, efi_device::device, efi_close_by_driver(), efi_device_info(), EFI_HANDLE, 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, _EFI_NETWORK_INTERFACE_IDENTIFIER_PROTOCOL::MajorVer, _EFI_NETWORK_INTERFACE_IDENTIFIER_PROTOCOL::MinorVer, 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(), PXE_ROMID_IMP_HW_UNDI, PXE_ROMID_IMP_SW_VIRT_ADDR, rc, register_netdev(), strerror(), and unregister_netdev().
Referenced by __efi_driver().
|
extern |
Detach driver from device.
| efidev | EFI device |
Definition at line 1398 of file nii.c.
References efi_device::device, efi_close_by_driver(), EFI_HANDLE, 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(), and unregister_netdev().
Referenced by __efi_driver().