linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fusion - adding support for FC949ES
@ 2006-01-13 23:25 Moore, Eric
  2006-01-14 11:31 ` Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: Moore, Eric @ 2006-01-13 23:25 UTC (permalink / raw)
  To: linux-scsi, hch, James.Bottomley

Add software recognition for the new LSI Logic Fibre Channel controller.

It relies on patch I posted yesterday:
http://marc.theaimsgroup.com/?l=linux-kernel&m=113710143305078&w=2

Signed-off-by: Eric Moore <Eric.Moore@lsil.com>

diff -uarN b/drivers/message/fusion/mptbase.c
a/drivers/message/fusion/mptbase.c
--- b/drivers/message/fusion/mptbase.c	2006-01-13 13:51:07.000000000
-0700
+++ a/drivers/message/fusion/mptbase.c	2006-01-13 15:42:07.000000000
-0700
@@ -1378,6 +1378,10 @@
 		ioc->bus_type = FC;
 		ioc->errata_flag_1064 = 1;
 	}
+	else if (pdev->device == MPI_MANUFACTPAGE_DEVICEID_FC949E) {
+		ioc->prod_name = "LSIFC949E";
+		ioc->bus_type = FC;
+	}
 	else if (pdev->device == MPI_MANUFACTPAGE_DEVID_53C1030) {
 		ioc->prod_name = "LSI53C1030";
 		ioc->bus_type = SPI;
diff -uarN b/drivers/message/fusion/mptfc.c
a/drivers/message/fusion/mptfc.c
--- b/drivers/message/fusion/mptfc.c	2006-01-13 13:51:07.000000000
-0700
+++ a/drivers/message/fusion/mptfc.c	2006-01-13 15:43:03.000000000
-0700
@@ -145,6 +145,8 @@
 		PCI_ANY_ID, PCI_ANY_ID },
 	{ PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_FC949X,
 		PCI_ANY_ID, PCI_ANY_ID },
+	{ PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_LSI_FC949ES,
+		PCI_ANY_ID, PCI_ANY_ID },
 	{0}	/* Terminating entry */
 };
 MODULE_DEVICE_TABLE(pci, mptfc_pci_table);

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

* Re: [PATCH] fusion - adding support for FC949ES
  2006-01-13 23:25 [PATCH] fusion - adding support for FC949ES Moore, Eric
@ 2006-01-14 11:31 ` Christoph Hellwig
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2006-01-14 11:31 UTC (permalink / raw)
  To: Moore, Eric; +Cc: linux-scsi, hch, James.Bottomley

On Fri, Jan 13, 2006 at 04:25:26PM -0700, Moore, Eric wrote:
> Add software recognition for the new LSI Logic Fibre Channel controller.
> 
> It relies on patch I posted yesterday:
> http://marc.theaimsgroup.com/?l=linux-kernel&m=113710143305078&w=2
> 
> Signed-off-by: Eric Moore <Eric.Moore@lsil.com>
> 
> diff -uarN b/drivers/message/fusion/mptbase.c
> a/drivers/message/fusion/mptbase.c
> --- b/drivers/message/fusion/mptbase.c	2006-01-13 13:51:07.000000000
> -0700
> +++ a/drivers/message/fusion/mptbase.c	2006-01-13 15:42:07.000000000
> -0700
> @@ -1378,6 +1378,10 @@
>  		ioc->bus_type = FC;
>  		ioc->errata_flag_1064 = 1;
>  	}
> +	else if (pdev->device == MPI_MANUFACTPAGE_DEVICEID_FC949E) {
> +		ioc->prod_name = "LSIFC949E";
> +		ioc->bus_type = FC;
> +	}
>  	else if (pdev->device == MPI_MANUFACTPAGE_DEVID_53C1030) {

Why is this (and the existing ids) using the ids from the lsi/ headers
and not from pci_ids.h?  looks a bit inconsistant, but let's go for this
variant for now..


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

end of thread, other threads:[~2006-01-14 11:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-13 23:25 [PATCH] fusion - adding support for FC949ES Moore, Eric
2006-01-14 11:31 ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).