lkml.org 
[lkml]   [2004]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectMMC block major dev
It seems that the MMC block layer hasn't been assigned a major number. 
The code registers the block dev with a uninitialized variable. It then
proceeds to create a mmc dir under devfs. Since I'm not using devfs this
then poses a problem.

Some debug statements revealed that the driver ended up on major number
254. I'm not familiar with how kernel memory is initialized but using an
uninitialized variable should result in random numbers. It seems to get
254 each time though. Can I count on this? (i.e. can I safely create
device node files with this major).

Rgds
Pierre Ossman

-
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: 2005-03-22 14:05    [W:0.054 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site