Re: [PATCH 1/1] pmcraid driver disable msix and other changes

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

 



On Wednesday 17 November 2010 03:13:41 Anil Ravindranath wrote:
> The following are the fixes in this patch:

Fixes for what? Can you include the bugs caused by enabling msi-x inthe 
changelog.

> 1. Disable msi-x for now
> 2. Change device configuration entry size
> 

Why?

So this patch kind of disables c20c426732a5a5d21e99b36286f79c2024115341?
Would it be better to revert it?

> Signed-off-by: Anil Ravindranath<anil_ravindranath@xxxxxxxxxxxxxx>
> 
>  pmcraid.c |    4 +++-
>  pmcraid.h |    6 ++----
>  2 files changed, 5 insertions(+), 5 deletions(-)
> 
> --- scsi-misc-2.6.orig/drivers/scsi/pmcraid.h	2010-11-04 12:03:46.000000000
>  -0700 +++ scsi-misc-2.6/drivers/scsi/pmcraid.h	2010-11-04
>  11:15:06.000000000 -0700 @@ -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"

hm.. version jump back!

>  #define PMCRAID_DRIVER_DATE		__DATE__
> 
>  #define PMCRAID_FW_VERSION_1		0x002
> @@ -333,11 +333,9 @@
>  	__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) */
> --- scsi-misc-2.6.orig/drivers/scsi/pmcraid.c	2010-11-04 12:03:38.000000000
>  -0700 +++ scsi-misc-2.6/drivers/scsi/pmcraid.c	2010-11-04
>  12:11:21.000000000 -0700 @@ -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.
> @@ -4689,7 +4690,8 @@
>  	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))) {

coding style nitpick: Unnecessary parenthesis.

Thanks
Nikanth

>  		int num_hrrq = PMCRAID_NUM_MSIX_VECTORS;
>  		struct msix_entry entries[PMCRAID_NUM_MSIX_VECTORS];
>  		int i;
> --
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux