Date: Wed, 2 Mar 2005 00:49:37 +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: <200503020049.j220nb2F018558@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2005-03-02 00:49:37 UTC FreeBSD src repository Modified files: sys/dev/hme if_hme_pci.c Log: - Fix braino introduced in rev. 1.17, 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. Prodded by: joerg Additional testing by: joerg MFC after: 1 day Revision Changes Path 1.19 +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?200503020049.j220nb2F018558>