From 7fba790820da57f694d05dd3433422165bcc78e5 Mon Sep 17 00:00:00 2001 From: imp Date: Wed, 27 Nov 2002 06:56:29 +0000 Subject: Implement PCI_IVAR_ETHADDR. Cardbus has the MAC addr in the CIS, sometimes, so return it when requested and it does. Also a little more infrastructure for a few other things. Submitted by: sam Approved by: re (blanket for NEWCARD) --- sys/dev/cardbus/cardbus_cis.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (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 36df335..5796a81 100644 --- a/sys/dev/cardbus/cardbus_cis.h +++ b/sys/dev/cardbus/cardbus_cis.h @@ -106,6 +106,9 @@ void cardbus_cis_free(device_t, struct cis_tupleinfo*, int*); /* TPL_FUNC_LAN */ #define TPL_FUNCE_LAN_TECH 1 /* technology */ #define TPL_FUNCE_LAN_SPEED 2 /* speed */ -#define TPL_FUNCE_LAN_MEDIA 2 /* which media do you use? */ +#define TPL_FUNCE_LAN_MEDIA 3 /* which media do you use? */ #define TPL_FUNCE_LAN_NID 4 /* node id (address) */ #define TPL_FUNCE_LAN_CONN 5 /* connector type (shape) */ + +/* TPL_FUNC_SERIAL */ +#define TPL_FUNCE_SER_UART 0 /* UART type */ -- cgit v1.1