diff options
author | Boaz Harrosh <bharrosh@panasas.com> | 2008-02-12 12:35:22 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-02-13 10:32:05 -0500 |
commit | 61c92814dc324b541391757062ff02fbf3b08086 (patch) | |
tree | fce9e182263227ad761cf200cc1e34a6bb12bd3d | |
parent | c958d767dc79250583902a382275961b5da91a4d (diff) |
[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 <bharrosh@panasas.com>
Tested-by: Joerg Dorchain <joerg@dorchain.net>
Tested-by: Stefan Priebe <s.priebe@allied-internet.ag>
Tested-by: Jon Chelton <jchelton@ffpglobal.com>
Cc: Stable Tree <stable@kernel.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
-rw-r--r-- | drivers/scsi/gdth.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/scsi/gdth.c b/drivers/scsi/gdth.c index c82523908c2e..7079fef383ec 100644 --- a/drivers/scsi/gdth.c +++ b/drivers/scsi/gdth.c | |||
@@ -4836,6 +4836,9 @@ static int __init gdth_isa_probe_one(ulong32 isa_bios) | |||
4836 | if (error) | 4836 | if (error) |
4837 | goto out_free_coal_stat; | 4837 | goto out_free_coal_stat; |
4838 | list_add_tail(&ha->list, &gdth_instances); | 4838 | list_add_tail(&ha->list, &gdth_instances); |
4839 | |||
4840 | scsi_scan_host(shp); | ||
4841 | |||
4839 | return 0; | 4842 | return 0; |
4840 | 4843 | ||
4841 | out_free_coal_stat: | 4844 | out_free_coal_stat: |
@@ -4963,6 +4966,9 @@ static int __init gdth_eisa_probe_one(ushort eisa_slot) | |||
4963 | if (error) | 4966 | if (error) |
4964 | goto out_free_coal_stat; | 4967 | goto out_free_coal_stat; |
4965 | list_add_tail(&ha->list, &gdth_instances); | 4968 | list_add_tail(&ha->list, &gdth_instances); |
4969 | |||
4970 | scsi_scan_host(shp); | ||
4971 | |||
4966 | return 0; | 4972 | return 0; |
4967 | 4973 | ||
4968 | out_free_ccb_phys: | 4974 | out_free_ccb_phys: |
@@ -5100,6 +5106,9 @@ static int __init gdth_pci_probe_one(gdth_pci_str *pcistr, int ctr) | |||
5100 | if (error) | 5106 | if (error) |
5101 | goto out_free_coal_stat; | 5107 | goto out_free_coal_stat; |
5102 | list_add_tail(&ha->list, &gdth_instances); | 5108 | list_add_tail(&ha->list, &gdth_instances); |
5109 | |||
5110 | scsi_scan_host(shp); | ||
5111 | |||
5103 | return 0; | 5112 | return 0; |
5104 | 5113 | ||
5105 | out_free_coal_stat: | 5114 | out_free_coal_stat: |