From c07859c916909808f7cff6785361d52752a25bf6 Mon Sep 17 00:00:00 2001 From: jon Date: Mon, 27 Aug 2001 00:09:42 +0000 Subject: 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 --- sys/dev/cardbus/cardbus_cis.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/dev/cardbus/cardbus_cis.h') 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 */ -- cgit v1.1