summaryrefslogtreecommitdiffstats
path: root/sys/sys/pciio.h
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>1996-11-12 23:18:12 +0000
committerse <se@FreeBSD.org>1996-11-12 23:18:12 +0000
commitd50c7b65af699615c4fdce907899e59fd6349245 (patch)
treea5ecf7f41715b671c496249a97a021543426a40e /sys/sys/pciio.h
parentbb3b58af857086afe079fca68139fd585381bfff (diff)
downloadFreeBSD-src-d50c7b65af699615c4fdce907899e59fd6349245.zip
FreeBSD-src-d50c7b65af699615c4fdce907899e59fd6349245.tar.gz
Add support for header type == 1 devices (PCI 2.1 compatible PCI to PCI
bridges with support for 64 bit memory addresses and 32 bit I/O addresses). The code is not complete. It ignores the upper half of the long addresses. This is not a problem on PC compatible systems, but has to be fixed for real computers.
Diffstat (limited to 'sys/sys/pciio.h')
-rw-r--r--sys/sys/pciio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/pciio.h b/sys/sys/pciio.h
index ea0b939..4d9e1cc 100644
--- a/sys/sys/pciio.h
+++ b/sys/sys/pciio.h
@@ -11,6 +11,7 @@ struct pcisel {
struct pci_conf {
struct pcisel pc_sel; /* bus+slot+function */
+ u_char pc_hdr; /* PCI header type */
pcidi_t pc_devid; /* device ID */
pcidi_t pc_subid; /* subvendor ID */
u_int32_t pc_class; /* device class */
OpenPOWER on IntegriCloud