From owner-freebsd-bugs Sat Oct 23 2: 8:53 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from wint.itfs.nsk.su (wint.itfs.nsk.su [212.20.32.43]) by hub.freebsd.org (Postfix) with ESMTP id C3F7A14CB6 for ; Sat, 23 Oct 1999 02:08:40 -0700 (PDT) (envelope-from nnd@wint.itfs.nsk.su) Received: (from nnd@localhost) by wint.itfs.nsk.su (8.9.3/8.9.3) id QAA63930; Sat, 23 Oct 1999 16:07:53 +0700 (NOVST) (envelope-from nnd) Date: Sat, 23 Oct 1999 16:07:53 +0700 (NOVST) Message-Id: <199910230907.QAA63930@wint.itfs.nsk.su> From: Nickolay Dudorov To: bugs@freebsd.org Subject: Re: misc/14455: make release failure with PCCARD kernel In-Reply-To: <199910201551.RAA35884@gaspode.franken.de> User-Agent: tin/pre-1.4-19990927 ("Nine While Nine") (UNIX) (FreeBSD/4.0-CURRENT (i386)) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In <199910201551.RAA35884@gaspode.franken.de> tanis@gaspode.franken.de wrote: > >>Number: 14455 >>Category: misc >>Synopsis: make release failure with PCCARD kernel ... >>Arrival-Date: Fri Oct 22 00:10:00 PDT 1999 ... >>Release: FreeBSD 4.0-CURRENT i386 ... >>How-To-Repeat: > > > cd /sys/i386/conf > > config -r PCCARD > > cd /sys/compile/PCCARD > > make depend all > > or > > > cd /usr/src/release > > make release > >>Fix: To fix - i.e. to make PCCARD kernel compile and link successfully (I can't test it on real hardware) apply the following patch : diff -bu sys/dev/ed/if_ed_isa.c.ORIG sys/dev/ed/if_ed_isa.c ================================================================ --- sys/dev/ed/if_ed_isa.c.ORIG Fri Oct 15 10:12:47 1999 +++ sys/dev/ed/if_ed_isa.c Sat Oct 23 15:55:28 1999 @@ -27,6 +27,9 @@ * $FreeBSD: src/sys/dev/ed/if_ed_isa.c,v 1.2 1999/10/15 03:12:47 mdodd Exp $ */ +#include "card.h" +#if NCARD == 0 + #include #include #include @@ -154,3 +157,4 @@ static devclass_t ed_isa_devclass; DRIVER_MODULE(ed, isa, ed_isa_driver, ed_isa_devclass, 0, 0); +#endif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message