summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/magma.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc/dev/magma.c')
-rw-r--r--sys/arch/sparc/dev/magma.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/sparc/dev/magma.c b/sys/arch/sparc/dev/magma.c
index 60c457aa1bd..d6c52594442 100644
--- a/sys/arch/sparc/dev/magma.c
+++ b/sys/arch/sparc/dev/magma.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: magma.c,v 1.15 2003/08/15 20:32:14 tedu Exp $ */
+/* $OpenBSD: magma.c,v 1.16 2003/09/23 16:51:11 millert Exp $ */
/*
* magma.c
*
@@ -1398,7 +1398,7 @@ int s, opt;
* mbppread read from mbpp
* mbppwrite write to mbpp
* mbppioctl do ioctl on mbpp
- * mbppselect do select on mbpp
+ * mbpppoll do poll on mbpp
* mbpp_rw general rw routine
* mbpp_timeout rw timeout
* mbpp_start rw start after delay
@@ -1589,15 +1589,15 @@ int s;
}
/*
- * select routine
+ * poll routine
*/
int
-mbppselect(dev, rw, p)
+mbpppoll(dev, events, p)
dev_t dev;
-int rw;
+int events;
struct proc *p;
{
- return(ENODEV);
+ return(seltrue(dev, events, p));
}
int