mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (170 commits)
[SCSI] scsi_dh_rdac: Add MD36xxf into device list
[SCSI] scsi_debug: add consecutive medium errors
[SCSI] libsas: fix ata list corruption issue
[SCSI] hpsa: export resettable host attribute
[SCSI] hpsa: move device attributes to avoid forward declarations
[SCSI] scsi_debug: Logical Block Provisioning (SBC3r26)
[SCSI] sd: Logical Block Provisioning update
[SCSI] Include protection operation in SCSI command trace
[SCSI] hpsa: fix incorrect PCI IDs and add two new ones (2nd try)
[SCSI] target: Fix volume size misreporting for volumes > 2TB
[SCSI] bnx2fc: Broadcom FCoE offload driver
[SCSI] fcoe: fix broken fcoe interface reset
[SCSI] fcoe: precedence bug in fcoe_filter_frames()
[SCSI] libfcoe: Remove stale fcoe-netdev entries
[SCSI] libfcoe: Move FCOE_MTU definition from fcoe.h to libfcoe.h
[SCSI] libfc: introduce __fc_fill_fc_hdr that accepts fc_hdr as an argument
[SCSI] fcoe, libfc: initialize EM anchors list and then update npiv EMs
[SCSI] Revert "[SCSI] libfc: fix exchange being deleted when the abort itself is timed out"
[SCSI] libfc: Fixing a memory leak when destroying an interface
[SCSI] megaraid_sas: Version and Changelog update
...
Fix up trivial conflicts due to whitespace differences in
drivers/scsi/libsas/{sas_ata.c,sas_scsi_host.c}
This commit is contained in:
commit
c55d267de2
145 changed files with 15384 additions and 2733 deletions
|
|
@ -2593,6 +2593,7 @@ typedef struct _CONFIG_PAGE_SAS_IO_UNIT_0
|
|||
#define MPI_SAS_IOUNIT0_RATE_SATA_OOB_COMPLETE (0x03)
|
||||
#define MPI_SAS_IOUNIT0_RATE_1_5 (0x08)
|
||||
#define MPI_SAS_IOUNIT0_RATE_3_0 (0x09)
|
||||
#define MPI_SAS_IOUNIT0_RATE_6_0 (0x0A)
|
||||
|
||||
/* see mpi_sas.h for values for SAS IO Unit Page 0 ControllerPhyDeviceInfo values */
|
||||
|
||||
|
|
|
|||
|
|
@ -841,6 +841,7 @@ typedef struct _EVENT_DATA_SAS_PHY_LINK_STATUS
|
|||
#define MPI_EVENT_SAS_PLS_LR_RATE_SATA_OOB_COMPLETE (0x03)
|
||||
#define MPI_EVENT_SAS_PLS_LR_RATE_1_5 (0x08)
|
||||
#define MPI_EVENT_SAS_PLS_LR_RATE_3_0 (0x09)
|
||||
#define MPI_EVENT_SAS_PLS_LR_RATE_6_0 (0x0A)
|
||||
|
||||
/* SAS Discovery Event data */
|
||||
|
||||
|
|
|
|||
|
|
@ -7418,7 +7418,12 @@ mpt_display_event_info(MPT_ADAPTER *ioc, EventNotificationReply_t *pEventReply)
|
|||
case MPI_EVENT_SAS_PLS_LR_RATE_3_0:
|
||||
snprintf(evStr, EVENT_DESCR_STR_SZ,
|
||||
"SAS PHY Link Status: Phy=%d:"
|
||||
" Rate 3.0 Gpbs",PhyNumber);
|
||||
" Rate 3.0 Gbps", PhyNumber);
|
||||
break;
|
||||
case MPI_EVENT_SAS_PLS_LR_RATE_6_0:
|
||||
snprintf(evStr, EVENT_DESCR_STR_SZ,
|
||||
"SAS PHY Link Status: Phy=%d:"
|
||||
" Rate 6.0 Gbps", PhyNumber);
|
||||
break;
|
||||
default:
|
||||
snprintf(evStr, EVENT_DESCR_STR_SZ,
|
||||
|
|
|
|||
|
|
@ -1314,8 +1314,10 @@ mptctl_getiocinfo (unsigned long arg, unsigned int data_size)
|
|||
else
|
||||
karg->adapterType = MPT_IOCTL_INTERFACE_SCSI;
|
||||
|
||||
if (karg->hdr.port > 1)
|
||||
if (karg->hdr.port > 1) {
|
||||
kfree(karg);
|
||||
return -EINVAL;
|
||||
}
|
||||
port = karg->hdr.port;
|
||||
|
||||
karg->port = port;
|
||||
|
|
|
|||
|
|
@ -1973,7 +1973,6 @@ static struct scsi_host_template mptsas_driver_template = {
|
|||
.change_queue_depth = mptscsih_change_queue_depth,
|
||||
.eh_abort_handler = mptscsih_abort,
|
||||
.eh_device_reset_handler = mptscsih_dev_reset,
|
||||
.eh_bus_reset_handler = mptscsih_bus_reset,
|
||||
.eh_host_reset_handler = mptscsih_host_reset,
|
||||
.bios_param = mptscsih_bios_param,
|
||||
.can_queue = MPT_SAS_CAN_QUEUE,
|
||||
|
|
@ -3063,6 +3062,9 @@ static int mptsas_probe_one_phy(struct device *dev,
|
|||
case MPI_SAS_IOUNIT0_RATE_3_0:
|
||||
phy->negotiated_linkrate = SAS_LINK_RATE_3_0_GBPS;
|
||||
break;
|
||||
case MPI_SAS_IOUNIT0_RATE_6_0:
|
||||
phy->negotiated_linkrate = SAS_LINK_RATE_6_0_GBPS;
|
||||
break;
|
||||
case MPI_SAS_IOUNIT0_RATE_SATA_OOB_COMPLETE:
|
||||
case MPI_SAS_IOUNIT0_RATE_UNKNOWN:
|
||||
default:
|
||||
|
|
@ -3691,7 +3693,8 @@ mptsas_send_link_status_event(struct fw_event_work *fw_event)
|
|||
}
|
||||
|
||||
if (link_rate == MPI_SAS_IOUNIT0_RATE_1_5 ||
|
||||
link_rate == MPI_SAS_IOUNIT0_RATE_3_0) {
|
||||
link_rate == MPI_SAS_IOUNIT0_RATE_3_0 ||
|
||||
link_rate == MPI_SAS_IOUNIT0_RATE_6_0) {
|
||||
|
||||
if (!port_info) {
|
||||
if (ioc->old_sas_discovery_protocal) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue