Date: Thu, 31 Aug 2000 19:07:40 +0200 (CEST) From: Stefan Moeding <s.moeding@ndh.net> To: FreeBSD-gnats-submit@freebsd.org Subject: kern/20967: tx driver warns about unknown PHY Message-ID: <200008311707.TAA00925@esprit.firekeys.org>
next in thread | raw e-mail | index | archive | help
>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: <SMC 83c170> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008311707.TAA00925>
