compile when __BROKEN_INDIRECT_CONFIG isn't defined.
This commit is contained in:
parent
0f72c17209
commit
5cfcabc2fe
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: if_ep_eisa.c,v 1.12 1997/03/30 22:47:05 jonathan Exp $ */
|
||||
/* $NetBSD: if_ep_eisa.c,v 1.13 1997/04/18 00:50:33 cgd Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Jonathan Stone <jonathan@NetBSD.org>
|
||||
@ -77,7 +77,11 @@
|
||||
#include <dev/eisa/eisavar.h>
|
||||
#include <dev/eisa/eisadevs.h>
|
||||
|
||||
#ifdef __BROKEN_INDIRECT_CONFIG
|
||||
int ep_eisa_match __P((struct device *, void *, void *));
|
||||
#else
|
||||
int ep_eisa_match __P((struct device *, struct cfdata *, void *));
|
||||
#endif
|
||||
void ep_eisa_attach __P((struct device *, struct device *, void *));
|
||||
|
||||
struct cfattach ep_eisa_ca = {
|
||||
@ -93,7 +97,12 @@ struct cfattach ep_eisa_ca = {
|
||||
int
|
||||
ep_eisa_match(parent, match, aux)
|
||||
struct device *parent;
|
||||
void *match, *aux;
|
||||
#ifdef __BROKEN_INDIRECT_CONFIG
|
||||
void *match;
|
||||
#else
|
||||
struct cfdata *match;
|
||||
#endif
|
||||
void *aux;
|
||||
{
|
||||
struct eisa_attach_args *ea = aux;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: if_ep_isa.c,v 1.11 1997/03/30 22:47:06 jonathan Exp $ */
|
||||
/* $NetBSD: if_ep_isa.c,v 1.12 1997/04/18 00:50:37 cgd Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Jonathan Stone <jonathan@NetBSD.org>
|
||||
@ -79,7 +79,11 @@
|
||||
#include <dev/isa/isavar.h>
|
||||
#include <dev/isa/elink.h>
|
||||
|
||||
#ifdef __BROKEN_INDIRECT_CONFIG
|
||||
int ep_isa_probe __P((struct device *, void *, void *));
|
||||
#else
|
||||
int ep_isa_probe __P((struct device *, struct cfdata *, void *));
|
||||
#endif
|
||||
void ep_isa_attach __P((struct device *, struct device *, void *));
|
||||
|
||||
struct cfattach ep_isa_ca = {
|
||||
@ -137,7 +141,12 @@ epaddcard(bus, iobase, irq)
|
||||
int
|
||||
ep_isa_probe(parent, match, aux)
|
||||
struct device *parent;
|
||||
void *match, *aux;
|
||||
#ifdef __BROKEN_INDIRECT_CONFIG
|
||||
void *match;
|
||||
#else
|
||||
struct cfdata *match;
|
||||
#endif
|
||||
void *aux;
|
||||
{
|
||||
struct isa_attach_args *ia = aux;
|
||||
bus_space_tag_t iot = ia->ia_iot;
|
||||
|
Loading…
Reference in New Issue
Block a user