Re: [RFC API] Renumber subdev ioctls

2012-08-25 Thread Sakari Ailus
Hi Hans, On Wed, Aug 22, 2012 at 10:52:02AM +0200, Hans Verkuil wrote: > On Tue August 21 2012 12:44:15 Sakari Ailus wrote: > > Hi Hans, > > > > On Tue, Aug 21, 2012 at 08:39:53AM +0200, Hans Verkuil wrote: ... > > > Currently I've chosen ioctl numbers that are not used by V4L2 (there are a > > >

Re: [RFC API] Renumber subdev ioctls

2012-08-22 Thread Mauro Carvalho Chehab
Em 22-08-2012 05:52, Hans Verkuil escreveu: > On Tue August 21 2012 12:44:15 Sakari Ailus wrote: >> Hi Hans, >> >> On Tue, Aug 21, 2012 at 08:39:53AM +0200, Hans Verkuil wrote: >>> On Mon August 20 2012 22:46:04 Sakari Ailus wrote: Hi Mauro and Hans, On Mon, Aug 20, 2012 at 04:05:03P

Re: [RFC API] Renumber subdev ioctls

2012-08-22 Thread Hans Verkuil
On Tue August 21 2012 12:44:15 Sakari Ailus wrote: > Hi Hans, > > On Tue, Aug 21, 2012 at 08:39:53AM +0200, Hans Verkuil wrote: > > On Mon August 20 2012 22:46:04 Sakari Ailus wrote: > > > Hi Mauro and Hans, > > > > > > On Mon, Aug 20, 2012 at 04:05:03PM -0300, Mauro Carvalho Chehab wrote: > > >

Re: [RFC API] Renumber subdev ioctls

2012-08-21 Thread Sakari Ailus
Hi Laurent, On Tue, Aug 21, 2012 at 11:01:03AM +0200, Laurent Pinchart wrote: > > > videodev2.h, and if there was even a loosely corresponding IOCTL in V4L2 > > > then use the same number (e.g. formats vs. media bus pixel codes) and > > > otherwise something else. The "something else" case hasn't

Re: [RFC API] Renumber subdev ioctls

2012-08-21 Thread Sakari Ailus
Hi Hans, On Tue, Aug 21, 2012 at 08:39:53AM +0200, Hans Verkuil wrote: > On Mon August 20 2012 22:46:04 Sakari Ailus wrote: > > Hi Mauro and Hans, > > > > On Mon, Aug 20, 2012 at 04:05:03PM -0300, Mauro Carvalho Chehab wrote: > > > Em 20-08-2012 05:30, Hans Verkuil escreveu: > > > > Hi all! > > >

Re: [RFC API] Renumber subdev ioctls

2012-08-21 Thread Laurent Pinchart
Hi Hans, On Tuesday 21 August 2012 08:39:53 Hans Verkuil wrote: > On Mon August 20 2012 22:46:04 Sakari Ailus wrote: > > On Mon, Aug 20, 2012 at 04:05:03PM -0300, Mauro Carvalho Chehab wrote: > > > Em 20-08-2012 05:30, Hans Verkuil escreveu: > > > > Hi all! > > > > > > > > Recently I had to add t

Re: [RFC API] Renumber subdev ioctls

2012-08-20 Thread Hans Verkuil
On Mon August 20 2012 22:46:04 Sakari Ailus wrote: > Hi Mauro and Hans, > > On Mon, Aug 20, 2012 at 04:05:03PM -0300, Mauro Carvalho Chehab wrote: > > Em 20-08-2012 05:30, Hans Verkuil escreveu: > > > Hi all! > > > > > > Recently I had to add two new ioctls for the subdev API > > > (include/linu

Re: [RFC API] Renumber subdev ioctls

2012-08-20 Thread Sakari Ailus
Hi Mauro and Hans, On Mon, Aug 20, 2012 at 04:05:03PM -0300, Mauro Carvalho Chehab wrote: > Em 20-08-2012 05:30, Hans Verkuil escreveu: > > Hi all! > > > > Recently I had to add two new ioctls for the subdev API > > (include/linux/v4l2-subdev.h) > > and I noticed that the numbering of the ioctls

Re: [RFC API] Renumber subdev ioctls

2012-08-20 Thread Mauro Carvalho Chehab
Em 20-08-2012 05:30, Hans Verkuil escreveu: > Hi all! > > Recently I had to add two new ioctls for the subdev API > (include/linux/v4l2-subdev.h) > and I noticed that the numbering of the ioctls was somewhat random. > > In most cases the ioctl number was the same as the V4L2 API counterpart, but

[RFC API] Renumber subdev ioctls

2012-08-20 Thread Hans Verkuil
Hi all! Recently I had to add two new ioctls for the subdev API (include/linux/v4l2-subdev.h) and I noticed that the numbering of the ioctls was somewhat random. In most cases the ioctl number was the same as the V4L2 API counterpart, but for subdev-specific ioctls no rule exists. There are a f