Subject: kern/13337: CN40BC ne2000 PCMCIA card support (patch included)
To: None <>
From: None <>
List: netbsd-bugs
Date: 06/29/2001 04:33:56
>Number:         13337
>Category:       kern
>Synopsis:       CN40BC ne2000 PCMCIA card support (patch included)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 29 04:32:00 PDT 2001
>Originator:     de SAINT LEGER Rodolphe
>Release:        1.5.1 BETA2 (updated by sup)
NetBSD gally 1.5.1 NetBSD 1.5.1 (TOSHIBA 480 CDT) #2: Fri Jun 29 13:28:39 CEST 2001     root@gally:/usr/src/sys/arch/i386/compile/TOSHIBA480CDT i386

The CN40BC PCMCIA card is not supported in the 1.5.1 release (current not tested)
I was able to make it work with the following diffs
WARNING, apparently, the promiscuous mode doesn't work
(wasn't able to sniff packets on a non switched LAN)

I checked the cvs web, and apparently this card is not supported on NetBSD-current too
Insert a CNET CN40BC in a pcmcia slot... :)

These are the diffs for the /sys/dev/pcmcia/if_ne_pcmcia.c
>     { PCMCIA_STR_CNET_NE2000,
>       PCMCIA_CIS_CNET_NE2000,
>       0, -1, { 0x00, 0x80, 0xad } },
These are the diffs for the /sys/dev/pcmcia/pcmciadevs
> vendor CNET                   -1      CNet
> product CNET NE2000           { "CNet", "CN40BC&spEthernet", "D", "NE2000" } CNet CN40BC NE2000 Compatible

(after the pcmciadevs modification, don't forget to run make -f Makefile.pcmciadevs in the pcmcia directory
to update pcmciadevs.h