summaryrefslogtreecommitdiff
path: root/sys/stand
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2006-05-28 07:07:10 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2006-05-28 07:07:10 +0000
commit21adb0b0cbee1f4da356e4a9e813154a5306c469 (patch)
tree5834f18bfc6bae140eff655ffc818bfdfefbb867 /sys/stand
parent59ebc13934e5baa16d4d2f2325712e16e26f739d (diff)
Use bit 23 of the device minor to indicate a control mode device. A
control mode device can be opened but does not permit any i/o. Currently no such devices are created by MAKEDEV. However the previous code used bits 0 and 1 of the minor being set to indicate a control device. This conflicted with other uses of device minors to indicate things like rewind and eject. This behaviour would result in an open of a newly loaded tape drive failing until the tape was successfully mounted as a side effect of another command like 'mt status'. ok beck@
Diffstat (limited to 'sys/stand')
0 files changed, 0 insertions, 0 deletions