diff options
author | imp <imp@FreeBSD.org> | 2000-03-13 09:42:09 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2000-03-13 09:42:09 +0000 |
commit | 20e7849b75037517f5d59868edb27375b9758de3 (patch) | |
tree | e95934bbe5272855ef87655c3f23e403fd29418b | |
parent | d3e2bed6b77e35d594420a707394a3646520ed81 (diff) | |
download | FreeBSD-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.c | 4 |
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); } |