There are good reasons for separating out the interface types. The
first is that it allows an interface driver (ide-cd, sr_mod and so on)
to manage a subdirectory. This makes the CD-ROM searching scheme I
outlined trivial to implement.
If you want to unify all controller numbers (at least IDE and SCSI),
then that requires a higher level of abstraction than we currently
have. Right now the IDE and SCSI code don't talk to a common base
(genhd is *not* a common base for *all* IDE and SCSI devices, before
anyone asks).
BTW: the scheme you outline is ugly, because you end up with a very
deep directory structure, with very few entries per directory. To find
all your SCSI discs (for example) becomes much harder. It's the other
extreme to the current mess of everything in /dev. I've gone for a
balance between these two extremes that is practical and is easy to
follow.
Regards,
Richard....
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/