Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763059AbYBLRge (ORCPT ); Tue, 12 Feb 2008 12:36:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759307AbYBLRgZ (ORCPT ); Tue, 12 Feb 2008 12:36:25 -0500 Received: from bzq-219-195-70.pop.bezeqint.net ([62.219.195.70]:52058 "EHLO bh-buildlin2.bhalevy.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756945AbYBLRgY (ORCPT ); Tue, 12 Feb 2008 12:36:24 -0500 Message-ID: <47B1D8DA.6000109@panasas.com> Date: Tue, 12 Feb 2008 19:35:22 +0200 From: Boaz Harrosh User-Agent: Thunderbird 2.0.0.9 (X11/20071031) MIME-Version: 1.0 To: =?ISO-8859-15?Q?Sven_K=F6hler?= , linux-scsi <"linux-scsi"@vger.kernel.org>, James Bottomley <"James.Bottomley"@HansenPartnership.com>, Christoph Hellwig , Jeff Garzik CC: linux-scsi , James Bottomley , linux-kernel@vger.kernel.org, Joerg Dorchain , Jon Chelton , Stefan Priebe - allied internet ag Subject: [BUGFIX 1/2] gdth: scan for scsi devices References: <47A19E26.30107@panasas.com> <47B1D7A8.8010108@panasas.com> In-Reply-To: <47B1D7A8.8010108@panasas.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1634 Lines: 59 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 Tested-by: Joerg Dorchain: Tested-by: Stefan Priebe Tested-by: Jon Chelton --- 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 b253b8c..8eb78be 100644 --- a/drivers/scsi/gdth.c +++ b/drivers/scsi/gdth.c @@ -4838,6 +4838,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: @@ -4965,6 +4968,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: @@ -5102,6 +5108,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: -- 1.5.3.3 -- 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/