From 02c988c53e556fdf6775877c04a620f70808fe87 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Mon, 13 Mar 2000 09:42:09 +0000 Subject: [PATCH] Add another Linksys OUI. PR: 16922 Submitted by: takawata@shidahara1.planet.sci.kobe-u.ac.jp --- sys/dev/ed/if_ed.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/dev/ed/if_ed.c b/sys/dev/ed/if_ed.c index 959d78288900..b91727a2e8a2 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); }