lkml.org 
[lkml]   [2006]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC]: add sysfs support to parport_pc, v3
>> somewhere?
> Good question. The answer is I have no idea. I booted Fedora Core and I did a
> ls -l /dev and wrote down the specs for lp0 and parport0. lp0 looked like
> crw-rw---- root lp 6, 0 date lp0 so that is what I used. After reading
> Linux Device Drivers I found out that 6 is the major number and 0 is the minor
> number. The goal was to make sure that the nodes generated by my patch were
> the same as the nodes generated before my patch so I used those numbers.
> Should I have used different major numbers?

You should have at least used the constants from <linux/major.h>


Jan Engelhardt
--
| Alphagate Systems, http://alphagate.hopto.org/
| jengelh's site, http://jengelh.hopto.org/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-01-04 10:17    [W:0.069 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site