Hi Brian,
Sorry I missed this commit! I send V3 with the changes.
Thanks,
Wendy
From: Brian King <[email protected]>
To: [email protected], [email protected]
Date: 11/20/2015 04:53 PM
Subject: Re: [Iprdd-devel] [PATCH 4/4] Support new Rattlesnake adaters
On 11/20/2015 12:33 PM, [email protected] wrote:
> From: Wen Xiong <[email protected]>
>
> ---
> drivers/scsi/ipr.c | 4 ++++
> drivers/scsi/ipr.h | 3 +++
> 2 files changed, 7 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c
> index f2df57a..938ed22 100644
> --- a/drivers/scsi/ipr.c
> +++ b/drivers/scsi/ipr.c
> @@ -10787,6 +10787,10 @@ static struct pci_device_id ipr_pci_table[] = {
> PCI_VENDOR_ID_IBM, IPR_SUBS_DEV_ID_2CD2, 0, 0,
0 },
> { PCI_VENDOR_ID_IBM, PCI_DEVICE_ID_IBM_CROCODILE,
> PCI_VENDOR_ID_IBM, IPR_SUBS_DEV_ID_2CCD, 0, 0,
0 },
> + { PCI_VENDOR_ID_IBM, PCI_DEVICE_ID_IBM_RATTLESNAKE,
> + PCI_VENDOR_ID_IBM, IPR_SUBS_DEV_ID_580A, 0, 0,
0 },
> + { PCI_VENDOR_ID_IBM, PCI_DEVICE_ID_IBM_RATTLESNAKE,
> + PCI_VENDOR_ID_IBM, IPR_SUBS_DEV_ID_580B, 0, 0,
0 },
> { }
I think you missed updating ipr_chip[] to define the register offsets. I
think they should be all
the same as crocodile last I knew.
> };
> MODULE_DEVICE_TABLE(pci, ipr_pci_table);
> diff --git a/drivers/scsi/ipr.h b/drivers/scsi/ipr.h
> index a7ef83f..32c8b26 100644
> --- a/drivers/scsi/ipr.h
> +++ b/drivers/scsi/ipr.h
> @@ -60,6 +60,7 @@
>
> #define PCI_DEVICE_ID_IBM_CROC_FPGA_E2 0x033D
> #define PCI_DEVICE_ID_IBM_CROCODILE 0x034A
> +#define PCI_DEVICE_ID_IBM_RATTLESNAKE 0x04DA
>
> #define IPR_SUBS_DEV_ID_2780 0x0264
> #define IPR_SUBS_DEV_ID_5702 0x0266
> @@ -111,6 +112,8 @@
> #define IPR_SUBS_DEV_ID_2CCA 0x04C7
> #define IPR_SUBS_DEV_ID_2CD2 0x04C8
> #define IPR_SUBS_DEV_ID_2CCD 0x04C9
> +#define IPR_SUBS_DEV_ID_580A 0x04FC
> +#define IPR_SUBS_DEV_ID_580B 0x04FB
> #define IPR_NAME
> "ipr"
>
> /*
>
--
Brian King
Power Linux I/O
IBM Linux Technology Center
------------------------------------------------------------------------------
_______________________________________________
Iprdd-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iprdd-devel
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
Iprdd-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iprdd-devel