diff options
| author | sato <sato@NetBSD.org> | 2002-02-09 15:20:49 +0000 |
|---|---|---|
| committer | sato <sato@NetBSD.org> | 2002-02-09 15:20:49 +0000 |
| commit | b2666184d88c191320f8fc40490878ffaca9abc3 (patch) | |
| tree | f77b8c0b137006833ec1c456ad077d4354a893f9 /sys/dev | |
| parent | 0f5d20e20bb6f5ca012599067d159b6f7da500cd (diff) | |
delete '#if 0' codes.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/hpc/button.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/dev/hpc/button.c b/sys/dev/hpc/button.c index 1f86357a98e..7eb2d7a3fb8 100644 --- a/sys/dev/hpc/button.c +++ b/sys/dev/hpc/button.c @@ -1,4 +1,4 @@ -/* $NetBSD: button.c,v 1.5 2001/11/13 12:47:56 lukem Exp $ */ +/* $NetBSD: button.c,v 1.6 2002/02/09 15:20:49 sato Exp $ */ /*- * Copyright (c) 1999-2001 @@ -35,7 +35,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: button.c,v 1.5 2001/11/13 12:47:56 lukem Exp $"); +__KERNEL_RCSID(0, "$NetBSD: button.c,v 1.6 2002/02/09 15:20:49 sato Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -101,13 +101,6 @@ button_attach(struct device *parent, struct device *self, void *aux) printf(" port=%d id=%ld active=%s", sc->sc_port, sc->sc_id, sc->sc_active ? "high" : "low"); -#if 0 -#if 1 /* Windows CE default */ - mode = VRGIU_INTR_EDGE_HOLD; -#else /* XXX Don't challenge! Freestyle Only */ - mode = VRGIU_INTR_LEVEL_LOW_HOLD; -#endif -#endif mode = HPCIO_INTR_HOLD; if (loc[HPCIOIFCF_LEVEL] != HPCIOIFCF_LEVEL_DEFAULT) { mode |= HPCIO_INTR_LEVEL; |
