Get rid of BROKEN_INDIRECT_CONFIG
This commit is contained in:
parent
291ced55a4
commit
c6e901c459
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: autoconf.c,v 1.14 1996/10/13 04:10:37 christos Exp $ */
|
||||
/* $NetBSD: autoconf.c,v 1.15 1996/12/20 16:20:57 leo Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Leo Weppelman
|
||||
|
@ -44,7 +44,7 @@ static void setroot __P((void));
|
|||
void swapconf __P((void));
|
||||
void mbattach __P((struct device *, struct device *, void *));
|
||||
int mbprint __P((void *, const char *));
|
||||
int mbmatch __P((struct device *, void *, void *));
|
||||
int mbmatch __P((struct device *, struct cfdata *, void *));
|
||||
|
||||
extern int cold; /* 1 if still booting (locore.s) */
|
||||
int atari_realconfig;
|
||||
|
@ -235,12 +235,11 @@ struct cfdriver mainbus_cd = {
|
|||
};
|
||||
|
||||
int
|
||||
mbmatch(pdp, match, auxp)
|
||||
struct device *pdp;
|
||||
void *match, *auxp;
|
||||
mbmatch(pdp, cfp, auxp)
|
||||
struct device *pdp;
|
||||
struct cfdata *cfp;
|
||||
void *auxp;
|
||||
{
|
||||
struct cfdata *cfp = match;
|
||||
|
||||
if (cfp->cf_unit > 0)
|
||||
return(0);
|
||||
/*
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: lpt.c,v 1.8 1996/12/20 12:49:42 leo Exp $ */
|
||||
/* $NetBSD: lpt.c,v 1.9 1996/12/20 16:21:13 leo Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996 Leo Weppelman
|
||||
|
@ -136,7 +136,7 @@ struct cfdriver lpt_cd = {
|
|||
static int
|
||||
lptmatch(pdp, cfp, auxp)
|
||||
struct device *pdp;
|
||||
struct cfdata *pdp;
|
||||
struct cfdata *cfp;
|
||||
void *auxp;
|
||||
{
|
||||
if (!strcmp((char *)auxp, "lpt") && cfp->cf_unit == 0)
|
||||
|
|
Loading…
Reference in New Issue