summaryrefslogtreecommitdiffstats
path: root/sys/pci/pcivar.h
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>1996-01-25 18:32:00 +0000
committerse <se@FreeBSD.org>1996-01-25 18:32:00 +0000
commit45ff9914bfc89e0757878212fbbb1e87613296bd (patch)
tree95fee05d62f13f992eed38926cf5e30dd2455034 /sys/pci/pcivar.h
parente764e499b9a4965e34b21e574fa9266b8e3bf4f5 (diff)
downloadFreeBSD-src-45ff9914bfc89e0757878212fbbb1e87613296bd.zip
FreeBSD-src-45ff9914bfc89e0757878212fbbb1e87613296bd.tar.gz
Add support for multi-function devices.
Diffstat (limited to 'sys/pci/pcivar.h')
-rw-r--r--sys/pci/pcivar.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/pci/pcivar.h b/sys/pci/pcivar.h
index 50a037f..d693459 100644
--- a/sys/pci/pcivar.h
+++ b/sys/pci/pcivar.h
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: pcivar.h,v 1.7 1995/11/21 12:54:55 bde Exp $
+** $Id: pcivar.h,v 1.8 1996/01/23 21:47:17 se Exp $
**
** Declarations for pci device drivers.
**
@@ -157,8 +157,10 @@ extern unsigned pci_maxdevice;
*/
struct pci_info {
- u_short pi_bus;
- u_short pi_device;
+ u_char pi_bus;
+ u_char pi_device;
+ u_char pi_func;
+ u_char pi_dummy;
};
#define PCI_EXT_CONF_LEN (16)
OpenPOWER on IntegriCloud