lkml.org 
[lkml]   [2008]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 01/18] lirc core device driver infrastructure
Hi,

on 09 Sep 08 at 13:03, Jarod Wilson wrote:
> On Tuesday 09 September 2008 03:40:18 Sebastian Siewior wrote:
[...]
>>>+EXTRA_CFLAGS =-DIRCTL_DEV_MAJOR=61 -DLIRC_SERIAL_TRANSMITTER -I$(src)
>>
>> Do you rely on this specific major? Since your daemon opens /dev/lirc0
>> you don't need a fixed major do you?

> Good question. Quite honestly, I'm not sure. Christoph?

LIRC does not rely on a specific major. But to be honest, the last time I
looked into this issue, was when devfs was bleeding-edge...

So, we need some advice here how to proceed. Should we try to register an
official major number for LIRC? Should we try to have a minor number
mapping, e.g.
/dev/lirc/serial/0 LIRC device on 1st UART serial port
...
/dev/lirc/serial/n LIRC device on n-th UART serial port
/dev/lirc/parallel/0 LIRC device on 1st parallel port
...
/dev/lirc/parallel/n LIRC device on n-th parallel port
/dev/lirc/usb/0 1st LIRC USB device
...

Christoph


\
 
 \ /
  Last update: 2008-09-11 20:37    [W:0.121 / U:0.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site