Date: Sun, 12 Dec 2004 00:32:51 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/hme if_hme_pci.c Message-ID: <200412120032.iBC0WpdO095749@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412120032.iBC0WpdO095749>
