Date: Tue, 10 Feb 2004 13:20:17 +1100 (EST) From: Bruce Evans <bde@zeta.org.au> To: Radim Kolar <hsn@netmag.cz> Cc: freebsd-i386@freebsd.org Subject: Re: i386/62595: npx.c do not compiles without ISA bus configured Message-ID: <20040210131116.U51076@gamplex.bde.org> In-Reply-To: <E1ApuXc-0000xL-Bu@asura.bsd> References: <E1ApuXc-0000xL-Bu@asura.bsd>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 8 Feb 2004, Radim Kolar wrote: > >Description: > If you don't have 'device isa' entry in kernel configuration, kernel > build will fail in npx driver. I want to build a smallest possible kernel, > so i have commeted isa bus out. Try this patch. i386 require isa so leaving it out will give a kernel hat won't actually work, however. The NPX_ISA ifdefs in npx.c basically leave out isa-pnp, not isa, and some i386 kernels configured without isa can only be linked because not configuring it doesn't actually leave out all the isa bits. %%% Index: npx.c =================================================================== RCS file: /home/ncvs/src/sys/i386/isa/npx.c,v retrieving revision 1.144 diff -u -2 -r1.144 npx.c --- npx.c 3 Nov 2003 21:53:38 -0000 1.144 +++ npx.c 10 Feb 2004 01:30:35 -0000 @@ -1038,5 +1038,4 @@ static devclass_t npx_devclass; -#ifdef DEV_ISA /* * We prefer to attach to the root nexus so that the usual case (exception 16) @@ -1045,4 +1044,5 @@ DRIVER_MODULE(npx, nexus, npx_driver, npx_devclass, 0, 0); +#ifdef DEV_ISA /* * This sucks up the legacy ISA support assignments from PNPBIOS/ACPI. %%% Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040210131116.U51076>