[lkml]   [2002]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] devexit fixes in i82092.c
Linus Torvalds wrote:

>We could make one of the methods be "startup", of course, and move the
>actual device initialization there (and leave just the "find driver" in
>the initcall logic), but that would not get rid of the initcalls, it would
>just split them into two parts.
doing this has been mentioned independently a couple times, in fact...

And this may be a tangent, or maybe not: like I was trying to explain
to Gerard about regarding SCSI devices, it is often valuable to separate
the two steps. Gerard complained about the new PCI API not being able
to register devices (_register_, not probe) in the order he wished. And
my response was... sure you can. Just break it up into two steps, find
devices, and register devices. The ordering of the register calls in
the second step are entirely up the driver and/or subsystem. Similarly,
the IDE subsystem could handle the mapping of the BIOS-ordered
/dev/hd[a-d] completely independently of probing and registering hosts
and devices. [which, in turn, is useful in moving to a more dynamic
/dev among other things] Right now the IDE probe order is a bit
delicate, and full of hueristics that could be cleaned up with such a

Jeff, in a rambling mood

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:21    [W:0.103 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site