cvs commit: src/sys/dev/ed if_ed_pccard.c
Warner Losh
imp at FreeBSD.org
Sat Feb 12 16:44:16 GMT 2005
imp 2005-02-12 16:44:15 UTC
FreeBSD src repository
Modified files:
sys/dev/ed if_ed_pccard.c
Log:
Improve the mining of MAC address from the card:
o Add a fallback location for the MAC address. Most of the early ne2000
PC Cards were built from the same parts, so most of them have the same
address in the CIS to grab the MAC from. Use this address as our
fallback if we don't find anything better.
o Add printf, in bootverbose, noting the MAC addresses that we find along
the way.
# Better sanity checking of the MAC address is needed. Will have to
# investigate using/creating a centralized function to do this as a number
# of other PC Card drivers each have their own ad-hoc tests.
Revision Changes Path
1.76 +36 -7 src/sys/dev/ed/if_ed_pccard.c
More information about the cvs-all
mailing list