summaryrefslogtreecommitdiffstats
path: root/sys/dev/cardbus/cardbus_cis.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-10-07 03:33:54 +0000
committerimp <imp@FreeBSD.org>2003-10-07 03:33:54 +0000
commita14856a6a81631c0c8dfd1be5637683ede9db4c3 (patch)
tree5153842bccbf28986c9ee3a2e5700c9a9456ab9b /sys/dev/cardbus/cardbus_cis.h
parentcaf26b3917784e6903ffb5d56107fea634db500f (diff)
downloadFreeBSD-src-a14856a6a81631c0c8dfd1be5637683ede9db4c3.zip
FreeBSD-src-a14856a6a81631c0c8dfd1be5637683ede9db4c3.tar.gz
o move the cis tuple definitions into a common file.
o minor optimization of cardbus_cis processing. Remove a bunch of generic entries that are handled by generic. o no longer need the card_get_type stuff.
Diffstat (limited to 'sys/dev/cardbus/cardbus_cis.h')
-rw-r--r--sys/dev/cardbus/cardbus_cis.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/sys/dev/cardbus/cardbus_cis.h b/sys/dev/cardbus/cardbus_cis.h
index 3a2eacc..a56d13b 100644
--- a/sys/dev/cardbus/cardbus_cis.h
+++ b/sys/dev/cardbus/cardbus_cis.h
@@ -38,50 +38,6 @@ int cardbus_do_cis(device_t, device_t);
#define MAXTUPLESIZE 0x400
-/* CIS TUPLES */
-
-#define CISTPL_NULL 0x00
-#define CISTPL_DEVICE 0x01
-#define CISTPL_LONG_LINK_CB 0x02
-#define CISTPL_INDIRECT 0x03
-#define CISTPL_CONFIG_CB 0x04
-#define CISTPL_CFTABLE_ENTRY_CB 0x05
-#define CISTPL_LONGLINK_MFC 0x06
-#define CISTPL_BAR 0x07
-#define CISTPL_PWR_MGMNT 0x08
-#define CISTPL_EXTDEVICE 0x09
-#define CISTPL_CHECKSUM 0x10
-#define CISTPL_LONGLINK_A 0x11
-#define CISTPL_LONGLINK_C 0x12
-#define CISTPL_LINKTARGET 0x13
-#define CISTPL_NO_LINK 0x14
-#define CISTPL_VERS_1 0x15
-#define CISTPL_ALTSTR 0x16
-#define CISTPL_DEVICE_A 0x17
-#define CISTPL_JEDEC_C 0x18
-#define CISTPL_JEDEC_A 0x19
-#define CISTPL_CONFIG 0x1A
-#define CISTPL_CFTABLE_ENTRY 0x1B
-#define CISTPL_DEVICE_OC 0x1C
-#define CISTPL_DEVICE_OA 0x1D
-#define CISTPL_DEVICE_GEO 0x1E
-#define CISTPL_DEVICE_GEO_A 0x1F
-#define CISTPL_MANFID 0x20
-#define CISTPL_FUNCID 0x21
-#define CISTPL_FUNCE 0x22
-#define CISTPL_SWIL 0x23
-#define CISTPL_VERS_2 0x40
-#define CISTPL_FORMAT 0x41
-#define CISTPL_GEOMETRY 0x42
-#define CISTPL_BYTEORDER 0x43
-#define CISTPL_DATE 0x44
-#define CISTPL_BATTERY 0x45
-#define CISTPL_ORG 0x46
-#define CISTPL_CUSTOMSTART 0x80
-#define CISTPL_END 0xFF
-
-#define CISTPL_GENERIC -1 /* catchall */
-
/* BAR */
#define TPL_BAR_REG_ASI_MASK 0x07
#define TPL_BAR_REG_AS 0x10
OpenPOWER on IntegriCloud