Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Oct 1999 16:07:53 +0700 (NOVST)
From:      Nickolay Dudorov <nnd@mail.nsk.ru>
To:        bugs@freebsd.org
Subject:   Re: misc/14455: make release failure with PCCARD kernel
Message-ID:  <199910230907.QAA63930@wint.itfs.nsk.su>
In-Reply-To: <199910201551.RAA35884@gaspode.franken.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <sys/param.h>
 #include <sys/systm.h>
 #include <sys/socket.h>
@@ -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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910230907.QAA63930>