From nobody@FreeBSD.ORG  Thu Nov  2 14:26:06 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 773FE37B479; Thu,  2 Nov 2000 14:26:06 -0800 (PST)
Message-Id: <20001102222606.773FE37B479@hub.freebsd.org>
Date: Thu,  2 Nov 2000 14:26:06 -0800 (PST)
From: hodgkina@hurlburt.af.mil
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: GENERIC kernel config should indicate SMC PCI NIC (device tx) as using common MII code.
X-Send-Pr-Version: www-1.0

>Number:         22556
>Category:       kern
>Synopsis:       GENERIC kernel config should indicate SMC PCI NIC (device tx) as using common MII code.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    semenu
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 02 14:30:00 PST 2000
>Closed-Date:    Tue Nov 7 12:28:41 PST 2000
>Last-Modified:  Tue Dec 26 13:00:01 PST 2000
>Originator:     Andrew Hodgkins
>Release:        4.2-BETA
>Organization:
Research Planning, Inc.
>Environment:
FreeBSD josephine.hurlburt.af.mil 4.2-BETA FreeBSD 4.2-BETA #0: Thu Nov  2 11:37:13 CST 2000     root@josephine.hurlburt.af.mil:/usr/src/sys/compile/JOSEPHINE  i386
>Description:
In existing GENERIC, SMC 9432TX cards (device tx) are not designated as using the common MII bus controller code.  However, as of Sun Sep 10 19:51:07 2000 UTC, the driver was converted to use newbus and miibus.  See http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/pci/if_tx.c and refer to revision 1.34.2.3.

>How-To-Repeat:
1. Comment out 'device miibus' in GENERIC
2. config <kernel>
3. cd to compile directory and 'make depend'.  The following error is then received:
../../pci/if_tx.c:80: miibus_if.h: No such file or directory
mkdep: compile failed
*** Error code 1
>Fix:
Move 'device tx' line from current section (#PCI Ethernet NICs) to MII Bus section (#PCI Ethernet NICs that use common MII bus controller code.)

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->semenu 
Responsible-Changed-By: johan 
Responsible-Changed-When: Fri Nov 3 13:48:58 PST 2000 
Responsible-Changed-Why:  
Over to tx(4) maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=22556 
State-Changed-From-To: open->closed 
State-Changed-By: semenu 
State-Changed-When: Tue Nov 7 12:28:41 PST 2000 
State-Changed-Why:  
With the efforts of Bill Fumerola <billf@FreeBSD.org> and a bit 
of mine, problem is fixed and PR is closed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=22556 

From: Andrew.Hodgkins@hurlburt.af.mil
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: kern/22556: GENERIC kernel config should indicate SMC PCI NIC
	 (device tx) as using common MII code.
Date: Tue, 26 Dec 2000 14:55:05 -0600

 Just a brief followup: I noticed that this change has been made in LINT, but
 it hasn't been committed to GENERIC yet (at least not in the STABLE
 branch...I'm not tracking CURRENT).  Just wondering if it might be an
 oversight, since the problem can still be reproduced using the previously
 described method in the original PR. 
 
 uname -a: 
 FreeBSD josephine.hurlburt.af.mil 4.2-STABLE FreeBSD 4.2-STABLE #0: Mon Dec
 18 19:55:45 CST 2000
 root@josephine.hurlburt.af.mil:/usr/obj/usr/src/sys/JOSEPHINE  i386  
 
 I know this is only a doc bug and as such is ultra-low priority, but at
 least it's a simple fix.  ;)
 
 --Andy
 
 
>Unformatted:
