From owner-freebsd-current Sat Nov 20 0:33:23 1999 Delivered-To: freebsd-current@freebsd.org Received: from server.amis.net (server.amis.net [212.18.32.5]) by hub.freebsd.org (Postfix) with ESMTP id 5112C14CAD for ; Sat, 20 Nov 1999 00:33:18 -0800 (PST) (envelope-from blaz@gold.amis.net) Received: by server.amis.net (Postfix, from userid 66) id CE818D5C28; Sat, 20 Nov 1999 09:33:16 +0100 (CET) Received: by gold.amis.net (Postfix, from userid 1000) id 590C31D53; Sat, 20 Nov 1999 09:31:32 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by gold.amis.net (Postfix) with ESMTP id 391985805 for ; Sat, 20 Nov 1999 09:31:32 +0100 (CET) Date: Sat, 20 Nov 1999 09:31:32 +0100 (CET) From: Blaz Zupan X-Sender: blaz@localhost To: freebsd-current@freebsd.org Subject: if_ed_pci not compiled in on pccard system Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 #include #include --- 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, blaz@amis.net, http://home.amis.net/blaz/ Medinet d.o.o., Linhartova 21, 2000 Maribor, Slovenia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message