diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-04-21 22:33:19 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-04-21 22:33:19 +0000 |
commit | 67d88b0a9910a68bb666b448d2dac29cb4d3d8c2 (patch) | |
tree | 967b89f6e07398a22bd8c76d30179b648776542d /sys/arch/amiga/dev/msc.c | |
parent | ba95d3c1d69cdb251d15a12ebf70f50b0ea2019b (diff) |
partial sync with netbsd 960418, more to come
Diffstat (limited to 'sys/arch/amiga/dev/msc.c')
-rw-r--r-- | sys/arch/amiga/dev/msc.c | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/sys/arch/amiga/dev/msc.c b/sys/arch/amiga/dev/msc.c index 0020893280d..fa93d077c83 100644 --- a/sys/arch/amiga/dev/msc.c +++ b/sys/arch/amiga/dev/msc.c @@ -1,4 +1,5 @@ -/* $NetBSD: msc.c,v 1.3 1996/02/02 18:05:44 mycroft Exp $ */ +/* $OpenBSD: msc.c,v 1.3 1996/04/21 22:15:39 deraadt Exp $ */ +/* $NetBSD: msc.c,v 1.5 1996/03/17 05:58:54 mhitch Exp $ */ /* * Copyright (c) 1993 Zik. @@ -162,16 +163,19 @@ struct speedtab *mscspeedtab; int mscmctl __P((dev_t dev, int bits, int howto)); void mscmint __P((register void *data)); -int mscmatch __P((struct device *, struct cfdata *, void *)); +int mscmatch __P((struct device *, void *, void *)); void mscattach __P((struct device *, struct device *, void *)); #define SWFLAGS(dev) (msc->openflags | (MSCDIALIN(dev) ? 0 : TIOCFLAG_SOFTCAR)) #define DEBUG_MSC 0 #define DEBUG_CD 0 -struct cfdriver msccd = { - NULL, "msc", (cfmatch_t) mscmatch, mscattach, DV_TTY, - sizeof(struct device), NULL, 0 +struct cfattach msc_ca = { + sizeof(struct device), mscmatch, mscattach +}; + +struct cfdriver msc_cd = { + NULL, "msc",DV_TTY, NULL, 0 }; #if DEBUG_MSC @@ -199,11 +203,11 @@ bugi(msc, string) #endif int -mscmatch(pdp, cdp, auxp) +mscmatch(pdp, match, auxp) struct device *pdp; - struct cfdata *cdp; - void *auxp; + void *match, *auxp; { + struct cfdata *cdp = match; struct zbus_args *zap; zap = auxp; |