summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2000-03-13 09:42:09 +0000
committerimp <imp@FreeBSD.org>2000-03-13 09:42:09 +0000
commit20e7849b75037517f5d59868edb27375b9758de3 (patch)
treee95934bbe5272855ef87655c3f23e403fd29418b
parentd3e2bed6b77e35d594420a707394a3646520ed81 (diff)
downloadFreeBSD-src-20e7849b75037517f5d59868edb27375b9758de3.zip
FreeBSD-src-20e7849b75037517f5d59868edb27375b9758de3.tar.gz
Add another Linksys OUI.
PR: 16922 Submitted by: takawata@shidahara1.planet.sci.kobe-u.ac.jp
-rw-r--r--sys/dev/ed/if_ed.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ed/if_ed.c b/sys/dev/ed/if_ed.c
index 959d782..b91727a 100644
--- a/sys/dev/ed/if_ed.c
+++ b/sys/dev/ed/if_ed.c
@@ -901,6 +901,7 @@ ed_get_Linksys(sc)
{
u_char LinksysOUI1[] = {0x00, 0xe0, 0x98};
u_char LinksysOUI2[] = {0x00, 0x80, 0xc8};
+ u_char LinksysOUI3[] = {0x00, 0xa0, 0xb0};
u_char sum;
int i;
@@ -919,7 +920,8 @@ ed_get_Linksys(sc)
sc->arpcom.ac_enaddr[i] = inb(sc->asic_addr + 0x04 + i);
}
if (bcmp(sc->arpcom.ac_enaddr, LinksysOUI1, sizeof(LinksysOUI1)) &&
- bcmp(sc->arpcom.ac_enaddr, LinksysOUI2, sizeof(LinksysOUI2)))
+ bcmp(sc->arpcom.ac_enaddr, LinksysOUI2, sizeof(LinksysOUI2)) &&
+ bcmp(sc->arpcom.ac_enaddr, LinksysOUI3, sizeof(LinksysOUI3)))
return (0);
return (1);
}
OpenPOWER on IntegriCloud