All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Registering ioctl number for hid-roccat chardev
@ 2011-01-28 17:31 Stefan Achatz
  2011-01-28 17:50 ` Randy Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Achatz @ 2011-01-28 17:31 UTC (permalink / raw)
  To: Randy Dunlap, Greg Kroah-Hartman, Thomas Weber, Mike Frysinger,
	Stefan Richter, Jiri Kosina, linux-doc, linux-kernel

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.

Signed-off-by: Stefan Achatz <erazor_de@users.sourceforge.net>
---
 Documentation/ioctl/ioctl-number.txt |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Documentation/ioctl/ioctl-number.txt b/Documentation/ioctl/ioctl-number.txt
index 63ffd78..99cd8d9c 100644
--- a/Documentation/ioctl/ioctl-number.txt
+++ b/Documentation/ioctl/ioctl-number.txt
@@ -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:erazor_de@users.sourceforge.net>
 'I'	all	linux/isdn.h		conflict!
 'I'	00-0F	drivers/isdn/divert/isdn_divert.h	conflict!
 'I'	40-4F	linux/mISDNif.h		conflict!
-- 
1.7.3.4




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Registering ioctl number for hid-roccat chardev
  2011-01-28 17:31 [PATCH] Registering ioctl number for hid-roccat chardev Stefan Achatz
@ 2011-01-28 17:50 ` Randy Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2011-01-28 17:50 UTC (permalink / raw)
  To: erazor_de
  Cc: Greg Kroah-Hartman, Thomas Weber, Mike Frysinger, Stefan Richter,
	Jiri Kosina, linux-doc, linux-kernel

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.
> 
> Signed-off-by: Stefan Achatz <erazor_de@users.sourceforge.net>
> ---
>  Documentation/ioctl/ioctl-number.txt |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/Documentation/ioctl/ioctl-number.txt b/Documentation/ioctl/ioctl-number.txt
> index 63ffd78..99cd8d9c 100644
> --- a/Documentation/ioctl/ioctl-number.txt
> +++ b/Documentation/ioctl/ioctl-number.txt
> @@ -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:erazor_de@users.sourceforge.net>
>  '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 ***

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-28 17:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-28 17:31 [PATCH] Registering ioctl number for hid-roccat chardev Stefan Achatz
2011-01-28 17:50 ` Randy Dunlap

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.