summaryrefslogtreecommitdiffstats
path: root/include/linux/parport.h
diff options
context:
space:
mode:
authorMarko Kohtala2006-01-08 10:05:06 +0100
committerLinus Torvalds2006-01-09 05:14:07 +0100
commitd8a33496671e4533aed090793436d58debea6f3a (patch)
tree12f8732787f815941c8151123988e709a54e19b3 /include/linux/parport.h
parent[PATCH] parport_pc: arm build fix (diff)
downloadkernel-qcow2-linux-d8a33496671e4533aed090793436d58debea6f3a.tar.gz
kernel-qcow2-linux-d8a33496671e4533aed090793436d58debea6f3a.tar.xz
kernel-qcow2-linux-d8a33496671e4533aed090793436d58debea6f3a.zip
[PATCH] parport: bring back an unused phase for ppdev ioctl
Earlier fix removed unused phase, but that changed the values for other phases. Since these are exposed to userspace through ppdev, it is safer not to change them. Restore the unused phase value. Signed-off-by: Marko Kohtala <marko.kohtala@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/parport.h')
-rw-r--r--include/linux/parport.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/parport.h b/include/linux/parport.h
index f7ff0b0c4031..f67f838a3a1f 100644
--- a/include/linux/parport.h
+++ b/include/linux/parport.h
@@ -236,12 +236,14 @@ struct pardevice {
/* IEEE1284 information */
-/* IEEE1284 phases */
+/* IEEE1284 phases. These are exposed to userland through ppdev IOCTL
+ * PP[GS]ETPHASE, so do not change existing values. */
enum ieee1284_phase {
IEEE1284_PH_FWD_DATA,
IEEE1284_PH_FWD_IDLE,
IEEE1284_PH_TERMINATE,
IEEE1284_PH_NEGOTIATION,
+ IEEE1284_PH_HBUSY_DNA,
IEEE1284_PH_REV_IDLE,
IEEE1284_PH_HBUSY_DAVAIL,
IEEE1284_PH_REV_DATA,