summaryrefslogtreecommitdiffstats
path: root/sys/dev/cardbus/cardbus_cis.h
diff options
context:
space:
mode:
authorjon <jon@FreeBSD.org>2001-08-27 00:09:42 +0000
committerjon <jon@FreeBSD.org>2001-08-27 00:09:42 +0000
commitc07859c916909808f7cff6785361d52752a25bf6 (patch)
treeeb8e2e5b668b53a10937bcc1b415f47806f840fe /sys/dev/cardbus/cardbus_cis.h
parent673b6e2dbf0d796b5f8b2f3c96b3bd885632602a (diff)
downloadFreeBSD-src-c07859c916909808f7cff6785361d52752a25bf6.zip
FreeBSD-src-c07859c916909808f7cff6785361d52752a25bf6.tar.gz
Part two of this NEWCARD update:
Briefly, the significant changes include: * Way better resource management in pccbb, pccard and cardbus. * pccard hot-removal now appears to work. * support pre-fetchable memory in cardbus. * update cardbus to support new pci bus interface functions. * Fix CIS reading to no longer use rman_get_virtual(). What's not there, but in the works: * pccard needs to do interrupt properly and not read the ISR on single function cards. * real resource management for pccard * a complete implementation of CIS parsing * need to look into how to correctly use mutex in pccbb
Diffstat (limited to 'sys/dev/cardbus/cardbus_cis.h')
-rw-r--r--sys/dev/cardbus/cardbus_cis.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/cardbus/cardbus_cis.h b/sys/dev/cardbus/cardbus_cis.h
index ca21090..36df335 100644
--- a/sys/dev/cardbus/cardbus_cis.h
+++ b/sys/dev/cardbus/cardbus_cis.h
@@ -88,6 +88,10 @@ void cardbus_cis_free(device_t, struct cis_tupleinfo*, int*);
/* BAR */
#define TPL_BAR_REG_ASI_MASK 0x07
#define TPL_BAR_REG_AS 0x10
+#define TPL_BAR_REG_PREFETCHABLE_ONLY 0x20
+#define TPL_BAR_REG_PREFETCHABLE_CACHEABLE 0x40
+#define TPL_BAR_REG_PREFETCHABLE 0x60
+#define TPL_BAR_REG_BELOW1MB 0x80
/* CISTPL_FUNC */
#define TPL_FUNC_MF 0 /* multi function tuple */
OpenPOWER on IntegriCloud