From owner-cvs-all@FreeBSD.ORG Thu Mar 3 00:19:31 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7651A16A4CE; Thu, 3 Mar 2005 00:19:31 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2977743D4C; Thu, 3 Mar 2005 00:19:31 +0000 (GMT) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j230JVSJ018368; Thu, 3 Mar 2005 00:19:31 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j230JVhU018367; Thu, 3 Mar 2005 00:19:31 GMT (envelope-from marius) Message-Id: <200503030019.j230JVhU018367@repoman.freebsd.org> From: Marius Strobl Date: Thu, 3 Mar 2005 00:19:30 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Subject: cvs commit: src/sys/dev/hme if_hme_pci.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2005 00:19:31 -0000 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