From owner-freebsd-bugs Thu Nov 2 14:30: 7 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 F3F0337B4CF for ; Thu, 2 Nov 2000 14:30:00 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id OAA85740; Thu, 2 Nov 2000 14:30:00 -0800 (PST) (envelope-from gnats@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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/22556: GENERIC kernel config should indicate SMC PCI NIC (device tx) as using common MII code. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 02 14:30:00 PST 2000 >Closed-Date: >Last-Modified: >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 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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message