diff options
author | Michael Brown <mcb30@ipxe.org> | 2011-01-10 03:35:34 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2011-01-19 13:52:56 +0000 |
commit | 7bf37147b31c8b8af6178b094f0c02069f13e152 (patch) | |
tree | 372251c7d6823388111b784abee06dfbf23cb155 /src/include/ipxe/nvsvpd.h | |
parent | e67c79b8560fbe50e1dad23149e8b90dc5358b56 (diff) | |
download | ipxe-7bf37147b31c8b8af6178b094f0c02069f13e152.tar.gz |
[pci] Auto-resize VPD fields used for non-volatile storage
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/nvsvpd.h')
-rw-r--r-- | src/include/ipxe/nvsvpd.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/include/ipxe/nvsvpd.h b/src/include/ipxe/nvsvpd.h index 5f80844e7..3450e5c71 100644 --- a/src/include/ipxe/nvsvpd.h +++ b/src/include/ipxe/nvsvpd.h @@ -13,21 +13,21 @@ FILE_LICENCE ( GPL2_OR_LATER ); #include <ipxe/nvs.h> #include <ipxe/pcivpd.h> +struct nvo_block; +struct refcnt; + /** An NVS VPD device */ struct nvs_vpd_device { /** NVS device */ struct nvs_device nvs; /** PCI VPD device */ struct pci_vpd vpd; - /** Starting address - * - * This address is added to the NVS address to form the VPD - * address. - */ - unsigned int address; }; -extern int nvs_vpd_init ( struct nvs_vpd_device *nvsvpd, struct pci_device *pci, - unsigned int field ); +extern int nvs_vpd_init ( struct nvs_vpd_device *nvsvpd, + struct pci_device *pci ); +extern void nvs_vpd_nvo_init ( struct nvs_vpd_device *nvsvpd, + unsigned int field, struct nvo_block *nvo, + struct refcnt *refcnt ); #endif /* IPXE_NVSVPD_H */ |