From owner-freebsd-newbies Tue Jan 8 9:32:22 2002 Delivered-To: freebsd-newbies@freebsd.org Received: from chmls20.mediaone.net (chmls20.mediaone.net [24.147.1.156]) by hub.freebsd.org (Postfix) with ESMTP id ACDA237B41A for ; Tue, 8 Jan 2002 09:32:16 -0800 (PST) Received: from mercedes.local.domain (h000103d2e005.ne.mediaone.net [66.31.215.27]) by chmls20.mediaone.net (8.11.1/8.11.1) with SMTP id g08HXtx18462; Tue, 8 Jan 2002 12:33:56 -0500 (EST) Content-Type: text/plain; charset="iso-8859-1" From: Chris Browning Reply-To: brownicm@prokyon.com To: Moritz , freebsd-newbies@FreeBSD.ORG Subject: Re: "make depend" error Date: Tue, 8 Jan 2002 12:37:59 -0500 X-Mailer: KMail [version 1.2] References: <02010817103900.05267@localhost> In-Reply-To: <02010817103900.05267@localhost> MIME-Version: 1.0 Message-Id: <02010812375907.07248@mercedes.local.domain> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tuesday 08 January 2002 11:10 am, Moritz wrote: > I tried to compile my own kernel under Freebsd 4.3 Release but "make > depend" always exited after some time and outputted the following error: > "../../pci/if_rl.c:119: miibus.h: No such file or directory". I installed > 4.4 Release and got the same error. > Can anyone tell me what this is and how I can fix it? > Thank you in advance. > > - moritz This question belongs on -questions, not -newbies. Nonetheless... You are trying to compile in a driver for a NIC that needs MII bus support. from /usr/src/sys/i386/conf/LINT ... # MII bus support is required for some PCI 10/100 ethernet NICs, # namely those which use MII-compliant transceivers or implement # tranceiver control interfaces that operate like an MII. Adding # "device miibus0" to the kernel config pulls in support for # the generic miibus API and all of the PHY drivers, including a # generic one for PHYs that aren't specifically handled by an # individual driver. device miibus ### *add this line* # PCI Ethernet NICs that use the common MII bus controller code. device dc # DEC/Intel 21143 and various workalikes device rl # RealTek 8129/8139 device pcn # AMD Am79C79x PCI 10/100 NICs device sf # Adaptec AIC-6915 (``Starfire'') device sis # Silicon Integrated Systems SiS 900/SiS 7016 device ste # Sundance ST201 (D-Link DFE-550TX) device tl # Texas Instruments ThunderLAN device tx # SMC EtherPower II (83c17x ``EPIC'') device vr # VIA Rhine, Rhine II device wb # Winbond W89C840F device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') add that 'device miibus' line and it should work. Have fun. -questions, not -newbies next time. This is a technical question. The people on -questions are generally nice if you do your homework and don't bait them. And you are more likely to get a good answer. Chris Browning brownicm@prokyon.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message