aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2000-03-13 09:42:09 +0000
committerWarner Losh <imp@FreeBSD.org>2000-03-13 09:42:09 +0000
commit02c988c53e556fdf6775877c04a620f70808fe87 (patch)
tree8c9529f5dd3fe096a0b97031674853b83dfe9b09 /sys/dev
parent5111e26e960bd367e967c44b557d109b664f3504 (diff)
Notes
Diffstat (limited to 'sys/dev')
-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 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);
}