Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/hpcarm/dev g/c empty apmpoll(), use nopoll() instead



details:   https://anonhg.NetBSD.org/src/rev/0ef9dd674a2f
branches:  trunk
changeset: 537896:0ef9dd674a2f
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Mon Oct 07 21:32:10 2002 +0000

description:
g/c empty apmpoll(), use nopoll() instead

diffstat:

 sys/arch/hpcarm/dev/apm.c |  17 +++--------------
 1 files changed, 3 insertions(+), 14 deletions(-)

diffs (49 lines):

diff -r b02d6347883b -r 0ef9dd674a2f sys/arch/hpcarm/dev/apm.c
--- a/sys/arch/hpcarm/dev/apm.c Mon Oct 07 20:01:46 2002 +0000
+++ b/sys/arch/hpcarm/dev/apm.c Mon Oct 07 21:32:10 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: apm.c,v 1.3 2002/10/02 05:18:51 thorpej Exp $  */
+/*     $NetBSD: apm.c,v 1.4 2002/10/07 21:32:10 jdolecek Exp $ */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -39,7 +39,7 @@
 #include "apm.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: apm.c,v 1.3 2002/10/02 05:18:51 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: apm.c,v 1.4 2002/10/07 21:32:10 jdolecek Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -62,8 +62,6 @@
 dev_type_open(apmopen);
 dev_type_close(apmclose);
 dev_type_ioctl(apmioctl);
-dev_type_poll(apmpoll);
-
 
 struct apm_softc {
        struct device sc_dev;
@@ -75,7 +73,7 @@
 
 const struct cdevsw apm_cdevsw = {
        apmopen, apmclose, noread, nowrite, apmioctl,
-       nostop, notty, apmpoll, nommap,
+       nostop, notty, nopoll, nommap,
 };
 
 
@@ -146,12 +144,3 @@
 
        return 0;
 }
-
-int
-apmpoll(dev, events, p)
-       dev_t dev;
-       int events;
-       struct proc *p;
-{
-       return 0;
-}



Home | Main Index | Thread Index | Old Index