firewire: Add read/write and size annotations to IOC numbers.
authorKristian Høgsberg <krh@redhat.com>
Mon, 30 Apr 2007 19:03:13 +0000 (15:03 -0400)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Mon, 30 Apr 2007 21:08:13 +0000 (23:08 +0200)
commit4f2592232ea951e52b2faf1abf519e13856ac6f4
tree89553fc3f0f648cea71d7c4406b86a7658c30703
parent0b6aa3d0537104e86d80cde66192a0aa569e0bf4
firewire: Add read/write and size annotations to IOC numbers.

Also, with this change, refactor ioctl dispatch code to do the
copying from and to user space as indicated by the IOC annotations.

Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-device-cdev.c
drivers/firewire/fw-device-cdev.h