Re: [PATCH] 2.5.5-pre1 IDE cleanup 9

From: arjan@fenrus.demon.nl
Date: Fri Feb 22 2002 - 15:32:14 EST


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/



This archive was generated by hypermail 2b29 : Sat Feb 23 2002 - 21:00:45 EST