Skip to contentSkip to conversation

Registering ioctl number for hid-roccat chardev

PATCH In review Stefan Achatz 2 participants 2 messages Jan 28, 2011 Documentation

lore
Share & tools
lore
#0 lore raw

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
index 63ffd78..99cd8d9c 100644
@@ -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
#1 lore raw
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 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 +0 -0
index 63ffd78..99cd8d9c 100644

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 ***