diff options
Diffstat (limited to 'src/include/ipxe/efi/efi_snp.h')
| -rw-r--r-- | src/include/ipxe/efi/efi_snp.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/ipxe/efi/efi_snp.h b/src/include/ipxe/efi/efi_snp.h index a468165c5..06483cfbc 100644 --- a/src/include/ipxe/efi/efi_snp.h +++ b/src/include/ipxe/efi/efi_snp.h @@ -24,8 +24,8 @@ struct efi_snp_device { struct list_head list; /** The underlying iPXE network device */ struct net_device *netdev; - /** The underlying EFI PCI device */ - struct efi_pci_device *efipci; + /** The underlying EFI device */ + struct efi_device *efidev; /** EFI device handle */ EFI_HANDLE handle; /** The SNP structure itself */ @@ -76,6 +76,7 @@ struct efi_snp_device { extern int efi_snp_hii_install ( struct efi_snp_device *snpdev ); extern void efi_snp_hii_uninstall ( struct efi_snp_device *snpdev ); +extern struct efi_snp_device * find_snpdev ( EFI_HANDLE handle ); extern struct efi_snp_device * last_opened_snpdev ( void ); extern void efi_snp_claim ( void ); extern void efi_snp_release ( void ); |
