From 317043010879767bc6a3bef6cbec0c5f300d1ce0 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Mon, 19 Oct 2020 13:54:31 +0300 Subject: sys: update to 6.8 --- sys/sys/pciio.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'sys/sys/pciio.h') 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 @@ -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_ */ -- cgit v1.2.3