diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-03-28 11:42:29 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-03-28 11:42:29 +0000 |
commit | 4130975219e10faec3ba07febcef657f44181bab (patch) | |
tree | 937f50af82b05e61c827a49c2f61cd8b94f795c5 /sys/scsi/ch.c | |
parent | 6d29ff2f3048736a61585e2e27a30f1e7237dc37 (diff) |
OCHIO* dies horrible death by dd; as per renaming done before
Diffstat (limited to 'sys/scsi/ch.c')
-rw-r--r-- | sys/scsi/ch.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/scsi/ch.c b/sys/scsi/ch.c index 112b5c3e798..bb75bae176e 100644 --- a/sys/scsi/ch.c +++ b/sys/scsi/ch.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ch.c,v 1.14 2002/12/30 21:50:28 grange Exp $ */ +/* $OpenBSD: ch.c,v 1.15 2003/03/28 11:42:28 mickey Exp $ */ /* $NetBSD: ch.c,v 1.26 1997/02/21 22:06:52 thorpej Exp $ */ /* @@ -287,11 +287,8 @@ chioctl(dev, cmd, data, flags, p) * have the device open for writing. */ switch (cmd) { - case OCHIOGPICKER: case CHIOGPICKER: - case OCHIOGPARAMS: case CHIOGPARAMS: - case OCHIOGSTATUS: case CHIOGSTATUS: break; @@ -301,27 +298,22 @@ chioctl(dev, cmd, data, flags, p) } switch (cmd) { - case OCHIOMOVE: case CHIOMOVE: error = ch_move(sc, (struct changer_move *)data); break; - case OCHIOEXCHANGE: case CHIOEXCHANGE: error = ch_exchange(sc, (struct changer_exchange *)data); break; - case OCHIOPOSITION: case CHIOPOSITION: error = ch_position(sc, (struct changer_position *)data); break; - case OCHIOGPICKER: case CHIOGPICKER: *(int *)data = sc->sc_picker - sc->sc_firsts[CHET_MT]; break; - case OCHIOSPICKER: case CHIOSPICKER: { int new_picker = *(int *)data; @@ -330,7 +322,6 @@ chioctl(dev, cmd, data, flags, p) sc->sc_picker = sc->sc_firsts[CHET_MT] + new_picker; break; } - case OCHIOGPARAMS: case CHIOGPARAMS: { struct changer_params *cp = (struct changer_params *)data; @@ -341,7 +332,6 @@ chioctl(dev, cmd, data, flags, p) cp->cp_ndrives = sc->sc_counts[CHET_DT]; break; } - case OCHIOGSTATUS: case CHIOGSTATUS: { struct changer_element_status *ces = (struct changer_element_status *)data; |