I have a WaveLan card and a PCI Compex NE2000 compatible in the same
machine. For the Wavelan I need to have pccard compiled in. The NE2000 is
not recognized by the kernel, after closer examination I see that the
compilation of if_ed_pci.c is conditional on pccard (if pccard is in the
system, if_ed_pci.c is not compiled).
With the following patch my kernel compiles and the NE2000 is correctly
probed. I guess the reason why this #ifdef has been put in has since
disappeared.
*** sys/dev/ed/if_ed_pci.c.orig Fri Oct 15 05:12:47 1999
--- sys/dev/ed/if_ed_pci.c Sat Nov 20 09:21:25 1999
***************
*** 20,28 ****
* $FreeBSD: src/sys/dev/ed/if_ed_pci.c,v 1.22 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>
--- 20,25 ----
***************
*** 126,129 ****
static devclass_t ed_devclass;
DRIVER_MODULE(ed, pci, ed_pci_driver, ed_devclass, 0, 0);
- #endif
--- 123,125 ----
Blaz Zupan, [EMAIL PROTECTED], http://home.amis.net/blaz/
Medinet d.o.o., Linhartova 21, 2000 Maribor, Slovenia
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message