Subject: kern/8260: pcmcia ether card information: Allied Telesis LA-PCM
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kawamoto@tenjin.org>
List: netbsd-bugs
Date: 08/23/1999 19:15:50
>Number:         8260
>Category:       kern
>Synopsis:       pcmcia ether card information: Allied Telesis LA-PCM
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 23 18:05:06 1999
>Last-Modified:
>Originator:     Kawamoto Yosihisa
>Organization:
tenjin.org
>Release:        1999/08/22
>Environment:
	note pc (SONY VAIO 505RX)
System: NetBSD rerun.tenjin.org 1.4K NetBSD 1.4K (RERUN) #211: Mon Aug 23 15:36:06 JST 1999 kawamoto@rerun.tenjin.org:/usr/src/sys/arch/i386/compile/RERUN i386


>Description:
	  The Allied Telesis LA-PCM is an NE-2000 compatible pcmcia card.
	This card is recognized by following patches.  I don't know what
	is the correct fix, but disabling I/O space config check works
	to this card.

diff -cr /base/src/sys/dev/pcmcia/if_ne_pcmcia.c ./if_ne_pcmcia.c
*** /base/src/sys/dev/pcmcia/if_ne_pcmcia.c	Tue Jun 29 09:05:09 1999
--- ./if_ne_pcmcia.c	Mon Aug 23 18:59:40 1999
***************
*** 221,229 ****
      /* the rest of these are stolen from the linux pcnet pcmcia device
         driver.  Since I don't know the manfid or cis info strings for
         any of them, they're not compiled in until I do. */
-     { "Allied Telesis LA-PCM",
-       0x0000, 0x0000, NULL, NULL, 0,
-       0x0ff0, { 0x00, 0x00, 0xf4 } },
      { "APEX MultiCard",
        0x0000, 0x0000, NULL, NULL, 0,
        0x03f4, { 0x00, 0x20, 0xe5 } },
--- 221,226 ----
***************
*** 309,314 ****
--- 306,316 ----
        0x0000, 0x0000, NULL, NULL, 0,
        0x0060, { 0x00, 0x40, 0x05 } },
  #endif
+ 
+     { PCMCIA_STR_ALLIEDTELESIS_LA_PCM,
+       PCMCIA_VENDOR_ALLIEDTELESIS, PCMCIA_PRODUCT_ALLIEDTELESIS_LA_PCM,
+       PCMCIA_CIS_ALLIEDTELESIS_LA_PCM,
+       0, 0x0ff0, { 0x00, 0x00, 0xf4 } },
  };
  
  #define	NE2000_NDEVS	(sizeof(ne2000devs) / sizeof(ne2000devs[0]))
***************
*** 383,390 ****
--- 385,396 ----
  
  	if (cfe->num_iospace == 1) {
  		if (cfe->iospace[0].length != NE2000_NPORTS) {
+ #if 0
  			printf(": unexpected I/O space configuration\n");
  			return;
+ #else
+ 			printf(": unexpected I/O space configuration (continued): ");
+ #endif
  		}
  	} else if (cfe->num_iospace == 2) {
  		/*
diff -cr /base/src/sys/dev/pcmcia/pcmciadevs ./pcmciadevs
*** /base/src/sys/dev/pcmcia/pcmciadevs	Sun Aug 15 20:17:25 1999
--- ./pcmciadevs	Mon Aug 23 19:02:39 1999
***************
*** 61,66 ****
--- 61,67 ----
  vendor LASAT			0x3401	Lasat Communications A/S
  vendor COMPEX			0x8a01	Compex Corporation
  vendor COREGA			0xc00f	Corega K.K.
+ vendor ALLIEDTELESIS		0xc00f	Allied Telesis K.K.
  vendor HAGIWARASYSCOM		0xc012	Hagiwara SYS-COM
  
  /*
***************
*** 154,159 ****
--- 155,163 ----
  /* Standard Microsystems Corporation Products */
  product SMC 8016		0x0105 SMC 8016 EtherCard
  product SMC EZCARD		0x8022 SMC EXCard 10 PCMCIA
+ 
+ /* Allied Telesis K.K. */
+ product ALLIEDTELESIS LA_PCM	0x0002 Allied Telesis LA-PCM
  
  /* Lucent WaveLAN/IEEE */
  product LUCENT WAVELAN_IEEE	0x0002	WaveLAN/IEEE
>How-To-Repeat:
>Fix:
>Audit-Trail:
>Unformatted: