From owner-freebsd-bugs Thu Aug 31 10:10:11 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7E39437B43E for ; Thu, 31 Aug 2000 10:10:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA74783; Thu, 31 Aug 2000 10:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from public.ndh.com (public.ndh.net [195.94.90.21]) by hub.freebsd.org (Postfix) with ESMTP id 2F1C437B424 for ; Thu, 31 Aug 2000 10:07:16 -0700 (PDT) Received: from elan.firekeys.org (port2148.duesseldorf.ndh.net [195.227.37.148]) by public.ndh.com (8.9.3/8.8.0) with ESMTP id TAA08047 for ; Thu, 31 Aug 2000 19:07:08 +0200 (MET DST) Message-Id: <200008311707.TAA00925@esprit.firekeys.org> Date: Thu, 31 Aug 2000 19:07:40 +0200 (CEST) From: Stefan Moeding Reply-To: s.moeding@ndh.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/20967: tx driver warns about unknown PHY Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 20967 >Category: kern >Synopsis: tx driver warns about unknown PHY >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Aug 31 10:10:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Stefan Moeding >Release: FreeBSD 4.1-STABLE i386 >Organization: >Environment: A SMC 9432TX NIC and FreeBSD 4.1-STABLE >Description: The SMC 9432TX NIC is supported by the tx driver. The card works like a charm, only during startup the driver complains: tx0: port 0xe800-0xe8ff mem 0xe8001000-0xe8001fff irq 11 at device 10.0 on pci0 tx0: WARNING! PHY unknown (0x895): address 00:e0:29:6c:40:71, type SMC9432TX_2, Auto-Neg 100Mbps FD >How-To-Repeat: >Fix: In /usr/src/sys/kern/pci/if_tx.c around line 765: /* Identify PHY */ sc->phyid = PHY_READ_2(sc, DP83840_PHYIDR1 )<<6; sc->phyid|= (PHY_READ_2( sc, DP83840_PHYIDR2 )>>10)&0x3F; if( QS6612_OUI != sc->phyid ) printf(": WARNING! PHY unknown (0x%x)",sc->phyid); Except for the printf there is nothing else happening, so it looks to me as if this can either be removed completely or a second comparison could be added to the if-expression. Feel free to send patches for testing to me, Stefan >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message