summaryrefslogtreecommitdiffstats
path: root/sys/pccard/pcic_pci.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-07-20 22:29:23 +0000
committerimp <imp@FreeBSD.org>2002-07-20 22:29:23 +0000
commit1d6ce2645d4b061648e6cfaa09780a73fcd10020 (patch)
tree5df41ea50324914b8bd4b3937687ffcfb505afce /sys/pccard/pcic_pci.c
parentd9f77c5b739a154c9ca07cbdf0e2679cd57449d5 (diff)
downloadFreeBSD-src-1d6ce2645d4b061648e6cfaa09780a73fcd10020.zip
FreeBSD-src-1d6ce2645d4b061648e6cfaa09780a73fcd10020.tar.gz
Add support for writing to mapping high memory for pccard memory
windows. Right now we only support pci chips that are memory mapped. These are the most common bridges in use today and will help a large majority of the users. I/O mapped PCI chips support this functionality in a different way, as do some of the ISA bridges (but only when mounted on a motherboard). These chips are not supported by this change.
Diffstat (limited to 'sys/pccard/pcic_pci.c')
-rw-r--r--sys/pccard/pcic_pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/pccard/pcic_pci.c b/sys/pccard/pcic_pci.c
index 33b9cc2..b6ba964 100644
--- a/sys/pccard/pcic_pci.c
+++ b/sys/pccard/pcic_pci.c
@@ -1269,6 +1269,8 @@ pcic_pci_attach(device_t dev)
sp->revision = 0;
sc->flags = PCIC_CARDBUS_POWER;
}
+ /* All memory mapped cardbus bridges have these registers */
+ sc->flags |= PCIC_YENTA_HIGH_MEMORY;
sp->slt = (struct slot *) 1;
sc->csc_route = pcic_intr_path;
sc->func_route = pcic_intr_path;
OpenPOWER on IntegriCloud