Date: Sat, 21 Apr 2001 18:04:37 -0700 From: "George W. Dinolt" <gdinolt@pacbell.net> To: debolaz@debolaz.com, Seamus.Venasse@polaris.ca, freebsd-stable@freebsd.org Subject: Re: Broken -stable (kernel build failure at wx module depends) Message-ID: <3AE22E25.4CC1A285@pacbell.net>
next in thread | raw e-mail | index | archive | help
I am sure someone is working on this. One way to fix the problem is to
include the reference to the miibus.h file in the Makefile for the
module and to use
device miibus
device wx
in your config file if you include the device there. wx was recently
(today) modified to use miibus but the Makefile hasn't been updated
(yet) to reflect this.
The "enhanced" wx Makefile looks like (copied from wb)
---
# $FreeBSD: src/sys/modules/wx/Makefile,v 1.1.2.1 2000/07/04 02:12:13
mjacob Exp $
.PATH: ${.CURDIR}/../../pci
KMOD = if_wx
SRCS = if_wx.c opt_bdg.h device_if.h bus_if.h pci_if.h
SRCS += miibus_if.h
KMODDEPS = miibus
.include <bsd.kmod.mk>
---
Note the new lines
SRCS...+= ...
and
KMODDEPS = miibus
I do not have an Intel Gigabit Ethernet (82452/82453) cards so I can't
test the functionality. But this does fix the compilation problems.
I hope this helps
G. Dinolt
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AE22E25.4CC1A285>
