summaryrefslogtreecommitdiffstats
path: root/sys/dev/pccbb/pccbbvar.h
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2000-12-13 01:28:00 +0000
committermsmith <msmith@FreeBSD.org>2000-12-13 01:28:00 +0000
commitac4f44c24e80fa2aed5a82cfeeafffe9ff6d77a0 (patch)
treebd2eb0fac4b03e311819e6ee929a404176a819a0 /sys/dev/pccbb/pccbbvar.h
parentc3cf005c4b085a81c7bb2627adf508c5190d8cab (diff)
downloadFreeBSD-src-ac4f44c24e80fa2aed5a82cfeeafffe9ff6d77a0.zip
FreeBSD-src-ac4f44c24e80fa2aed5a82cfeeafffe9ff6d77a0.tar.gz
Updates to match changes elsewhere in the PCI subsystem:
- Remove redundant header-type-specific support in the cardbus pcibus clone. The bridges don't need this anymore. - Use pcib_get_bus instead of the deprecated pci_get_secondarybus. - Implement read/write ivar support for the pccbb, and teach it how to report its secondary bus number. Save the subsidiary bus number as well, although we don't use it yet.
Diffstat (limited to 'sys/dev/pccbb/pccbbvar.h')
-rw-r--r--sys/dev/pccbb/pccbbvar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pccbb/pccbbvar.h b/sys/dev/pccbb/pccbbvar.h
index 1270ec2..2e4ef7c 100644
--- a/sys/dev/pccbb/pccbbvar.h
+++ b/sys/dev/pccbb/pccbbvar.h
@@ -65,8 +65,10 @@ struct pccbb_softc {
struct resource *sc_irq_res;
void *sc_intrhand;
struct pccbb_socketreg *sc_socketreg;
- u_int32_t sc_flags;
+ u_int8_t sc_secbus;
+ u_int8_t sc_subbus;
struct mtx sc_mtx;
+ u_int32_t sc_flags;
#define PCCBB_PCIC_IO_RELOC 0x01
#define PCCBB_PCIC_MEM_32 0x02
#define PCCBB_CARDATTACHED 0x01000000
OpenPOWER on IntegriCloud