Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Sep 1999 17:03:24 +0000
From:      freebsd@mrynet.com (FreeBSD mailing list)
To:        Mike Hoskins <mike@snafu.adept.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: i386/isa/pnp.h is absent!
Message-ID:  <199909040003.RAA19293@mrynet.com>

next in thread | raw e-mail | index | archive | help
> On Fri, 3 Sep 1999, Andrey A. Chernov wrote:
> 
> > Many drivers tries to include 
> > #include <i386/isa/pnp.h>
> > which is absent now, please fix ASAP, kernel build fails on "make depend"
> 
> I noticed this with with some NIC code too.  /sys/pci/if_xl.c attempts to
> include "miibus_if.h" which doesn't exist and breaks make depend...  a
> last ditch effort of pointing the include to
> "/usr/obj/usr/src/sys/modules/xl/miibus_if.h" allows make depend to
> finish, but make still dies.

I found this in the LINT file:

# 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
# "controller 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.
controller      miibus0

Including that controller resolved the miibus_if.h issues completely.
It seems to me that additional commentary to the effect of:

# The xl NIC controller also requires inclusion of the miibus
# controller.

would clear this issue up for a lotta people.
			-skots
--
Scott G. Akmentins-Taylor     InterNet: staylor@mrynet.com
MRY Systems			        staylor@mrynet.lv
    (Skots Gregorijs Akmentins-Teilors -- just call me "Skots")
		----- Labak miris neka sarkans -----


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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