From 8b753a3651a922f7e194dba472b1d48cc5eadac1 Mon Sep 17 00:00:00 2001 From: christos Date: Fri, 29 Jun 2001 14:56:21 +0000 Subject: [PATCH] PR/13337: de SAINT LEGER Rodolphe: Add support for the cn40bc ne clone. --- sys/dev/pcmcia/if_ne_pcmcia.c | 7 ++++++- sys/dev/pcmcia/pcmciadevs | 4 +++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/sys/dev/pcmcia/if_ne_pcmcia.c b/sys/dev/pcmcia/if_ne_pcmcia.c index 45ec929f2136..00b84161d726 100644 --- a/sys/dev/pcmcia/if_ne_pcmcia.c +++ b/sys/dev/pcmcia/if_ne_pcmcia.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_ne_pcmcia.c,v 1.76 2001/06/13 13:41:01 toddpw Exp $ */ +/* $NetBSD: if_ne_pcmcia.c,v 1.77 2001/06/29 14:56:21 christos Exp $ */ /* * Copyright (c) 1997 Marc Horowitz. All rights reserved. @@ -161,6 +161,11 @@ static const struct ne2000dev { PCMCIA_CIS_EPSON_EEN10B, 0, 0xff0, { 0x00, 0x00, 0x48 } }, + { PCMCIA_STR_CNET_NE2000, + PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID, + PCMCIA_CIS_CNET_NE2000, + 0, -1, { 0x00, 0x80, 0xad } }, + /* * You have to add new entries which contains * PCMCIA_VENDOR_INVALID and/or PCMCIA_PRODUCT_INVALID diff --git a/sys/dev/pcmcia/pcmciadevs b/sys/dev/pcmcia/pcmciadevs index 8e9485b1b78a..c760eaa21365 100644 --- a/sys/dev/pcmcia/pcmciadevs +++ b/sys/dev/pcmcia/pcmciadevs @@ -1,4 +1,4 @@ -$NetBSD: pcmciadevs,v 1.130 2001/05/21 13:44:48 ichiro Exp $ +$NetBSD: pcmciadevs,v 1.131 2001/06/29 14:56:22 christos Exp $ /*$FreeBSD: src/sys/dev/pccard/pccarddevs,v 1.8 2001/01/20 01:48:55 imp Exp $*/ /*- @@ -311,6 +311,7 @@ vendor BILLIONTON -1 Billionton Systems Inc. vendor AMD -1 AMD vendor INTERSIL -1 Intersil vendor SYNERGY21 -1 Synergy 21 +vendor CNET -1 CNet product MEGAHERTZ XJ2288 { "MEGAHERTZ", "MODEM&spXJ2288", NULL, NULL } Megahertz XJ2288 Modem product PREMAX PE200 { "PMX&sp&sp&sp", "PE-200", NULL, NULL } PreMax PE-200 @@ -362,3 +363,4 @@ product NANOSPEED PRISM2 { "NANOSPEED", "HFA384x/IEEE", "Version&sp01.02", NULL product NEC CMZ_RT_WP { "NEC", "Wireless&spCard&spCMZ-RT-WP", "Version&sp01.01", NULL } NEC Wireless Card CMZ-RT-WP product NTT_ME WLAN { "NTT-ME", "11Mbps&spWireless&spLAN&spPC&spCard", NULL, NULL } NTT-ME 11Mbps Wireless LAN PC Card product SYNERGY21 S21810 { "PCMCIA", "Ethernet", "A", "004743118001" } Synergy 21 S21810+ NE2000 Compatible Card +product CNET NE2000 { "CNet", "CN40BC&spEthernet", "D", "NE2000" } CNet CN40BC NE2000 Compatible