summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2022-08-08 17:39:40 +0200
committerMichael Brown2022-08-08 17:39:40 +0200
commit0965cec53c9e421f900bb050b1c83196a0a5687b (patch)
tree4fa44fd1259f17fb9e40e299b51aadba09980f07 /src/include
parent[intelxl] Update list of PCI IDs (diff)
downloadipxe-0965cec53c9e421f900bb050b1c83196a0a5687b.tar.gz
ipxe-0965cec53c9e421f900bb050b1c83196a0a5687b.tar.xz
ipxe-0965cec53c9e421f900bb050b1c83196a0a5687b.zip
[pci] Generalise function-level reset mechanism
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ipxe/pci.h1
1 files changed, 1 insertions, 0 deletions
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