Registering ioctl number for hid-roccat chardev
PATCH 1/1 Registering ioctl number for hid-roccat chardev
I'd like to add an ioctl to my already existing hid-roccat chardev so that clients can inquire the report size. This would be needed for planned enhancements.
The header actually resides in drivers/hid/hid-roccat.h and it is planned to move and rename it to /include/linux/roccat.h along with the ioctl implementation.
This patch is to register the number and development will begin as soon as my choice is found to be good.
--- Documentation/ioctl/ioctl-number.txt | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
Documentation/ioctl/ioctl-number.txt +1 -0
@@ -133,6 +133,7 @@ Code Seq#(hex) Include File Comments 'H' C0-DF net/bluetooth/hidp/hidp.h conflict! 'H' C0-DF net/bluetooth/cmtp/cmtp.h conflict! 'H' C0-DF net/bluetooth/bnep/bnep.h conflict! +'H' F1 linux/roccat.h <mailto:[email protected]> 'I' all linux/isdn.h conflict! 'I' 00-0F drivers/isdn/divert/isdn_divert.h conflict! 'I' 40-4F linux/mISDNif.h conflict!
Signature · 1 line
1.7.3.4
Quoted 20 lines · On Fri, 28 Jan 2011 18:31:50 +0100 Stefan Achatz wrote:
I'd like to add an ioctl to my already existing hid-roccat chardev so that clients can inquire the report size. This would be needed for planned enhancements.
The header actually resides indrivers/hid/hid-roccat.hand it is planned to move and rename it to /include/linux/roccat.h along with the ioctl implementation.
This patch is to register the number and development will begin as soon as my choice is found to be good.Signed-off-by Stefan Achatz <[email protected]>--- Documentation/ioctl/ioctl-number.txt | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)Documentation/ioctl/ioctl-number.txt +0
-0
Documentation/ioctl/ioctl-number.txt Code Seq#(hex) Include File Comments · line 139
Quoted 7 lines
Documentation/ioctl/ioctl-number.txt +1
-0@@ -133,6 +133,7 @@ Code Seq#(hex) Include File Comments 'H' C0-DF net/bluetooth/hidp/hidp.h conflict! 'H' C0-DF net/bluetooth/cmtp/cmtp.h conflict! 'H' C0-DF net/bluetooth/bnep/bnep.h conflict! +'H' F1 linux/roccat.h <mailto:[email protected]> 'I' all linux/isdn.h conflict! 'I' 00-0F drivers/isdn/divert/isdn_divert.h conflict! 'I' 40-4F linux/mISDNif.h conflict!
This part is fine. Just include this patch when you add the ioctl handling.
I can't find include/linux/roccat.h... Where is it?
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***