From owner-cvs-all Wed May 1 12:16:12 2002 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 B881A37B41A; Wed, 1 May 2002 12:15:54 -0700 (PDT) Received: (from semenu@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g41JFsI54678; Wed, 1 May 2002 12:15:54 -0700 (PDT) (envelope-from semenu) Message-Id: <200205011915.g41JFsI54678@freefall.freebsd.org> From: Semen Ustimenko Date: Wed, 1 May 2002 12:15:54 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/mii acphy.c qsphy.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG semenu 2002/05/01 12:15:54 PDT Modified files: sys/dev/mii acphy.c qsphy.c Log: MII_TICK handlers need not restart aneg on these PHYs, they behave pretty well as is, so - just fetch current status upon MII_TICK. Also do IFM_INST verification at the top of *_service() then doing it separately for every case in switch. acphy: do not read MII_ACPHY_DIAG twice, there is nothing latching. qsphy: always fetch actual link status from MII_QSPHY_PCTL. MFC after: 1 week Revision Changes Path 1.8 +16 -40 src/sys/dev/mii/acphy.c 1.7 +39 -69 src/sys/dev/mii/qsphy.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message