summaryrefslogtreecommitdiff
path: root/sys/arch/amiga/dev/ms.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/amiga/dev/ms.c')
-rw-r--r--sys/arch/amiga/dev/ms.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/arch/amiga/dev/ms.c b/sys/arch/amiga/dev/ms.c
index 39bee0431f9..4e14bef5f3e 100644
--- a/sys/arch/amiga/dev/ms.c
+++ b/sys/arch/amiga/dev/ms.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: ms.c,v 1.2 1996/05/02 06:44:21 niklas Exp $ */
-/* $NetBSD: ms.c,v 1.9 1996/04/24 11:41:16 is Exp $ */
+/* $OpenBSD: ms.c,v 1.3 1996/05/29 10:15:35 niklas Exp $ */
+/* $NetBSD: ms.c,v 1.10 1996/05/09 20:31:41 is Exp $ */
/*
* based on:
@@ -115,7 +115,6 @@ msmatch(pdp, match, auxp)
return 0;
}
-
void
msattach(pdp, dp, auxp)
struct device *pdp, *dp;
@@ -123,7 +122,6 @@ msattach(pdp, dp, auxp)
{
printf("\n");
}
-
/*
* Amiga mice are hooked up to one of the two "game" ports, where
@@ -144,6 +142,7 @@ ms_enable(dev)
struct ms_softc *ms;
ms = (struct ms_softc *)getsoftc(ms_cd, minor(dev));
+
/*
* use this as flag to the "interrupt" to tell it when to
* shut off (when it's reset to 0).
@@ -193,6 +192,7 @@ msintr(arg)
unit = (int)arg;
ms = (struct ms_softc *)getsoftc(ms_cd, unit);
+
horc = ((u_char *) &count) + 1;
verc = (u_char *) &count;
@@ -385,6 +385,7 @@ msread(dev, uio, flags)
struct ms_softc *ms;
ms = (struct ms_softc *)getsoftc(ms_cd, minor(dev));
+
return(ev_read(&ms->ms_events, uio, flags));
}
@@ -432,5 +433,6 @@ msselect(dev, rw, p)
struct ms_softc *ms;
ms = (struct ms_softc *)getsoftc(ms_cd, minor(dev));
+
return(ev_select(&ms->ms_events, rw, p));
}