From owner-cvs-all Thu Sep 21 20:49:16 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A0E6E37B424; Thu, 21 Sep 2000 20:49:13 -0700 (PDT) Received: (from wpaul@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id UAA56054; Thu, 21 Sep 2000 20:49:13 -0700 (PDT) (envelope-from wpaul@FreeBSD.org) Message-Id: <200009220349.UAA56054@freefall.freebsd.org> From: Bill Paul Date: Thu, 21 Sep 2000 20:49:13 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_pcn.c if_pcnreg.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG wpaul 2000/09/21 20:49:13 PDT Modified files: sys/pci if_pcn.c if_pcnreg.h Log: Make pcn_miibus_readreg() latch onto the first PHY that it finds (as a result of mii_phy_probe()) and use that rather than hardcoding a constant. The hardcoded way was too specific to the particular card I had and caused PHY probing to fail on at least one laptop with a built-in AMD chip. Reported by: rjk@grauel.com (Richard J Kuhns) Revision Changes Path 1.3 +6 -3 src/sys/pci/if_pcn.c 1.2 +2 -1 src/sys/pci/if_pcnreg.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message