diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-06-26 06:22:01 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-06-26 06:22:01 +0000 |
commit | b3a5b4c4818cba53fe8edf964584c6d567540646 (patch) | |
tree | 88b337154cc1d29a6d8faa6781ed20b48d496b64 /sys | |
parent | 54b9b551305b817a69b235b20b7da75bdcc526b9 (diff) |
Make the Linksys Combo PCMCIA EthernetCard (EC2T) work again; it was broken by
the last commit for AX88190 support. There are at least three variants of ne's
that have manufacturer id 0x143 (Linksys) + product id 0xc1ab. Each one has its
enaddr in a different place.
The matching code for PCMCIA NE2000 is really gross. In particular, the flags
field in ne2000_devs (for NE2000DVF_DL10019 and NE2000_AX88190) is a complete
hack. The driver should really try each method of reading the Ethernet address
(from the ROM, DL10019, and AX88190) and choose the one that generates the
correct checksum.
I plan to fix this later...
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pcmcia/if_ne_pcmcia.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pcmcia/if_ne_pcmcia.c b/sys/dev/pcmcia/if_ne_pcmcia.c index c94320010ee..f4c8c53776c 100644 --- a/sys/dev/pcmcia/if_ne_pcmcia.c +++ b/sys/dev/pcmcia/if_ne_pcmcia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ne_pcmcia.c,v 1.29 2000/05/30 14:36:41 fgsch Exp $ */ +/* $OpenBSD: if_ne_pcmcia.c,v 1.30 2000/06/26 06:22:00 aaron Exp $ */ /* $NetBSD: if_ne_pcmcia.c,v 1.17 1998/08/15 19:00:04 thorpej Exp $ */ /* @@ -161,6 +161,10 @@ struct ne2000dev { PCMCIA_CIS_NDC_ND5100_E, 0, -1, { 0x00, 0x80, 0xc6 } }, + { PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID, + PCMCIA_CIS_LINKSYS_COMBO_ECARD_2, + 0, -1, { 0x00, 0xe0, 0x98 } }, + /* * You have to add new entries which contains * PCMCIA_VENDOR_INVALID and/or PCMCIA_PRODUCT_INVALID |