The D-Link DFE-670TXD can appear with two different vendor IDs for the MAC

address.  The two IDs belong to D-Link.  Therefore, add a duplicate entry
with a matching vendor ID.

Reported and tested by syn at sceen dot net.
This commit is contained in:
cube 2004-03-13 15:09:16 +00:00
parent 0a5647e7a8
commit cd4928d8c7
1 changed files with 12 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_ne_pcmcia.c,v 1.109 2004/02/13 10:05:50 wiz Exp $ */
/* $NetBSD: if_ne_pcmcia.c,v 1.110 2004/03/13 15:09:16 cube Exp $ */
/*
* Copyright (c) 1997 Marc Horowitz. All rights reserved.
@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_ne_pcmcia.c,v 1.109 2004/02/13 10:05:50 wiz Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_ne_pcmcia.c,v 1.110 2004/03/13 15:09:16 cube Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -288,11 +288,21 @@ static const struct ne2000dev {
PCMCIA_CIS_DLINK_DE650,
0, -1, { 0x00, 0xe0, 0x98 }, NE2000DVF_DL10019 },
/*
* There are two entries for the DFE-670TXD because there are
* several possible Vendor IDs for the MAC address. Both are
* from D-Link, though.
*/
{ PCMCIA_STR_DLINK_DFE670TXD,
PCMCIA_VENDOR_LINKSYS, PCMCIA_PRODUCT_NETGEAR_FA410TXC,
PCMCIA_CIS_DLINK_DFE670TXD,
0, -1, { 0x00, 0x50, 0xba }, NE2000DVF_DL10019 },
{ PCMCIA_STR_DLINK_DFE670TXD,
PCMCIA_VENDOR_LINKSYS, PCMCIA_PRODUCT_NETGEAR_FA410TXC,
PCMCIA_CIS_DLINK_DFE670TXD,
0, -1, { 0x00, 0x0d, 0x88 }, NE2000DVF_DL10019 },
{ PCMCIA_STR_MELCO_LPC2_TX,
PCMCIA_VENDOR_LINKSYS, PCMCIA_PRODUCT_LINKSYS_ETHERFAST,
PCMCIA_CIS_MELCO_LPC2_TX,