mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[SCSI] gdth: scan for scsi devices
The patch: "gdth: switch to modern scsi host registration" missed one simple fact when moving a way from scsi_module.c. That is to call scsi_scan_host() on the probed host. With this the gdth driver from 2.6.24 is again able to see drives and boot. Signed-off-by: Boaz Harrosh <[email protected]> Tested-by: Joerg Dorchain <[email protected]> Tested-by: Stefan Priebe <[email protected]> Tested-by: Jon Chelton <[email protected]> Cc: Stable Tree <[email protected]> Signed-off-by: James Bottomley <[email protected]>
This commit is contained in:
parent
c958d767dc
commit
61c92814dc
1 changed files with 9 additions and 0 deletions
|
|
@ -4836,6 +4836,9 @@ static int __init gdth_isa_probe_one(ulong32 isa_bios)
|
|||
if (error)
|
||||
goto out_free_coal_stat;
|
||||
list_add_tail(&ha->list, &gdth_instances);
|
||||
|
||||
scsi_scan_host(shp);
|
||||
|
||||
return 0;
|
||||
|
||||
out_free_coal_stat:
|
||||
|
|
@ -4963,6 +4966,9 @@ static int __init gdth_eisa_probe_one(ushort eisa_slot)
|
|||
if (error)
|
||||
goto out_free_coal_stat;
|
||||
list_add_tail(&ha->list, &gdth_instances);
|
||||
|
||||
scsi_scan_host(shp);
|
||||
|
||||
return 0;
|
||||
|
||||
out_free_ccb_phys:
|
||||
|
|
@ -5100,6 +5106,9 @@ static int __init gdth_pci_probe_one(gdth_pci_str *pcistr, int ctr)
|
|||
if (error)
|
||||
goto out_free_coal_stat;
|
||||
list_add_tail(&ha->list, &gdth_instances);
|
||||
|
||||
scsi_scan_host(shp);
|
||||
|
||||
return 0;
|
||||
|
||||
out_free_coal_stat:
|
||||
|
|
|
|||
Loading…
Reference in a new issue