Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 223165
b: refs/heads/master
c: 5da6141
h: refs/heads/master
i:
  223163: bbb35b6
v: v3
  • Loading branch information
Anil Ravindranath authored and James Bottomley committed Dec 9, 2010
1 parent d0c8113 commit 53d2d51
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c7a841f3aca469187db76842676951a672fd27d1
refs/heads/master: 5da61410054d125e63aeab9cc7a11874a69465c0
4 changes: 3 additions & 1 deletion trunk/drivers/scsi/pmcraid.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
static unsigned int pmcraid_debug_log;
static unsigned int pmcraid_disable_aen;
static unsigned int pmcraid_log_level = IOASC_LOG_LEVEL_MUST;
static unsigned int pmcraid_enable_msix;

/*
* Data structures to support multiple adapters by the LLD.
Expand Down Expand Up @@ -4691,7 +4692,8 @@ pmcraid_register_interrupt_handler(struct pmcraid_instance *pinstance)
int rc;
struct pci_dev *pdev = pinstance->pdev;

if (pci_find_capability(pdev, PCI_CAP_ID_MSIX)) {
if ((pmcraid_enable_msix) &&
(pci_find_capability(pdev, PCI_CAP_ID_MSIX))) {
int num_hrrq = PMCRAID_NUM_MSIX_VECTORS;
struct msix_entry entries[PMCRAID_NUM_MSIX_VECTORS];
int i;
Expand Down
6 changes: 2 additions & 4 deletions trunk/drivers/scsi/pmcraid.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
*/
#define PMCRAID_DRIVER_NAME "PMC MaxRAID"
#define PMCRAID_DEVFILE "pmcsas"
#define PMCRAID_DRIVER_VERSION "2.0.3"
#define PMCRAID_DRIVER_VERSION "1.0.3"
#define PMCRAID_DRIVER_DATE __DATE__

#define PMCRAID_FW_VERSION_1 0x002
Expand Down Expand Up @@ -333,11 +333,9 @@ struct pmcraid_config_table_entry {
__u8 lun[PMCRAID_LUN_LEN];
} __attribute__((packed, aligned(4)));

/* extended configuration table sizes are of 64 bytes in size */
#define PMCRAID_CFGTE_EXT_SIZE 32
/* extended configuration table sizes are also of 32 bytes in size */
struct pmcraid_config_table_entry_ext {
struct pmcraid_config_table_entry cfgte;
__u8 cfgte_ext[PMCRAID_CFGTE_EXT_SIZE];
};

/* resource types (config_table_entry.resource_type values) */
Expand Down

0 comments on commit 53d2d51

Please sign in to comment.