summaryrefslogtreecommitdiffstats
path: root/sys/dev/pccard
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2009-01-05 20:58:41 +0000
committerimp <imp@FreeBSD.org>2009-01-05 20:58:41 +0000
commita6fd8e846ab01dcccef7dcb5181dae9857d4efae (patch)
treea41bf206c673621d2d0cbba2d09023f156e736e2 /sys/dev/pccard
parent076f5e398c59d9a5a701582b8ca1be6218e2dd88 (diff)
downloadFreeBSD-src-a6fd8e846ab01dcccef7dcb5181dae9857d4efae.zip
FreeBSD-src-a6fd8e846ab01dcccef7dcb5181dae9857d4efae.tar.gz
Define bits for memory mapping house keeping by bridges.
Diffstat (limited to 'sys/dev/pccard')
-rw-r--r--sys/dev/pccard/pccardvar.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/pccard/pccardvar.h b/sys/dev/pccard/pccardvar.h
index 82d4025..ddd5609 100644
--- a/sys/dev/pccard/pccardvar.h
+++ b/sys/dev/pccard/pccardvar.h
@@ -69,6 +69,10 @@ struct pccard_mem_handle {
int kind;
};
+/* Bits for kind */
+#define PCCARD_MEM_16BIT 1 /* 1 -> 16bit 0 -> 8bit */
+#define PCCARD_MEM_ATTR 2 /* 1 -> attribute mem 0 -> common */
+
#define PCCARD_WIDTH_AUTO 0
#define PCCARD_WIDTH_IO8 1
#define PCCARD_WIDTH_IO16 2
OpenPOWER on IntegriCloud