Subject: kern/14503: Xircom XE2000 not recognized
To: None <gnats-bugs@gnats.netbsd.org>
From: None <crusius@barcelonadesign.com>
List: netbsd-bugs
Date: 11/08/2001 08:42:26
>Number:         14503
>Category:       kern
>Synopsis:       Xircom XE2000 not in pcmcia database
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 08 08:44:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Cesar Crusius
>Release:        NetBSD 1.5.1
>Organization:
Barcelona Design, Inc.
>Environment:
	
System: NetBSD torreladega 1.5Y NetBSD 1.5Y (VAIO-FXA32) #9: Wed Nov 7 22:36:09 PST 2001 root@torreladega:/usr/src/sys/arch/i386/compile/VAIO_FXA32 i386


>Description:
	The Xircom XE2000 Ethernet PCMCIA card is not recognized, but it
	works if the card info is added to the database.
>How-To-Repeat:
	Insert the card.
>Fix:
	The following patch (for /sys/dev/pmcia) fixes the problem.

diff -r -c pcmcia.orig/if_xi.c pcmcia/if_xi.c
*** pcmcia.orig/if_xi.c	Thu Nov  8 08:31:01 2001
--- pcmcia/if_xi.c	Thu Nov  8 08:22:01 2001
***************
*** 231,236 ****
--- 231,239 ----
  	  0,				0,
  	  PCMCIA_STR_XIRCOM_CE },
  #endif
+ 	{ PCMCIA_VENDOR_XIRCOM,		PCMCIA_PRODUCT_XIRCOM_XE2000,
+ 	  0,				XIFLAGS_MOHAWK,
+ 	  PCMCIA_STR_XIRCOM_XE2000 },
  	{ PCMCIA_VENDOR_XIRCOM,		0x0141,
  	  0,				0,
  	  PCMCIA_STR_XIRCOM_CE2 },
diff -r -c pcmcia.orig/pcmciadevs.h pcmcia/pcmciadevs.h
*** pcmcia.orig/pcmciadevs.h	Thu Nov  8 08:31:25 2001
--- pcmcia/pcmciadevs.h	Thu Nov  8 08:22:01 2001
***************
*** 500,505 ****
--- 500,508 ----
  #define	PCMCIA_CIS_XIRCOM_CE3	{ NULL, NULL, NULL, NULL }
  #define	PCMCIA_PRODUCT_XIRCOM_CE3	0x010a
  #define	PCMCIA_STR_XIRCOM_CE3	"Xircom CreditCard 10/100 Ethernet"
+ #define PCMCIA_CIS_XIRCOM_XE2000   { NULL, NULL, NULL, NULL }
+ #define PCMCIA_PRODUCT_XIRCOM_XE2000 0x0153
+ #define PCMCIA_STR_XIRCOM_XE2000 "Xircom, 10/100 Network PC Card, XE2000, 1.0"
  #define	PCMCIA_CIS_XIRCOM_CNW_801	{ NULL, NULL, NULL, NULL }
  #define	PCMCIA_PRODUCT_XIRCOM_CNW_801	0x0801
  #define	PCMCIA_STR_XIRCOM_CNW_801	"Xircom CreditCard Netwave (Canada)"
>Release-Note:
>Audit-Trail:
>Unformatted: