cvs commit: src/sys/dev/hme if_hme_pci.c
Marius Strobl
marius at FreeBSD.org
Sat Dec 11 16:32:52 PST 2004
marius 2004-12-12 00:32:51 UTC
FreeBSD src repository
Modified files:
sys/dev/hme if_hme_pci.c
Log:
Some changes related to reading the MAC-address from the VPD on systems
without Open Firmware:
- The PCI data structure of some HME PROMs contains a non-zero interface
revision in the class code. Thus remove the checks for matching class
code and PCI data structure length and revsion. These were pretty much
useless anyway as we only really need the pointer to the VPD which is
located before the structure length and revision fields.
- On Sun QFE (Quad FastEthernet) cards read the Nth MAC-address for the
Nth HME controller instead of always the first one for all four HMEs. [1]
- Improve the comment describing the used VPD format to better reflect
reality.
- Minor clean-up.
Prodded by: joerg [1]
Revision Changes Path
1.17 +18 -19 src/sys/dev/hme/if_hme_pci.c
More information about the cvs-src
mailing list