public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* MMC block major dev
@ 2004-08-31 19:13 Pierre Ossman
  2004-08-31 19:15 ` Russell King
  2004-09-01 12:18 ` Alan Cox
  0 siblings, 2 replies; 7+ messages in thread
From: Pierre Ossman @ 2004-08-31 19:13 UTC (permalink / raw)
  To: Russell King, linux-kernel

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


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

end of thread, other threads:[~2004-09-01 22:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-31 19:13 MMC block major dev Pierre Ossman
2004-08-31 19:15 ` Russell King
2004-08-31 19:47   ` Pierre Ossman
2004-09-01 12:16     ` Alan Cox
2004-09-01 21:55       ` Russell King
2004-09-01 21:28         ` Alan Cox
2004-09-01 12:18 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox