> 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: [EMAIL PROTECTED]
MRY Systems                             [EMAIL PROTECTED]
    (Skots Gregorijs Akmentins-Teilors -- just call me "Skots")
                ----- Labak miris neka sarkans -----


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to