diff options
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/isa/files.isa | 4 | ||||
-rw-r--r-- | sys/dev/pcmcia/pcmcia.c | 18 |
2 files changed, 13 insertions, 9 deletions
diff --git a/sys/dev/isa/files.isa b/sys/dev/isa/files.isa index 63981d69dea..29ac9ea2ee6 100644 --- a/sys/dev/isa/files.isa +++ b/sys/dev/isa/files.isa @@ -127,7 +127,7 @@ file dev/isa/elink.c elink # National Semiconductor DS8390/WD83C690-based boards # (WD/SMC 80x3 family, SMC Ultra [8216], 3Com 3C503, NE[12]000, and clones) device ed at isa, pcmciabus: ether, ifnet -file dev/isa/if_ed.c ed +file dev/isa/if_ed.c ed needs-flag # 3Com 3C505 device eg at isa: ether, ifnet @@ -139,7 +139,7 @@ file dev/isa/if_el.c el # 3Com 3C5x9, 3c59x (EtherLink III) family device ep at isa, pci, pcmciabus: ether, ifnet, elink -file dev/isa/if_ep.c ep +file dev/isa/if_ep.c ep needs-flag # Fujitsu MB8696[05]-based boards # (Allied Telesis AT1700) diff --git a/sys/dev/pcmcia/pcmcia.c b/sys/dev/pcmcia/pcmcia.c index baae3fecf92..7729774be59 100644 --- a/sys/dev/pcmcia/pcmcia.c +++ b/sys/dev/pcmcia/pcmcia.c @@ -27,7 +27,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: pcmcia.c,v 1.1 1996/01/15 00:05:03 hvozda Exp $ + * $Id: pcmcia.c,v 1.2 1996/01/26 21:27:31 hvozda Exp $ */ /* derived from scsiconf.c writte by Julian Elischer et al */ @@ -44,6 +44,10 @@ #include <dev/pcmcia/pcmciabus.h> #include <dev/pcmcia/pcmcia_ioctl.h> +#include "ed.h" +#include "com.h" +#include "ep.h" + #ifdef IBM_WD #define PCMCIA_DEBUG #endif @@ -70,24 +74,24 @@ static int ndeldevs = 0; build up the knowndevs struct. Stefan may have ideas... */ -#ifdef PCMCIA_ED +#if NED > 0 extern struct pcmciadevs pcmcia_ed_devs[]; #endif -#ifdef PCMCIA_COM +#if NCOM > 0 extern struct pcmciadevs pcmcia_com_devs[]; #endif -#ifdef PCMCIA_EP +#if NEP > 0 extern struct pcmciadevs pcmcia_ep_devs[]; #endif static struct pcmciadevs *knowndevs[] = { -#ifdef PCMCIA_ED +#if NED > 0 pcmcia_ed_devs, #endif -#ifdef PCMCIA_COM +#if NCOM > 0 pcmcia_com_devs, #endif -#ifdef PCMCIA_EP +#if NEP > 0 pcmcia_ep_devs, #endif NULL |