Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Nov 1999 09:31:32 +0100 (CET)
From:      Blaz Zupan <blaz@gold.amis.net>
To:        freebsd-current@freebsd.org
Subject:   if_ed_pci not compiled in on pccard system
Message-ID:  <Pine.BSF.4.21.9911200927330.297-100000@localhost>

next in thread | raw e-mail | index | archive | help
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, 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.9911200927330.297-100000>