Re: IDE/ATAPI in 2.5

From: Vojtech Pavlik (vojtech@suse.cz)
Date: Tue Jul 16 2002 - 06:59:20 EST


On Tue, Jul 16, 2002 at 01:28:19PM +0200, Joerg Schilling wrote:

> It would help, if somebody would correct the current SCSI addressng scheme used
> in Linux. Linux currently uses something called BUS/channel/target/lun.
> This does not reflect reality.
>
> What Linux calls a SCSI bus is definitely not a SCSI bus but a SCSI HBA card.
> What Linux calls a channel really is one of possibly more SCSI busses going
> off one of the SCSI HBA cards. It makes sense to just count SCSI busses.

Well, no. It doesn't. Because the numbers will change if you add a card
(even at runtime - hotplugging USB SCSI is something real happening
today. And that'd be a very bad thing.

The way it'll be done is that you'll get the device physical path (see
driverfs) to the device, the device serial number and other identifiers
and then a hotplug/system configuration agent will choose a nice name
for it (completely configurable).

-- 
Vojtech Pavlik
SuSE Labs
-
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 : Tue Jul 23 2002 - 22:00:19 EST