[lkml]   [2002]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: SCSI host numbers?
    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
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:23    [W:0.025 / U:53.696 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site