Linux SCSI subsystem development
 help / color / mirror / Atom feed
* [PATCH] drivers/scsi/mvsas: mvsas driver supported device list to inlcude Adaptec ASC-1045/1405 SAS/SATA Controllers
@ 2009-10-01 15:05 Yugendranath R Singh
  2009-10-01 15:27 ` James Bottomley
  0 siblings, 1 reply; 2+ messages in thread
From: Yugendranath R Singh @ 2009-10-01 15:05 UTC (permalink / raw)
  To: linux-scsi@vger.kernel.org; +Cc: James Bottomley, Ying Chu, Andy Yan, Ke Wei

Hi,
Please find the patch below which adds the Adaptec ASC 1045/1405 controllers to mvsas driver supported device list, for kernel version 2.6.31.1.

-----
diff -uprN a/linux-2.6.31.1/drivers/scsi/mvsas/mv_init.c b/linux-2.6.31.1/drivers/scsi/mvsas/mv_init.c
--- a/linux-2.6.31.1/drivers/scsi/mvsas/mv_init.c       2009-09-24 21:15:25.000000000 +0530
+++ b/linux-2.6.31.1/drivers/scsi/mvsas/mv_init.c       2009-10-02 00:03:53.000000000 +0530
@@ -653,6 +653,7 @@ static struct pci_device_id __devinitdat
        { PCI_VDEVICE(MARVELL, 0x6485), chip_6485 },
        { PCI_VDEVICE(MARVELL, 0x9480), chip_9480 },
        { PCI_VDEVICE(MARVELL, 0x9180), chip_9180 },
+       { PCI_VDEVICE(ADAPTEC2, 0x0450), chip_6440 },

        { }     /* terminate list */
 };
------

Thanks,
Yugen
HCL Tech.


DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have 
received this email in error please delete it and notify the sender immediately. Before opening any mail and 
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] drivers/scsi/mvsas: mvsas driver supported device list to inlcude Adaptec ASC-1045/1405 SAS/SATA Controllers
  2009-10-01 15:05 [PATCH] drivers/scsi/mvsas: mvsas driver supported device list to inlcude Adaptec ASC-1045/1405 SAS/SATA Controllers Yugendranath R Singh
@ 2009-10-01 15:27 ` James Bottomley
  0 siblings, 0 replies; 2+ messages in thread
From: James Bottomley @ 2009-10-01 15:27 UTC (permalink / raw)
  To: Yugendranath R Singh; +Cc: linux-scsi@vger.kernel.org, Andy Yan, Ke Wei

On Thu, 2009-10-01 at 20:35 +0530, Yugendranath R Singh wrote:
> Please find the patch below which adds the Adaptec ASC 1045/1405
> controllers to mvsas driver supported device list, for kernel version
> 2.6.31.1.

I think you need to read Documentation/SubmittingPatches first.

I need a Signed-off-by line

The patch also should be generated against either upstream or one of the
SCSI git trees.  Backporting to a stable tree is something that gets
done after the patch is upstream. (doesn't really matter in this case,
since the code is unchanged).

> -----
> diff -uprN a/linux-2.6.31.1/drivers/scsi/mvsas/mv_init.c b/linux-2.6.31.1/drivers/scsi/mvsas/mv_init.c
> --- a/linux-2.6.31.1/drivers/scsi/mvsas/mv_init.c       2009-09-24 21:15:25.000000000 +0530
> +++ b/linux-2.6.31.1/drivers/scsi/mvsas/mv_init.c       2009-10-02 00:03:53.000000000 +0530
> @@ -653,6 +653,7 @@ static struct pci_device_id __devinitdat
>         { PCI_VDEVICE(MARVELL, 0x6485), chip_6485 },
>         { PCI_VDEVICE(MARVELL, 0x9480), chip_9480 },
>         { PCI_VDEVICE(MARVELL, 0x9180), chip_9180 },
> +       { PCI_VDEVICE(ADAPTEC2, 0x0450), chip_6440 },
> 
>         { }     /* terminate list */
>  };

This patch actually won't apply (try it from the email list).  Your
mailer has converted the tabs to spaces and done other text mangling.
We have a file: Documentation/email-clients.txt that tries to advise on
the various mailer settings to make this work.  However, if you have
outlook, there's apparently nothing that can be done and you'll need to
attach the patch instead of inlining it.

James



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-01 15:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-01 15:05 [PATCH] drivers/scsi/mvsas: mvsas driver supported device list to inlcude Adaptec ASC-1045/1405 SAS/SATA Controllers Yugendranath R Singh
2009-10-01 15:27 ` James Bottomley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox