From owner-freebsd-questions Sun Jul 30 17:47: 5 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 3146F37B8A4 for ; Sun, 30 Jul 2000 17:47:01 -0700 (PDT) (envelope-from jhb@pike.osd.bsdi.com) Received: (from jhb@localhost) by pike.osd.bsdi.com (8.9.3/8.9.3) id RAA66668; Sun, 30 Jul 2000 17:46:34 -0700 (PDT) (envelope-from jhb) From: John Baldwin Message-Id: <200007310046.RAA66668@pike.osd.bsdi.com> Subject: Re: kernel compile error In-Reply-To: <000e01bffa84$e294e8a0$0200a8c0@xexen.com> from XeXeN at "Jul 30, 2000 07:18:41 pm" To: XeXeN Date: Sun, 30 Jul 2000 17:46:34 -0700 (PDT) Cc: questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL68 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG XeXeN wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] > When compiling a custom kernel, I get this error > > ../../pci/if_rl.c:119: miibus_if.h: No such file or directory > > I gather im missing miibus_if.h for some reason. > > Where can I get this h file? You need to put 'device miibus' in your kernel config file. The 'rl' driver requires the mii driver as stated in GENERIC: # PCI Ethernet NICs that use the common MII bus controller code. device miibus # MII bus support device dc # DEC/Intel 21143 and various workalikes device rl # RealTek 8129/8139 -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message