Update to match autoconfig code.
This commit is contained in:
parent
54cc63645d
commit
d0163400d1
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: npx.c,v 1.23 1994/10/27 04:18:02 cgd Exp $ */
|
||||
/* $NetBSD: npx.c,v 1.24 1994/11/03 23:21:24 mycroft Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1994 Charles Hannum.
|
||||
|
@ -113,8 +113,8 @@ int npxintr __P((struct intrframe *frame));
|
|||
void npxsave __P((struct save87 *addr));
|
||||
int npxprobe1 __P((struct isa_attach_args *));
|
||||
|
||||
int npxprobe();
|
||||
void npxattach();
|
||||
int npxprobe __P((struct device *, void *, void *));
|
||||
void npxattach __P((struct device *, struct device *, void *));
|
||||
|
||||
struct cfdriver npxcd = {
|
||||
NULL, "npx", npxprobe, npxattach, DV_DULL, sizeof(struct device)
|
||||
|
@ -170,9 +170,9 @@ _probetrap:
|
|||
* need to use interrupts. Return 1 if device exists.
|
||||
*/
|
||||
int
|
||||
npxprobe(parent, self, aux)
|
||||
struct device *parent, *self;
|
||||
void *aux;
|
||||
npxprobe(parent, match, aux)
|
||||
struct device *parent;
|
||||
void *match, *aux;
|
||||
{
|
||||
struct isa_attach_args *ia = aux;
|
||||
int result;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: sb.c,v 1.10 1994/10/27 04:18:12 cgd Exp $ */
|
||||
/* $NetBSD: sb.c,v 1.11 1994/11/03 23:21:28 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1991-1993 Regents of the University of California.
|
||||
|
@ -102,23 +102,23 @@ struct {
|
|||
int wmidi;
|
||||
} sberr;
|
||||
|
||||
int sbintr __P((struct sb_softc *));
|
||||
int sbprobe();
|
||||
void sbattach();
|
||||
int sbprobe __P((struct device *, void *, void *));
|
||||
#ifdef NEWCONFIG
|
||||
void sbforceintr(void *);
|
||||
#endif
|
||||
void sbattach __P((struct device *, struct device *, void *));
|
||||
int sbintr __P((struct sb_softc *));
|
||||
|
||||
struct cfdriver sbcd = {
|
||||
NULL, "sb", sbprobe, sbattach, DV_DULL, sizeof(struct sb_softc)
|
||||
};
|
||||
|
||||
int
|
||||
sbprobe(parent, self, aux)
|
||||
struct device *parent, *self;
|
||||
void *aux;
|
||||
sbprobe(parent, match, aux)
|
||||
struct device *parent;
|
||||
void *match, *aux;
|
||||
{
|
||||
register struct sb_softc *sc = (void *)self;
|
||||
register struct sb_softc *sc = match;
|
||||
register struct isa_attach_args *ia = aux;
|
||||
register u_short iobase = ia->ia_iobase;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: wt.c,v 1.19 1994/10/30 21:44:24 cgd Exp $ */
|
||||
/* $NetBSD: wt.c,v 1.20 1994/11/03 23:21:30 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Streamer tape driver.
|
||||
|
@ -163,8 +163,8 @@ int wtreadfm __P((struct wt_softc *sc));
|
|||
int wtwritefm __P((struct wt_softc *sc));
|
||||
u_char wtpoll __P((struct wt_softc *sc, int mask, int bits));
|
||||
|
||||
int wtprobe();
|
||||
void wtattach();
|
||||
int wtprobe __P((struct device *, void *, void *));
|
||||
void wtattach __P((struct device *, struct device *, void *));
|
||||
int wtintr __P((struct wt_softc *sc));
|
||||
|
||||
struct cfdriver wtcd = {
|
||||
|
@ -175,11 +175,11 @@ struct cfdriver wtcd = {
|
|||
* Probe for the presence of the device.
|
||||
*/
|
||||
int
|
||||
wtprobe(parent, self, aux)
|
||||
struct device *parent, *self;
|
||||
void *aux;
|
||||
wtprobe(parent, match, aux)
|
||||
struct device *parent;
|
||||
void *match, *aux;
|
||||
{
|
||||
struct wt_softc *sc = (void *)self;
|
||||
struct wt_softc *sc = match;
|
||||
struct isa_attach_args *ia = aux;
|
||||
u_short iobase;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: sb.c,v 1.10 1994/10/27 04:18:12 cgd Exp $ */
|
||||
/* $NetBSD: sb.c,v 1.11 1994/11/03 23:21:28 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1991-1993 Regents of the University of California.
|
||||
|
@ -102,23 +102,23 @@ struct {
|
|||
int wmidi;
|
||||
} sberr;
|
||||
|
||||
int sbintr __P((struct sb_softc *));
|
||||
int sbprobe();
|
||||
void sbattach();
|
||||
int sbprobe __P((struct device *, void *, void *));
|
||||
#ifdef NEWCONFIG
|
||||
void sbforceintr(void *);
|
||||
#endif
|
||||
void sbattach __P((struct device *, struct device *, void *));
|
||||
int sbintr __P((struct sb_softc *));
|
||||
|
||||
struct cfdriver sbcd = {
|
||||
NULL, "sb", sbprobe, sbattach, DV_DULL, sizeof(struct sb_softc)
|
||||
};
|
||||
|
||||
int
|
||||
sbprobe(parent, self, aux)
|
||||
struct device *parent, *self;
|
||||
void *aux;
|
||||
sbprobe(parent, match, aux)
|
||||
struct device *parent;
|
||||
void *match, *aux;
|
||||
{
|
||||
register struct sb_softc *sc = (void *)self;
|
||||
register struct sb_softc *sc = match;
|
||||
register struct isa_attach_args *ia = aux;
|
||||
register u_short iobase = ia->ia_iobase;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: wt.c,v 1.19 1994/10/30 21:44:24 cgd Exp $ */
|
||||
/* $NetBSD: wt.c,v 1.20 1994/11/03 23:21:30 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Streamer tape driver.
|
||||
|
@ -163,8 +163,8 @@ int wtreadfm __P((struct wt_softc *sc));
|
|||
int wtwritefm __P((struct wt_softc *sc));
|
||||
u_char wtpoll __P((struct wt_softc *sc, int mask, int bits));
|
||||
|
||||
int wtprobe();
|
||||
void wtattach();
|
||||
int wtprobe __P((struct device *, void *, void *));
|
||||
void wtattach __P((struct device *, struct device *, void *));
|
||||
int wtintr __P((struct wt_softc *sc));
|
||||
|
||||
struct cfdriver wtcd = {
|
||||
|
@ -175,11 +175,11 @@ struct cfdriver wtcd = {
|
|||
* Probe for the presence of the device.
|
||||
*/
|
||||
int
|
||||
wtprobe(parent, self, aux)
|
||||
struct device *parent, *self;
|
||||
void *aux;
|
||||
wtprobe(parent, match, aux)
|
||||
struct device *parent;
|
||||
void *match, *aux;
|
||||
{
|
||||
struct wt_softc *sc = (void *)self;
|
||||
struct wt_softc *sc = match;
|
||||
struct isa_attach_args *ia = aux;
|
||||
u_short iobase;
|
||||
|
||||
|
|
Loading…
Reference in New Issue