NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/38504: Support for Corega LAPCCTXD FastEthernet Card



>Number:         38504
>Category:       kern
>Synopsis:       Support for Corega LAPCCTXD FastEthernet Card
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 25 09:00:00 +0000 2008
>Originator:     Takashi Sogabe
>Release:        NetBSD-current 4.99.60
>Organization:
Internet Initiative Japan., Inc.
>Environment:
NetBSD  4.99.60 NetBSD 4.99.60 (GENERIC) #2: Thu Apr 24 19:22:36 JST 2008  
sogabe@:/home/sogabe/netbsd/current/src/sys/arch/i386/compile/GENERIC i386
>Description:
"Corega LAPCCTXD" FastEthernet pcmcia card is not supported on NetBSD.
>How-To-Repeat:
Insert the card.
>Fix:
Apply following patch:

Index: sys/dev/pcmcia/if_ne_pcmcia.c
===================================================================
RCS file: /cvsroot/src/sys/dev/pcmcia/if_ne_pcmcia.c,v
retrieving revision 1.154
diff -u -r1.154 if_ne_pcmcia.c
--- sys/dev/pcmcia/if_ne_pcmcia.c       5 Apr 2008 21:31:23 -0000       1.154
+++ sys/dev/pcmcia/if_ne_pcmcia.c       24 Apr 2008 23:49:50 -0000
@@ -333,6 +333,10 @@
       0, -1, { 0x00, 0x90, 0x99 }, 0 },
 
     { PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
+      PCMCIA_CIS_COREGA_LAPCCTXD,
+      0, -1, { 0x00, 0x90, 0x99 }, 0 },
+
+    { PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID,
       PCMCIA_CIS_COREGA_FETHER_II_PCC_TXD,
       0, -1, { 0x00, 0x90, 0x99 }, NE2000DVF_AX88190 },
 
Index: sys/dev/pcmcia/pcmciadevs
===================================================================
RCS file: /cvsroot/src/sys/dev/pcmcia/pcmciadevs,v
retrieving revision 1.223
diff -u -r1.223 pcmciadevs
--- sys/dev/pcmcia/pcmciadevs   22 Sep 2007 19:59:55 -0000      1.223
+++ sys/dev/pcmcia/pcmciadevs   24 Apr 2008 23:49:50 -0000
@@ -477,6 +477,7 @@
 product COREGA ETHER_II_PCC_T  { "corega&spK.K.", "corega&spEtherII&spPCC-T", 
NULL, NULL } Corega EtherII PCC-T
 product COREGA FAST_ETHER_PCC_TX       { "corega&spK.K.", 
"corega&spFastEther&spPCC-TX", NULL, NULL } Corega FastEther PCC-TX
 product COREGA FETHER_PCC_TXD  { "corega&spK.K.", "corega&spFEther&spPCC-TXD", 
NULL, NULL } Corega FEther PCC-TXD
+product COREGA LAPCCTXD        { "corega&spK.K.", "(CG-LAPCCTXD)", 
"(HardwareFirmwareVer.)", NULL } Corega LAPCCTXD
 product COREGA FETHER_PCC_TXF  { "corega", "FEther&spPCC-TXF", NULL, NULL } 
Corega FEther PCC-TXF
 product COREGA FETHER_II_PCC_TXD       { "corega&spK.K.", 
"corega&spFEtherII&spPCC-TXD", NULL, NULL } Corega FEtherII PCC-TXD
 product COREGA WIRELESS_LAN_PCC_11     { "corega&spK.K.", 
"Wireless&spLAN&spPCC-11", NULL, NULL } Corega Wireless LAN PCC-11
Index: sys/dev/pcmcia/pcmciadevs.h
===================================================================
RCS file: /cvsroot/src/sys/dev/pcmcia/pcmciadevs.h,v
retrieving revision 1.226
diff -u -r1.226 pcmciadevs.h
--- sys/dev/pcmcia/pcmciadevs.h 22 Sep 2007 20:01:21 -0000      1.226
+++ sys/dev/pcmcia/pcmciadevs.h 24 Apr 2008 23:49:50 -0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pcmciadevs.h,v 1.226 2007/09/22 20:01:21 kiyohara Exp $        
*/
+/*     $NetBSD$        */
 
 /*
  * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
@@ -670,6 +670,8 @@
 #define        PCMCIA_PRODUCT_COREGA_FAST_ETHER_PCC_TX -1
 #define        PCMCIA_CIS_COREGA_FETHER_PCC_TXD        { "corega K.K.", 
"corega FEther PCC-TXD", NULL, NULL }
 #define        PCMCIA_PRODUCT_COREGA_FETHER_PCC_TXD    -1
+#define        PCMCIA_CIS_COREGA_LAPCCTXD      { "corega K.K.", 
"(CG-LAPCCTXD)", "(HardwareFirmwareVer.)", NULL }
+#define        PCMCIA_PRODUCT_COREGA_LAPCCTXD  -1
 #define        PCMCIA_CIS_COREGA_FETHER_PCC_TXF        { "corega", "FEther 
PCC-TXF", NULL, NULL }
 #define        PCMCIA_PRODUCT_COREGA_FETHER_PCC_TXF    -1
 #define        PCMCIA_CIS_COREGA_FETHER_II_PCC_TXD     { "corega K.K.", 
"corega FEtherII PCC-TXD", NULL, NULL }
Index: sys/dev/pcmcia/pcmciadevs_data.h
===================================================================
RCS file: /cvsroot/src/sys/dev/pcmcia/pcmciadevs_data.h,v
retrieving revision 1.226
diff -u -r1.226 pcmciadevs_data.h
--- sys/dev/pcmcia/pcmciadevs_data.h    22 Sep 2007 20:01:21 -0000      1.226
+++ sys/dev/pcmcia/pcmciadevs_data.h    24 Apr 2008 23:49:51 -0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pcmciadevs_data.h,v 1.226 2007/09/22 20:01:21 kiyohara Exp $   
*/
+/*     $NetBSD$        */
 
 /*
  * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
@@ -1366,6 +1366,13 @@
            "Corega FEther PCC-TXD",    }
        ,
        {
+           PCMCIA_VENDOR_UNKNOWN, PCMCIA_PRODUCT_COREGA_LAPCCTXD,
+           PCMCIA_CIS_COREGA_LAPCCTXD,
+           0,
+           "Corega K.K.",
+           "Corega LAPCCTXD",  }
+       ,
+       {
            PCMCIA_VENDOR_UNKNOWN, PCMCIA_PRODUCT_COREGA_FETHER_PCC_TXF,
            PCMCIA_CIS_COREGA_FETHER_PCC_TXF,
            0,



Home | Main Index | Thread Index | Old Index