diff options
Diffstat (limited to 'sys/arch/mvme68k/dev/sshdma.c')
-rw-r--r-- | sys/arch/mvme68k/dev/sshdma.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/sys/arch/mvme68k/dev/sshdma.c b/sys/arch/mvme68k/dev/sshdma.c index 47430aae5b4..441ec1796e4 100644 --- a/sys/arch/mvme68k/dev/sshdma.c +++ b/sys/arch/mvme68k/dev/sshdma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sshdma.c,v 1.3 2002/04/21 23:45:16 miod Exp $ */ +/* $OpenBSD: sshdma.c,v 1.4 2002/04/27 23:21:05 miod Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -60,8 +60,10 @@ int afscmatch(struct device *, void *, void *); void afscattach(struct device *, struct device *, void *); -int sshintr(struct ssh_softc *); -int afsc_dmaintr(struct ssh_softc *); +void sshintr(struct ssh_softc *); +int afsc_dmaintr(void *); + +extern void sshinitialize(struct ssh_softc *); struct scsi_adapter afsc_scsiswitch = { ssh_scsicmd, @@ -90,10 +92,9 @@ afscmatch(pdp, vcf, args) struct device *pdp; void *vcf, *args; { - struct cfdata *cf = vcf; struct confargs *ca = args; - return (!badvaddr(ca->ca_vaddr, 4)); + return (!badvaddr((vaddr_t)ca->ca_vaddr, 4)); } void @@ -191,9 +192,10 @@ void *auxp; } int -afsc_dmaintr(sc) -struct ssh_softc *sc; +afsc_dmaintr(arg) + void *arg; { + struct ssh_softc *sc = (struct ssh_softc *)arg; ssh_regmap_p rp; u_char istat; |