From 0965cec53c9e421f900bb050b1c83196a0a5687b Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 8 Aug 2022 16:39:40 +0100 Subject: [pci] Generalise function-level reset mechanism Signed-off-by: Michael Brown --- src/include/ipxe/pci.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include') diff --git a/src/include/ipxe/pci.h b/src/include/ipxe/pci.h index 933f48530..bf6174c23 100644 --- a/src/include/ipxe/pci.h +++ b/src/include/ipxe/pci.h @@ -309,6 +309,7 @@ extern int pci_find_capability ( struct pci_device *pci, int capability ); extern int pci_find_next_capability ( struct pci_device *pci, int pos, int capability ); extern unsigned long pci_bar_size ( struct pci_device *pci, unsigned int reg ); +extern void pci_reset ( struct pci_device *pci, unsigned int exp ); /** * Initialise PCI device -- cgit v1.2.3-55-g7522