Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pcmcia Put the entry of FNW-3700T after the entry of...



details:   https://anonhg.NetBSD.org/src/rev/bfa232b79516
branches:  trunk
changeset: 482128:bfa232b79516
user:      enami <enami%NetBSD.org@localhost>
date:      Mon Feb 14 23:13:49 2000 +0000

description:
Put the entry of FNW-3700T after the entry of SVEC-PN650TX
so that SVEC-PN650TX errornously recognized as FNW-3700T.
Pointed out by Takahiro Kambe <taca%sky.yamashina.kyoto.jp@localhost>.

diffstat:

 sys/dev/pcmcia/if_ne_pcmcia.c |  17 +++++++++++------
 1 files changed, 11 insertions(+), 6 deletions(-)

diffs (36 lines):

diff -r 9a811d22dd25 -r bfa232b79516 sys/dev/pcmcia/if_ne_pcmcia.c
--- a/sys/dev/pcmcia/if_ne_pcmcia.c     Mon Feb 14 22:00:21 2000 +0000
+++ b/sys/dev/pcmcia/if_ne_pcmcia.c     Mon Feb 14 23:13:49 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ne_pcmcia.c,v 1.55 2000/02/09 15:40:26 enami Exp $  */
+/*     $NetBSD: if_ne_pcmcia.c,v 1.56 2000/02/14 23:13:49 enami Exp $  */
 
 /*
  * Copyright (c) 1997 Marc Horowitz.  All rights reserved.
@@ -175,16 +175,21 @@
       PCMCIA_CIS_PLANEX_FNW3600T,
       0, -1, { 0x00, 0x90, 0xcc }, NE2000DVF_DL10019 },
 
+    { PCMCIA_STR_SVEC_PN650TX,
+      PCMCIA_VENDOR_LINKSYS, PCMCIA_PRODUCT_LINKSYS_COMBO_ECARD,
+      PCMCIA_CIS_SVEC_PN650TX,
+      0, -1, { 0x00, 0xe0, 0x98 }, NE2000DVF_DL10019 },
+
+    /*
+     * This entry should be here so that above two cards doesn't
+     * match with this.  FNW-3700T won't match above entries due to
+     * MAC address check.
+     */
     { PCMCIA_STR_PLANEX_FNW3700T, 
       PCMCIA_VENDOR_LINKSYS, PCMCIA_PRODUCT_LINKSYS_COMBO_ECARD,
       PCMCIA_CIS_PLANEX_FNW3700T, 
       0, -1, { 0x00, 0x90, 0xcc }, NE2000DVF_AX88190 },
 
-    { PCMCIA_STR_SVEC_PN650TX,
-      PCMCIA_VENDOR_LINKSYS, PCMCIA_PRODUCT_LINKSYS_COMBO_ECARD,
-      PCMCIA_CIS_SVEC_PN650TX,
-      0, -1, { 0x00, 0xe0, 0x98 }, NE2000DVF_DL10019 },
-
     { PCMCIA_STR_LINKSYS_ETHERFAST,
       PCMCIA_VENDOR_LINKSYS, PCMCIA_PRODUCT_LINKSYS_ETHERFAST,
       PCMCIA_CIS_LINKSYS_ETHERFAST,



Home | Main Index | Thread Index | Old Index