Re: [RFC/PATCH] usb-storage: wait for device scanning before mountingroot

From: Stefan Richter
Date: Thu Jun 19 2008 - 14:44:24 EST


Stefan Richter wrote:
The problem is AFAIU not exactly how many Scsi_Host instances (initiator port representations, or something remotely related to that) are instantiated, but rather _when_ they are instantiated. On multi protocol buses or networks like USB and FireWire, it makes sense to create the SCSI initiator port representation when we discovered that there are actually SCSI targets on the bus or network.

scsi_scan's API

scsi_wait_scan's API

is geared towards drivers which create one or more initiator port representations right up front before going on target discovery, right?
--
Stefan Richter
-=====-==--- -==- =--==
http://arcgraph.de/sr/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/