diff options
author | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-01-31 12:24:00 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-01-31 12:24:00 -0500 |
commit | 30716e07ef511ec7525c07eb1e8060ba8943c2a2 (patch) | |
tree | eb6a47cae63d3587fa773cc5a16781eaa2c7810b /drivers/message | |
parent | 03c79cc56e4497cbd09d74a73c1bd0d1d9a8a16c (diff) | |
parent | f56df2f4db6e4af87fb8e941cff69f4501a111df (diff) |
Merge branch 'linus'
Diffstat (limited to 'drivers/message')
-rw-r--r-- | drivers/message/fusion/mptbase.c | 3 | ||||
-rw-r--r-- | drivers/message/fusion/mptbase.h | 10 | ||||
-rw-r--r-- | drivers/message/fusion/mptctl.c | 5 | ||||
-rw-r--r-- | drivers/message/fusion/mptctl.h | 2 | ||||
-rw-r--r-- | drivers/message/fusion/mptfc.c | 3 | ||||
-rw-r--r-- | drivers/message/fusion/mptlan.c | 4 | ||||
-rw-r--r-- | drivers/message/fusion/mptlan.h | 2 | ||||
-rw-r--r-- | drivers/message/fusion/mptsas.c | 38 | ||||
-rw-r--r-- | drivers/message/fusion/mptscsih.c | 19 | ||||
-rw-r--r-- | drivers/message/fusion/mptscsih.h | 2 | ||||
-rw-r--r-- | drivers/message/fusion/mptspi.c | 3 |
11 files changed, 57 insertions, 34 deletions
diff --git a/drivers/message/fusion/mptbase.c b/drivers/message/fusion/mptbase.c index 6e068cf1049b..b3f28a03b6a9 100644 --- a/drivers/message/fusion/mptbase.c +++ b/drivers/message/fusion/mptbase.c | |||
@@ -5,7 +5,7 @@ | |||
5 | * For use with LSI Logic PCI chip/adapter(s) | 5 | * For use with LSI Logic PCI chip/adapter(s) |
6 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. | 6 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. |
7 | * | 7 | * |
8 | * Copyright (c) 1999-2005 LSI Logic Corporation | 8 | * Copyright (c) 1999-2007 LSI Logic Corporation |
9 | * (mailto:mpt_linux_developer@lsil.com) | 9 | * (mailto:mpt_linux_developer@lsil.com) |
10 | * | 10 | * |
11 | */ | 11 | */ |
@@ -73,6 +73,7 @@ | |||
73 | MODULE_AUTHOR(MODULEAUTHOR); | 73 | MODULE_AUTHOR(MODULEAUTHOR); |
74 | MODULE_DESCRIPTION(my_NAME); | 74 | MODULE_DESCRIPTION(my_NAME); |
75 | MODULE_LICENSE("GPL"); | 75 | MODULE_LICENSE("GPL"); |
76 | MODULE_VERSION(my_VERSION); | ||
76 | 77 | ||
77 | /* | 78 | /* |
78 | * cmd line parameters | 79 | * cmd line parameters |
diff --git a/drivers/message/fusion/mptbase.h b/drivers/message/fusion/mptbase.h index a4afad4ecab2..e316708f76bd 100644 --- a/drivers/message/fusion/mptbase.h +++ b/drivers/message/fusion/mptbase.h | |||
@@ -5,7 +5,7 @@ | |||
5 | * LSIFC9xx/LSI409xx Fibre Channel | 5 | * LSIFC9xx/LSI409xx Fibre Channel |
6 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. | 6 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. |
7 | * | 7 | * |
8 | * Copyright (c) 1999-2005 LSI Logic Corporation | 8 | * Copyright (c) 1999-2007 LSI Logic Corporation |
9 | * (mailto:mpt_linux_developer@lsil.com) | 9 | * (mailto:mpt_linux_developer@lsil.com) |
10 | * | 10 | * |
11 | */ | 11 | */ |
@@ -72,11 +72,11 @@ | |||
72 | #endif | 72 | #endif |
73 | 73 | ||
74 | #ifndef COPYRIGHT | 74 | #ifndef COPYRIGHT |
75 | #define COPYRIGHT "Copyright (c) 1999-2005 " MODULEAUTHOR | 75 | #define COPYRIGHT "Copyright (c) 1999-2007 " MODULEAUTHOR |
76 | #endif | 76 | #endif |
77 | 77 | ||
78 | #define MPT_LINUX_VERSION_COMMON "3.04.02" | 78 | #define MPT_LINUX_VERSION_COMMON "3.04.03" |
79 | #define MPT_LINUX_PACKAGE_NAME "@(#)mptlinux-3.04.02" | 79 | #define MPT_LINUX_PACKAGE_NAME "@(#)mptlinux-3.04.03" |
80 | #define WHAT_MAGIC_STRING "@" "(" "#" ")" | 80 | #define WHAT_MAGIC_STRING "@" "(" "#" ")" |
81 | 81 | ||
82 | #define show_mptmod_ver(s,ver) \ | 82 | #define show_mptmod_ver(s,ver) \ |
@@ -1059,7 +1059,7 @@ extern int mpt_stm_index; /* needed by mptstm.c */ | |||
1059 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 1059 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
1060 | #endif /* } __KERNEL__ */ | 1060 | #endif /* } __KERNEL__ */ |
1061 | 1061 | ||
1062 | #if defined(__alpha__) || defined(__sparc_v9__) || defined(__ia64__) || defined(__x86_64__) | 1062 | #if defined(__alpha__) || defined(__sparc_v9__) || defined(__ia64__) || defined(__x86_64__) || defined(__powerpc__) |
1063 | #define CAST_U32_TO_PTR(x) ((void *)(u64)x) | 1063 | #define CAST_U32_TO_PTR(x) ((void *)(u64)x) |
1064 | #define CAST_PTR_TO_U32(x) ((u32)(u64)x) | 1064 | #define CAST_PTR_TO_U32(x) ((u32)(u64)x) |
1065 | #else | 1065 | #else |
diff --git a/drivers/message/fusion/mptctl.c b/drivers/message/fusion/mptctl.c index 30975ccd9947..504632da4347 100644 --- a/drivers/message/fusion/mptctl.c +++ b/drivers/message/fusion/mptctl.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * For use with LSI Logic PCI chip/adapters | 4 | * For use with LSI Logic PCI chip/adapters |
5 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. | 5 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. |
6 | * | 6 | * |
7 | * Copyright (c) 1999-2005 LSI Logic Corporation | 7 | * Copyright (c) 1999-2007 LSI Logic Corporation |
8 | * (mailto:mpt_linux_developer@lsil.com) | 8 | * (mailto:mpt_linux_developer@lsil.com) |
9 | * | 9 | * |
10 | */ | 10 | */ |
@@ -66,7 +66,7 @@ | |||
66 | #include <scsi/scsi_host.h> | 66 | #include <scsi/scsi_host.h> |
67 | #include <scsi/scsi_tcq.h> | 67 | #include <scsi/scsi_tcq.h> |
68 | 68 | ||
69 | #define COPYRIGHT "Copyright (c) 1999-2005 LSI Logic Corporation" | 69 | #define COPYRIGHT "Copyright (c) 1999-2007 LSI Logic Corporation" |
70 | #define MODULEAUTHOR "LSI Logic Corporation" | 70 | #define MODULEAUTHOR "LSI Logic Corporation" |
71 | #include "mptbase.h" | 71 | #include "mptbase.h" |
72 | #include "mptctl.h" | 72 | #include "mptctl.h" |
@@ -79,6 +79,7 @@ | |||
79 | MODULE_AUTHOR(MODULEAUTHOR); | 79 | MODULE_AUTHOR(MODULEAUTHOR); |
80 | MODULE_DESCRIPTION(my_NAME); | 80 | MODULE_DESCRIPTION(my_NAME); |
81 | MODULE_LICENSE("GPL"); | 81 | MODULE_LICENSE("GPL"); |
82 | MODULE_VERSION(my_VERSION); | ||
82 | 83 | ||
83 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 84 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
84 | 85 | ||
diff --git a/drivers/message/fusion/mptctl.h b/drivers/message/fusion/mptctl.h index 043941882c6e..e65a1cf5eb0b 100644 --- a/drivers/message/fusion/mptctl.h +++ b/drivers/message/fusion/mptctl.h | |||
@@ -5,7 +5,7 @@ | |||
5 | * LSIFC9xx/LSI409xx Fibre Channel | 5 | * LSIFC9xx/LSI409xx Fibre Channel |
6 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. | 6 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. |
7 | * | 7 | * |
8 | * Copyright (c) 1999-2005 LSI Logic Corporation | 8 | * Copyright (c) 1999-2007 LSI Logic Corporation |
9 | * (mailto:mpt_linux_developer@lsil.com) | 9 | * (mailto:mpt_linux_developer@lsil.com) |
10 | * | 10 | * |
11 | */ | 11 | */ |
diff --git a/drivers/message/fusion/mptfc.c b/drivers/message/fusion/mptfc.c index ca2f9107f145..c819c23b55b1 100644 --- a/drivers/message/fusion/mptfc.c +++ b/drivers/message/fusion/mptfc.c | |||
@@ -3,7 +3,7 @@ | |||
3 | * For use with LSI Logic PCI chip/adapter(s) | 3 | * For use with LSI Logic PCI chip/adapter(s) |
4 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. | 4 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. |
5 | * | 5 | * |
6 | * Copyright (c) 1999-2005 LSI Logic Corporation | 6 | * Copyright (c) 1999-2007 LSI Logic Corporation |
7 | * (mailto:mpt_linux_developer@lsil.com) | 7 | * (mailto:mpt_linux_developer@lsil.com) |
8 | * | 8 | * |
9 | */ | 9 | */ |
@@ -75,6 +75,7 @@ | |||
75 | MODULE_AUTHOR(MODULEAUTHOR); | 75 | MODULE_AUTHOR(MODULEAUTHOR); |
76 | MODULE_DESCRIPTION(my_NAME); | 76 | MODULE_DESCRIPTION(my_NAME); |
77 | MODULE_LICENSE("GPL"); | 77 | MODULE_LICENSE("GPL"); |
78 | MODULE_VERSION(my_VERSION); | ||
78 | 79 | ||
79 | /* Command line args */ | 80 | /* Command line args */ |
80 | #define MPTFC_DEV_LOSS_TMO (60) | 81 | #define MPTFC_DEV_LOSS_TMO (60) |
diff --git a/drivers/message/fusion/mptlan.c b/drivers/message/fusion/mptlan.c index b7c4407c5e3f..2936204d8ad6 100644 --- a/drivers/message/fusion/mptlan.c +++ b/drivers/message/fusion/mptlan.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * For use with LSI Logic Fibre Channel PCI chip/adapters | 4 | * For use with LSI Logic Fibre Channel PCI chip/adapters |
5 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. | 5 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. |
6 | * | 6 | * |
7 | * Copyright (c) 2000-2005 LSI Logic Corporation | 7 | * Copyright (c) 2000-2007 LSI Logic Corporation |
8 | * | 8 | * |
9 | */ | 9 | */ |
10 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 10 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
@@ -56,9 +56,11 @@ | |||
56 | #include <linux/module.h> | 56 | #include <linux/module.h> |
57 | #include <linux/fs.h> | 57 | #include <linux/fs.h> |
58 | 58 | ||
59 | #define my_VERSION MPT_LINUX_VERSION_COMMON | ||
59 | #define MYNAM "mptlan" | 60 | #define MYNAM "mptlan" |
60 | 61 | ||
61 | MODULE_LICENSE("GPL"); | 62 | MODULE_LICENSE("GPL"); |
63 | MODULE_VERSION(my_VERSION); | ||
62 | 64 | ||
63 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 65 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
64 | /* | 66 | /* |
diff --git a/drivers/message/fusion/mptlan.h b/drivers/message/fusion/mptlan.h index 3726ecba5707..70ab75e7c263 100644 --- a/drivers/message/fusion/mptlan.h +++ b/drivers/message/fusion/mptlan.h | |||
@@ -4,7 +4,7 @@ | |||
4 | * For use with LSI Logic Fibre Channel PCI chip/adapters | 4 | * For use with LSI Logic Fibre Channel PCI chip/adapters |
5 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. | 5 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. |
6 | * | 6 | * |
7 | * Copyright (c) 2000-2005 LSI Logic Corporation | 7 | * Copyright (c) 2000-2007 LSI Logic Corporation |
8 | * | 8 | * |
9 | */ | 9 | */ |
10 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 10 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
diff --git a/drivers/message/fusion/mptsas.c b/drivers/message/fusion/mptsas.c index 4f0c530e47b0..09e9a9d96410 100644 --- a/drivers/message/fusion/mptsas.c +++ b/drivers/message/fusion/mptsas.c | |||
@@ -3,9 +3,9 @@ | |||
3 | * For use with LSI Logic PCI chip/adapter(s) | 3 | * For use with LSI Logic PCI chip/adapter(s) |
4 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. | 4 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. |
5 | * | 5 | * |
6 | * Copyright (c) 1999-2005 LSI Logic Corporation | 6 | * Copyright (c) 1999-2007 LSI Logic Corporation |
7 | * (mailto:mpt_linux_developer@lsil.com) | 7 | * (mailto:mpt_linux_developer@lsil.com) |
8 | * Copyright (c) 2005-2006 Dell | 8 | * Copyright (c) 2005-2007 Dell |
9 | */ | 9 | */ |
10 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 10 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
11 | /* | 11 | /* |
@@ -75,6 +75,7 @@ | |||
75 | MODULE_AUTHOR(MODULEAUTHOR); | 75 | MODULE_AUTHOR(MODULEAUTHOR); |
76 | MODULE_DESCRIPTION(my_NAME); | 76 | MODULE_DESCRIPTION(my_NAME); |
77 | MODULE_LICENSE("GPL"); | 77 | MODULE_LICENSE("GPL"); |
78 | MODULE_VERSION(my_VERSION); | ||
78 | 79 | ||
79 | static int mpt_pt_clear; | 80 | static int mpt_pt_clear; |
80 | module_param(mpt_pt_clear, int, 0); | 81 | module_param(mpt_pt_clear, int, 0); |
@@ -245,7 +246,8 @@ static void mptsas_print_device_pg0(SasDevicePage0_t *pg0) | |||
245 | printk("Parent Handle=0x%X\n" ,le16_to_cpu(pg0->ParentDevHandle)); | 246 | printk("Parent Handle=0x%X\n" ,le16_to_cpu(pg0->ParentDevHandle)); |
246 | printk("Enclosure Handle=0x%X\n", le16_to_cpu(pg0->EnclosureHandle)); | 247 | printk("Enclosure Handle=0x%X\n", le16_to_cpu(pg0->EnclosureHandle)); |
247 | printk("Slot=0x%X\n", le16_to_cpu(pg0->Slot)); | 248 | printk("Slot=0x%X\n", le16_to_cpu(pg0->Slot)); |
248 | printk("SAS Address=0x%llX\n", le64_to_cpu(sas_address)); | 249 | printk("SAS Address=0x%llX\n", (unsigned long long) |
250 | le64_to_cpu(sas_address)); | ||
249 | printk("Target ID=0x%X\n", pg0->TargetID); | 251 | printk("Target ID=0x%X\n", pg0->TargetID); |
250 | printk("Bus=0x%X\n", pg0->Bus); | 252 | printk("Bus=0x%X\n", pg0->Bus); |
251 | /* The PhyNum field specifies the PHY number of the parent | 253 | /* The PhyNum field specifies the PHY number of the parent |
@@ -349,9 +351,9 @@ mptsas_port_delete(struct mptsas_portinfo_details * port_details) | |||
349 | phy_info = port_info->phy_info; | 351 | phy_info = port_info->phy_info; |
350 | 352 | ||
351 | dsaswideprintk((KERN_DEBUG "%s: [%p]: num_phys=%02d " | 353 | dsaswideprintk((KERN_DEBUG "%s: [%p]: num_phys=%02d " |
352 | "bitmask=0x%016llX\n", | 354 | "bitmask=0x%016llX\n", __FUNCTION__, port_details, |
353 | __FUNCTION__, port_details, port_details->num_phys, | 355 | port_details->num_phys, (unsigned long long) |
354 | port_details->phy_bitmask)); | 356 | port_details->phy_bitmask)); |
355 | 357 | ||
356 | for (i = 0; i < port_info->num_phys; i++, phy_info++) { | 358 | for (i = 0; i < port_info->num_phys; i++, phy_info++) { |
357 | if(phy_info->port_details != port_details) | 359 | if(phy_info->port_details != port_details) |
@@ -476,7 +478,7 @@ mptsas_setup_wide_ports(MPT_ADAPTER *ioc, struct mptsas_portinfo *port_info) | |||
476 | for (i = 0 ; i < port_info->num_phys ; i++, phy_info++) { | 478 | for (i = 0 ; i < port_info->num_phys ; i++, phy_info++) { |
477 | sas_address = phy_info->attached.sas_address; | 479 | sas_address = phy_info->attached.sas_address; |
478 | dsaswideprintk((KERN_DEBUG "phy_id=%d sas_address=0x%018llX\n", | 480 | dsaswideprintk((KERN_DEBUG "phy_id=%d sas_address=0x%018llX\n", |
479 | i, sas_address)); | 481 | i, (unsigned long long)sas_address)); |
480 | if (!sas_address) | 482 | if (!sas_address) |
481 | continue; | 483 | continue; |
482 | port_details = phy_info->port_details; | 484 | port_details = phy_info->port_details; |
@@ -495,8 +497,8 @@ mptsas_setup_wide_ports(MPT_ADAPTER *ioc, struct mptsas_portinfo *port_info) | |||
495 | (1 << phy_info->phy_id); | 497 | (1 << phy_info->phy_id); |
496 | phy_info->sas_port_add_phy=1; | 498 | phy_info->sas_port_add_phy=1; |
497 | dsaswideprintk((KERN_DEBUG "\t\tForming port\n\t\t" | 499 | dsaswideprintk((KERN_DEBUG "\t\tForming port\n\t\t" |
498 | "phy_id=%d sas_address=0x%018llX\n", | 500 | "phy_id=%d sas_address=0x%018llX\n", |
499 | i, sas_address)); | 501 | i, (unsigned long long)sas_address)); |
500 | phy_info->port_details = port_details; | 502 | phy_info->port_details = port_details; |
501 | } | 503 | } |
502 | 504 | ||
@@ -512,8 +514,9 @@ mptsas_setup_wide_ports(MPT_ADAPTER *ioc, struct mptsas_portinfo *port_info) | |||
512 | if (phy_info_cmp->port_details == port_details ) | 514 | if (phy_info_cmp->port_details == port_details ) |
513 | continue; | 515 | continue; |
514 | dsaswideprintk((KERN_DEBUG | 516 | dsaswideprintk((KERN_DEBUG |
515 | "\t\tphy_id=%d sas_address=0x%018llX\n", | 517 | "\t\tphy_id=%d sas_address=0x%018llX\n", |
516 | j, phy_info_cmp->attached.sas_address)); | 518 | j, (unsigned long long) |
519 | phy_info_cmp->attached.sas_address)); | ||
517 | if (phy_info_cmp->port_details) { | 520 | if (phy_info_cmp->port_details) { |
518 | port_details->rphy = | 521 | port_details->rphy = |
519 | mptsas_get_rphy(phy_info_cmp); | 522 | mptsas_get_rphy(phy_info_cmp); |
@@ -546,11 +549,10 @@ mptsas_setup_wide_ports(MPT_ADAPTER *ioc, struct mptsas_portinfo *port_info) | |||
546 | if (!port_details) | 549 | if (!port_details) |
547 | continue; | 550 | continue; |
548 | dsaswideprintk((KERN_DEBUG | 551 | dsaswideprintk((KERN_DEBUG |
549 | "%s: [%p]: phy_id=%02d num_phys=%02d " | 552 | "%s: [%p]: phy_id=%02d num_phys=%02d " |
550 | "bitmask=0x%016llX\n", | 553 | "bitmask=0x%016llX\n", __FUNCTION__, |
551 | __FUNCTION__, | 554 | port_details, i, port_details->num_phys, |
552 | port_details, i, port_details->num_phys, | 555 | (unsigned long long)port_details->phy_bitmask)); |
553 | port_details->phy_bitmask)); | ||
554 | dsaswideprintk((KERN_DEBUG"\t\tport = %p rphy=%p\n", | 556 | dsaswideprintk((KERN_DEBUG"\t\tport = %p rphy=%p\n", |
555 | port_details->port, port_details->rphy)); | 557 | port_details->port, port_details->rphy)); |
556 | } | 558 | } |
@@ -2079,8 +2081,10 @@ mptsas_persist_clear_table(struct work_struct *work) | |||
2079 | static void | 2081 | static void |
2080 | mptsas_reprobe_lun(struct scsi_device *sdev, void *data) | 2082 | mptsas_reprobe_lun(struct scsi_device *sdev, void *data) |
2081 | { | 2083 | { |
2084 | int rc; | ||
2085 | |||
2082 | sdev->no_uld_attach = data ? 1 : 0; | 2086 | sdev->no_uld_attach = data ? 1 : 0; |
2083 | scsi_device_reprobe(sdev); | 2087 | rc = scsi_device_reprobe(sdev); |
2084 | } | 2088 | } |
2085 | 2089 | ||
2086 | static void | 2090 | static void |
diff --git a/drivers/message/fusion/mptscsih.c b/drivers/message/fusion/mptscsih.c index 2c72c36b8171..f0cca3ea93b2 100644 --- a/drivers/message/fusion/mptscsih.c +++ b/drivers/message/fusion/mptscsih.c | |||
@@ -3,7 +3,7 @@ | |||
3 | * For use with LSI Logic PCI chip/adapter(s) | 3 | * For use with LSI Logic PCI chip/adapter(s) |
4 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. | 4 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. |
5 | * | 5 | * |
6 | * Copyright (c) 1999-2005 LSI Logic Corporation | 6 | * Copyright (c) 1999-2007 LSI Logic Corporation |
7 | * (mailto:mpt_linux_developer@lsil.com) | 7 | * (mailto:mpt_linux_developer@lsil.com) |
8 | * | 8 | * |
9 | */ | 9 | */ |
@@ -76,6 +76,7 @@ | |||
76 | MODULE_AUTHOR(MODULEAUTHOR); | 76 | MODULE_AUTHOR(MODULEAUTHOR); |
77 | MODULE_DESCRIPTION(my_NAME); | 77 | MODULE_DESCRIPTION(my_NAME); |
78 | MODULE_LICENSE("GPL"); | 78 | MODULE_LICENSE("GPL"); |
79 | MODULE_VERSION(my_VERSION); | ||
79 | 80 | ||
80 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 81 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
81 | 82 | ||
@@ -701,6 +702,17 @@ mptscsih_io_done(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *mr) | |||
701 | break; | 702 | break; |
702 | } | 703 | } |
703 | } | 704 | } |
705 | } else if (ioc->bus_type == FC) { | ||
706 | /* | ||
707 | * The FC IOC may kill a request for variety of | ||
708 | * reasons, some of which may be recovered by a | ||
709 | * retry, some which are unlikely to be | ||
710 | * recovered. Return DID_ERROR instead of | ||
711 | * DID_RESET to permit retry of the command, | ||
712 | * just not an infinite number of them | ||
713 | */ | ||
714 | sc->result = DID_ERROR << 16; | ||
715 | break; | ||
704 | } | 716 | } |
705 | 717 | ||
706 | /* | 718 | /* |
@@ -2688,7 +2700,8 @@ mptscsih_initTarget(MPT_SCSI_HOST *hd, VirtTarget *vtarget, | |||
2688 | struct scsi_device *sdev) | 2700 | struct scsi_device *sdev) |
2689 | { | 2701 | { |
2690 | dinitprintk((MYIOC_s_INFO_FMT "initTarget bus=%d id=%d lun=%d hd=%p\n", | 2702 | dinitprintk((MYIOC_s_INFO_FMT "initTarget bus=%d id=%d lun=%d hd=%p\n", |
2691 | hd->ioc->name, vtarget->bus_id, vtarget->target_id, lun, hd)); | 2703 | hd->ioc->name, vtarget->bus_id, vtarget->target_id, |
2704 | sdev->lun, hd)); | ||
2692 | 2705 | ||
2693 | /* Is LUN supported? If so, upper 2 bits will be 0 | 2706 | /* Is LUN supported? If so, upper 2 bits will be 0 |
2694 | * in first byte of inquiry data. | 2707 | * in first byte of inquiry data. |
@@ -2770,7 +2783,7 @@ mptscsih_setTargetNegoParms(MPT_SCSI_HOST *hd, VirtTarget *target, | |||
2770 | else { | 2783 | else { |
2771 | factor = MPT_ULTRA320; | 2784 | factor = MPT_ULTRA320; |
2772 | if (scsi_device_qas(sdev)) { | 2785 | if (scsi_device_qas(sdev)) { |
2773 | ddvtprintk((KERN_INFO "Enabling QAS due to byte56=%02x on id=%d!\n", byte56, id)); | 2786 | ddvtprintk((KERN_INFO "Enabling QAS due to byte56=%02x on id=%d!\n", scsi_device_qas(sdev), id)); |
2774 | noQas = 0; | 2787 | noQas = 0; |
2775 | } | 2788 | } |
2776 | if (sdev->type == TYPE_TAPE && | 2789 | if (sdev->type == TYPE_TAPE && |
diff --git a/drivers/message/fusion/mptscsih.h b/drivers/message/fusion/mptscsih.h index 14a5b6c2e2bd..187c8af0890b 100644 --- a/drivers/message/fusion/mptscsih.h +++ b/drivers/message/fusion/mptscsih.h | |||
@@ -5,7 +5,7 @@ | |||
5 | * LSIFC9xx/LSI409xx Fibre Channel | 5 | * LSIFC9xx/LSI409xx Fibre Channel |
6 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. | 6 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. |
7 | * | 7 | * |
8 | * Copyright (c) 1999-2005 LSI Logic Corporation | 8 | * Copyright (c) 1999-2007 LSI Logic Corporation |
9 | * (mailto:mpt_linux_developer@lsil.com) | 9 | * (mailto:mpt_linux_developer@lsil.com) |
10 | * | 10 | * |
11 | */ | 11 | */ |
diff --git a/drivers/message/fusion/mptspi.c b/drivers/message/fusion/mptspi.c index 36641da59289..203c661d2c79 100644 --- a/drivers/message/fusion/mptspi.c +++ b/drivers/message/fusion/mptspi.c | |||
@@ -3,7 +3,7 @@ | |||
3 | * For use with LSI Logic PCI chip/adapter(s) | 3 | * For use with LSI Logic PCI chip/adapter(s) |
4 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. | 4 | * running LSI Logic Fusion MPT (Message Passing Technology) firmware. |
5 | * | 5 | * |
6 | * Copyright (c) 1999-2005 LSI Logic Corporation | 6 | * Copyright (c) 1999-2007 LSI Logic Corporation |
7 | * (mailto:mpt_linux_developer@lsil.com) | 7 | * (mailto:mpt_linux_developer@lsil.com) |
8 | * | 8 | * |
9 | */ | 9 | */ |
@@ -77,6 +77,7 @@ | |||
77 | MODULE_AUTHOR(MODULEAUTHOR); | 77 | MODULE_AUTHOR(MODULEAUTHOR); |
78 | MODULE_DESCRIPTION(my_NAME); | 78 | MODULE_DESCRIPTION(my_NAME); |
79 | MODULE_LICENSE("GPL"); | 79 | MODULE_LICENSE("GPL"); |
80 | MODULE_VERSION(my_VERSION); | ||
80 | 81 | ||
81 | /* Command line args */ | 82 | /* Command line args */ |
82 | static int mpt_saf_te = MPTSCSIH_SAF_TE; | 83 | static int mpt_saf_te = MPTSCSIH_SAF_TE; |