Messages in this thread | | | From | Itai Nahshon <> | Subject | Re: SCSI host numbers? | Date | Wed, 16 Jan 2002 11:47:54 +0200 |
| |
On Wednesday 16 January 2002 09:03 am, Richard Gooch wrote: > But if you load, unload and reload a host driver, and it's not listed > in scsihosts=, then won't it get a different host number each time?
In the fist time that it registers it is added to scsi_host_no_list (see code under "if (flag_new) {" in scsi/host.c). Than it will get the same number again every time.
scsi_host_no_list is discarded only when scsi_mod gets unloaded (that is if compiled as module).
-- Itai - 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/
| |