From owner-freebsd-current Fri Sep 3 20:16:54 1999 Delivered-To: freebsd-current@freebsd.org Received: from mrynet.com (mrynet.com [24.234.53.177]) by hub.freebsd.org (Postfix) with ESMTP id 3821314C59 for ; Fri, 3 Sep 1999 20:16:52 -0700 (PDT) (envelope-from freebsd@mrynet.com) Received: (from freebsd@localhost) by mrynet.com (8.9.3/8.9.3) id RAA19293; Fri, 3 Sep 1999 17:03:24 -0700 (PDT) (envelope-from freebsd) Posted-Date: Fri, 3 Sep 1999 17:03:24 -0700 (PDT) Message-Id: <199909040003.RAA19293@mrynet.com> From: freebsd@mrynet.com (FreeBSD mailing list) Date: Fri, 3 Sep 1999 17:03:24 +0000 X-Mailer: Mail User's Shell (7.2.6 beta(3) 11/17/96) To: Mike Hoskins Subject: Re: i386/isa/pnp.h is absent! Cc: freebsd-current@freebsd.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Fri, 3 Sep 1999, Andrey A. Chernov wrote: > > > Many drivers tries to include > > #include > > 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