Date: Mon, 9 Feb 2004 18:30:21 -0800 (PST) From: Bruce Evans <bde@zeta.org.au> To: freebsd-i386@FreeBSD.org Subject: Re: i386/62595: npx.c do not compiles without ISA bus configured Message-ID: <200402100230.i1A2ULQl053762@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR i386/62595; it has been noted by GNATS. From: Bruce Evans <bde@zeta.org.au> To: Radim Kolar <hsn@netmag.cz> Cc: FreeBSD-gnats-submit@freebsd.org, freebsd-i386@freebsd.org Subject: Re: i386/62595: npx.c do not compiles without ISA bus configured Date: Tue, 10 Feb 2004 13:20:17 +1100 (EST) 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?200402100230.i1A2ULQl053762>