diff options
author | imp <imp@FreeBSD.org> | 2005-09-06 22:55:32 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-09-06 22:55:32 +0000 |
commit | a9d0faae5cdf50cd86447af0098bd588c866611e (patch) | |
tree | 5eb6ef15f5cb70ef80824c4c3fb3df97e43df22f /sys/vm/vm_fault.c | |
parent | 7cd18dbbe8d0fa354c1d4b0bffce6181daef5707 (diff) | |
download | FreeBSD-src-a9d0faae5cdf50cd86447af0098bd588c866611e.zip FreeBSD-src-a9d0faae5cdf50cd86447af0098bd588c866611e.tar.gz |
Work around a bug I've seen on Linksys EC2T cards. For some reason,
as yet unknown, those cards report their MAC address a byte at a time.
However, other AX88x90 cards report the MAC address a word at a time.
Add a heuristic which looks at the high order bytes of the first 6
words. If they are all '0', assume the card is behaving like the
Linksys EC2T card. Since the default prefix for these cards appears
to be 00:e0:98, this appears to be a safe heuristic. While some cards
have been observed with different prefixes, they all work with this
heuristic.
I'm unsure if this is a bug in the EC2T card, or if it is a bug in the
initialization of the card. No other OS has this heuristic (although
w/o it, the MAC address that is used works).
Diffstat (limited to 'sys/vm/vm_fault.c')
0 files changed, 0 insertions, 0 deletions