Re: dynamic arrival of scsi hosts...

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 8 Sep 2001 01:04:36 +0100 (BST)


> does the current linux 2.4.x series handle new controller additions.? I have
> seen the new pci hotplug
> interfaces, but iam not sure if the scsi midlayer can handle new controllers
> showing up.?

It can.

> for eg: if during scsi_register_host() i have just one controller. If i add
> another one after system is up, will this
> framework be able to handle this new controller in the mix? if there is a
> mechanism to do this
> what should the low level hba driver writer do to make this happen.?

Exactly as you are doing now. If you think about this its the same as
doing "insmod" of a scsi driver for an existing card. The pci hotplug events
occur in process context so you should have no problem

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