Add another OUI for a Melco card.

XXX
The way this table is done is kind of dumb.  There's really every little point
in matching anything beyond vendor/product IDs in most cases, unless we
specifically need to do some hackery to find the MAC address.  In many cases 4
or 5 manufacturers well have the same vendor/product IDs, but different OUIs
and possibly different strings.  In these cases, we rarely need to look at the
OUI or the strings to DTRT.
This commit is contained in:
mycroft 2004-07-07 02:17:17 +00:00
parent a5c4e6ac1e
commit fda6e12798

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_ne_pcmcia.c,v 1.115 2004/07/04 01:28:51 mycroft Exp $ */
/* $NetBSD: if_ne_pcmcia.c,v 1.116 2004/07/07 02:17:17 mycroft 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.115 2004/07/04 01:28:51 mycroft Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_ne_pcmcia.c,v 1.116 2004/07/07 02:17:17 mycroft Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -490,6 +490,11 @@ static const struct ne2000dev {
PCMCIA_CIS_MELCO_LPC3_TX,
0, -1, { 0x00, 0x40, 0x26 }, NE2000DVF_AX88190 },
{ PCMCIA_STR_MELCO_LPC3_TX,
PCMCIA_VENDOR_MELCO, PCMCIA_PRODUCT_MELCO_LPC3_TX,
PCMCIA_CIS_MELCO_LPC3_TX,
0, -1, { 0x00, 0x02, 0xdd }, NE2000DVF_AX88190 },
{ PCMCIA_STR_BUFFALO_LPC3_CLT,
PCMCIA_VENDOR_BUFFALO, PCMCIA_PRODUCT_BUFFALO_LPC3_CLT,
PCMCIA_CIS_BUFFALO_LPC3_CLT,