DragonFly bugs List (threaded) for 2008-12
DragonFly BSD
DragonFly bugs List (threaded) for 2008-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[issue1186] LSI FC929X Support in MPT


From: Ben Matthews <sinknull@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 23 Dec 2008 03:12:31 -0000

New submission from Ben Matthews <matthb2@scorec.rpi.edu>:

Based on the FreeBSD Changelog, the FC929X is the same as the FC929 (except for
the bus). This patch works for us with an older ATABoy disk array (adds the
product code for the FC929X).

----------
files: lsifc929x.diff
messages: 5673
nosy: matthb2
priority: feature
status: unread
title: LSI FC929X Support in MPT

_____________________________________________________
DragonFly issue tracker <bugs@lists.dragonflybsd.org>
<https://bugs.dragonflybsd.org/issue1186>
_____________________________________________________
diff --git a/sys/bus/pci/pcidevs.h b/sys/bus/pci/pcidevs.h
index 585db06..3e79ef3 100644
--- a/sys/bus/pci/pcidevs.h
+++ b/sys/bus/pci/pcidevs.h
@@ -2102,6 +2102,7 @@
 #define	PCI_PRODUCT_SYMBIOS_FC909A	0x0621		/* FC909A */
 #define	PCI_PRODUCT_SYMBIOS_FC929	0x0622		/* FC929 */
 #define	PCI_PRODUCT_SYMBIOS_FC929_1	0x0623		/* FC929 */
+#define PCI_PRODUCT_SYMBIOS_FC929X      0X0626          /* FC929X */
 #define	PCI_PRODUCT_SYMBIOS_FC919	0x0624		/* FC919 */
 #define	PCI_PRODUCT_SYMBIOS_FC919_1	0x0625		/* FC919 */
 
diff --git a/sys/dev/disk/mpt/mpt_pci.c b/sys/dev/disk/mpt/mpt_pci.c
index ad325dc..a4e9e0d 100644
--- a/sys/dev/disk/mpt/mpt_pci.c
+++ b/sys/dev/disk/mpt/mpt_pci.c
@@ -130,6 +130,9 @@ mpt_probe(device_t dev)
 	case PCI_PRODUCT_SYMBIOS_FC929:
 		desc = "LSILogic FC929 FC Adapter";
 		break;
+	case PCI_PRODUCT_SYMBIOS_FC929X:
+		desc = "LSILogic FC929X FC Adapter";
+		break;
 	case PCI_PRODUCT_SYMBIOS_1030:
 		desc = "LSILogic 1030 Ultra4 Adapter";
 		break;
@@ -215,6 +218,9 @@ mpt_attach(device_t dev)
 	case PCI_PRODUCT_SYMBIOS_FC929:
 		mpt->is_fc = 1;
 		break;
+	case PCI_PRODUCT_SYMBIOS_FC929X:
+		mpt->is_fc = 1;
+		break;
 	default:
 		break;
 	}
@@ -251,6 +257,7 @@ mpt_attach(device_t dev)
 	 * If so, link with our partner (around yet)
 	 */
 	if ((pci_get_device(dev) & ~1) == PCI_PRODUCT_SYMBIOS_FC929 ||
+	    (pci_get_device(dev) & ~1) == PCI_PRODUCT_SYMBIOS_FC929X ||
 	    (pci_get_device(dev) & ~1) == PCI_PRODUCT_SYMBIOS_1030) {
 		mpt_link_peer(mpt);
 	}


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]