summaryrefslogtreecommitdiffstats
path: root/sys/pccard/i82365.h
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/i82365.h
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/i82365.h')
-rw-r--r--sys/pccard/i82365.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/pccard/i82365.h b/sys/pccard/i82365.h
index 7fa4dc6..add82c1 100644
--- a/sys/pccard/i82365.h
+++ b/sys/pccard/i82365.h
@@ -104,6 +104,13 @@
#define PCIC_TIME_CMD1 0x3e
#define PCIC_TIME_RECOV1 0x3f
+/* Yenta only registers */
+#define PCIC_MEMORY_HIGH0 0x40 /* A31..A25 of mapping addres for */
+#define PCIC_MEMORY_HIGH1 0x41 /* the memory windows. */
+#define PCIC_MEMORY_HIGH2 0x42
+#define PCIC_MEMORY_HIGH3 0x43
+
+
#define PCIC_SLOT_SIZE 0x40 /* Size of register set for one slot */
/* Now register bits, ordered by reg # */
OpenPOWER on IntegriCloud