From: Mike Anderson <andmike@us.ibm.com>
To: James Bottomley <James.Bottomley@SteelEye.com>
Cc: linux-scsi <linux-scsi@vger.kernel.org>,
Alexis Bruemmer <alexisb@us.ibm.com>,
"Tarte, Robert" <Robert_Tarte@adaptec.com>
Subject: Re: aic94xx status
Date: Mon, 10 Jul 2006 09:09:15 -0700 [thread overview]
Message-ID: <20060710160915.GA30179@us.ibm.com> (raw)
In-Reply-To: <1152376067.12020.26.camel@mulgrave.il.steeleye.com>
James Bottomley <James.Bottomley@SteelEye.com> wrote:
> 1) SATA support. We at least need this stubbed out so seeing a SATA
> device won't cause nasty things to happen (IBM is working on this).
> Ideally, we need to integrate this driver with Brian King's SATA/SAS
> code, but no-one who has this board has a sata device and vice versa.
>
Currently I am running a loaned SATA drive with the patch below. It just
generates the "Unidentified device type" type message when it detects a
SATA device and appears in my configuration to not cause any bad things to
happen.
-andmike
--
Michael Anderson
andmike@us.ibm.com
Do not drop phy_list_lock is we have not taken it. Also added a SATA_DEV
case as marker for future calls.
Signed-off-by: Mike Anderson <andmike@us.ibm.com>
drivers/scsi/sas/sas_discover.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: aic94xx-sas-2.6-patched/drivers/scsi/sas/sas_discover.c
===================================================================
--- aic94xx-sas-2.6-patched.orig/drivers/scsi/sas/sas_discover.c 2006-06-23 11:12:01.000000000 -0700
+++ aic94xx-sas-2.6-patched/drivers/scsi/sas/sas_discover.c 2006-07-05 13:19:20.000000000 -0700
@@ -265,6 +265,7 @@ static int sas_get_port_device(struct as
rphy = sas_expander_alloc(port->port,
SAS_FANOUT_EXPANDER_DEVICE);
break;
+ case SATA_DEV:
default:
printk("ERROR: Unidentified device type %d\n", dev->dev_type);
rphy = NULL;
@@ -272,7 +273,6 @@ static int sas_get_port_device(struct as
}
if (!rphy) {
- spin_unlock_irqrestore(&port->phy_list_lock, flags);
kfree(dev);
return -ENODEV;
}
next prev parent reply other threads:[~2006-07-10 16:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-08 16:27 aic94xx status James Bottomley
2006-07-10 16:09 ` Mike Anderson [this message]
2006-07-10 16:27 ` James Bottomley
2006-07-11 5:07 ` Mike Anderson
-- strict thread matches above, loose matches on Subject: below --
2006-07-11 8:32 Robert Tarte
2006-07-20 14:39 ` Brian King
2006-07-20 18:39 ` Luben Tuikov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060710160915.GA30179@us.ibm.com \
--to=andmike@us.ibm.com \
--cc=James.Bottomley@SteelEye.com \
--cc=Robert_Tarte@adaptec.com \
--cc=alexisb@us.ibm.com \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.