mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Stupid question re: register_cdrom()
@ 2004-04-05 20:53 Calin A. Culianu
  2004-04-05 23:03 ` Tony Breeds
  0 siblings, 1 reply; 4+ messages in thread
From: Calin A. Culianu @ 2004-04-05 20:53 UTC (permalink / raw)
  To: linux-kernel


Let's say I was coding a cdrom emulator in software for kernel 2.4.  I
am unclear about register_cdrom().  Does register_cdrom() in
cdrom.c take care of telling the kernel that my kdev_t major/minor
combination in fact leads to a real driver?  Or do I need to take care of
that outside of regsiter_cdrom()?

If not.. how do I tell the kernel data structures that my driver's major
number does in fact point to a cdrom driver.  Basically, I want my
driver's major number to show up in /proc/devices..

This might be a stupid question, but I am not a linux kernel expert...

Thanks for your patience!

-Calin


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

end of thread, other threads:[~2004-04-06 18:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-05 20:53 Stupid question re: register_cdrom() Calin A. Culianu
2004-04-05 23:03 ` Tony Breeds
2004-04-06  3:03   ` Calin A. Culianu
2004-04-06 18:45   ` Calin A. Culianu

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

all inboxes | Powered by JetHome®