Re: [PATCH] 2.5.5-pre1 IDE cleanup 9

arjan@fenrus.demon.nl
Fri, 22 Feb 2002 20:32:14 GMT


In article <Pine.LNX.4.10.10202221204400.2519-100000@master.linux-ide.org> you wrote:

> SCSI/ATA share the same problem IIRC, the host/chipset drivers load all
> the device hosts who match that driver code.

> What am I missing?

I know that for scsi it can be fixed. Ok the current scsi layer doesn't do
it right, but there's nothing that prevents it in principle.

Eg

PCI code sees a PCI ID, calls probe for the chip
chip driver looks and sees 2 "cables" and creates host structures for
each.
per host drive discovery is done and registered with a (thin) generic
"I am a disk, gimme a major/minor" layer.

That ought to work. And on hotplug your probe just get called again...


-
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/