Re: [PATCH 2/2] ipr: change endian swap key to match hardware spec change

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

 




On 06/24/2010 01:34 PM, Wayne Boyer wrote:
> The value used to change the endian representation on the new adapters has
> changed.  This patch updates that value.
> 
> Signed-off-by: Wayne Boyer <wayneb@xxxxxxxxxxxxxxxxxx>
> ---
> 
>  drivers/scsi/ipr.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Index: b/drivers/scsi/ipr.h
> ===================================================================
> --- a/drivers/scsi/ipr.h	2010-06-23 11:21:57.000000000 -0700
> +++ b/drivers/scsi/ipr.h	2010-06-23 11:22:08.000000000 -0700
> @@ -1257,7 +1257,7 @@ struct ipr_interrupt_offsets {
>  	unsigned long dump_addr_reg;
>  	unsigned long dump_data_reg;
> 
> -#define IPR_ENDIAN_SWAP_KEY		0x000C0C00
> +#define IPR_ENDIAN_SWAP_KEY		0x000B0B00

The original patch has the wrong value.  I mistook "8" for "B" in the
spec.  The corrected patch is below.

---

The value used to change the endian representation on the new adapters has
changed.  This patch updates that value.

Signed-off-by: Wayne Boyer <wayneb@xxxxxxxxxxxxxxxxxx>
---

 drivers/scsi/ipr.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: b/drivers/scsi/ipr.h
===================================================================
--- a/drivers/scsi/ipr.h	2010-06-23 11:21:57.000000000 -0700
+++ b/drivers/scsi/ipr.h	2010-06-24 16:45:34.000000000 -0700
@@ -1257,7 +1257,7 @@ struct ipr_interrupt_offsets {
 	unsigned long dump_addr_reg;
 	unsigned long dump_data_reg;

-#define IPR_ENDIAN_SWAP_KEY		0x000C0C00
+#define IPR_ENDIAN_SWAP_KEY		0x00080800
 	unsigned long endian_swap_reg;
 };
--
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