openbsd-ports/sysutils/pciutils/patches/patch-lib_pci_h
matthieu ee0bc96ecd Add pciutils, a library for portable access to PCI bus configuration
registers and utilities based on this library (lspci & co).
with help from and ok sturm@.
2006-03-25 21:53:35 +00:00

12 lines
499 B
Plaintext

$OpenBSD: patch-lib_pci_h,v 1.1.1.1 2006/03/25 21:53:35 matthieu Exp $
--- lib/pci.h.orig Sat Sep 10 14:10:54 2005
+++ lib/pci.h Tue Mar 21 22:56:47 2006
@@ -31,6 +31,7 @@ enum pci_access_type {
PCI_ACCESS_FBSD_DEVICE, /* FreeBSD /dev/pci (params: path) */
PCI_ACCESS_AIX_DEVICE, /* /dev/pci0, /dev/bus0, etc. */
PCI_ACCESS_NBSD_LIBPCI, /* NetBSD libpci */
+ PCI_ACCESS_OBSD_DEVICE, /* OpenBSD /dev/pci */
PCI_ACCESS_DUMP, /* Dump file (params: filename) */
PCI_ACCESS_MAX
};