Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jan 2002 12:37:59 -0500
From:      Chris Browning <brownicm@prokyon.com>
To:        Moritz <sissi@gmx.co.uk>, freebsd-newbies@FreeBSD.ORG
Subject:   Re: "make depend" error
Message-ID:  <02010812375907.07248@mercedes.local.domain>
In-Reply-To: <02010817103900.05267@localhost>
References:  <02010817103900.05267@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?02010812375907.07248>