Date: Thu, 3 Mar 2005 00:19:30 +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: <200503030019.j230JVhU018367@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2005-03-03 00:19:30 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_5)
sys/dev/hme if_hme_pci.c
Log:
MFC: 1.19
- Fix braino introduced in rev. 1.17 (MFC'ed in rev. 1.15.2.2), unlike the
X1032A (HME-ISP1040-combo) and the X1034A (quad HME; QFE) cards the X1033A
(single HME) don't have a PCI-PCI-bridge so we can't rely on the PCI slot
number being useable as index for the network address to read from the VPD
on the latter. Use the end tag to determine whether it is a QFE VPD with
4 NAs and only use the slot number as index in this case.
- Remove a useless check.
Revision Changes Path
1.15.2.3 +8 -8 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?200503030019.j230JVhU018367>
