aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/pciio.h
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-10-19 13:54:31 +0300
committerCem Keylan <cem@ckyln.com>2020-10-19 13:54:31 +0300
commit317043010879767bc6a3bef6cbec0c5f300d1ce0 (patch)
tree4bb7c8cd59acb28c4c21eea06cb653f7b82d5aeb /sys/sys/pciio.h
parent54d853eaccae1f4f2e04ae70d79e34cfef86bf67 (diff)
downloadotools-317043010879767bc6a3bef6cbec0c5f300d1ce0.tar.gz
sys: update to 6.8
Diffstat (limited to 'sys/sys/pciio.h')
-rw-r--r--sys/sys/pciio.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/sys/pciio.h b/sys/sys/pciio.h
index 713e798..394dd08 100644
--- a/sys/sys/pciio.h
+++ b/sys/sys/pciio.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciio.h,v 1.7 2010/09/05 18:14:33 kettenis Exp $ */
+/* $OpenBSD: pciio.h,v 1.8 2020/06/22 04:11:37 dlg Exp $ */
/*-
* Copyright (c) 1997, Stefan Esser <se@FreeBSD.ORG>
@@ -54,6 +54,13 @@ struct pci_rom {
char *pr_rom;
};
+struct pci_vpd_req {
+ struct pcisel pv_sel;
+ int pv_offset;
+ int pv_count;
+ uint32_t *pv_data;
+};
+
struct pci_vga {
struct pcisel pv_sel;
int pv_lock;
@@ -74,5 +81,6 @@ struct pci_vga {
#define PCIOCGETVGA _IOWR('p', 6, struct pci_vga)
#define PCIOCSETVGA _IOWR('p', 7, struct pci_vga)
#define PCIOCREADMASK _IOWR('p', 8, struct pci_io)
+#define PCIOCGETVPD _IOWR('p', 9, struct pci_vpd_req)
#endif /* !_SYS_PCIIO_H_ */