public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Wayne Boyer <wayneb@linux.vnet.ibm.com>
To: James Bottomley <James.Bottomley@suse.de>
Cc: linux-scsi <linux-scsi@vger.kernel.org>,
	Brian King <brking@linux.vnet.ibm.com>
Subject: [patch 2/9] ipr: define new offsets to registers for the next generation chip
Date: Fri, 19 Feb 2010 13:23:51 -0800	[thread overview]
Message-ID: <4B7F0167.1040304@linux.vnet.ibm.com> (raw)
In-Reply-To: <20100219210900.066268168@linux.vnet.ibm.com>

This patch adds the entry to the ipr_chip_cfg array that defines the register
offsets for the next generation 64 bit IOA PCI interface chip.

Signed-off-by: Wayne Boyer <wayneb@linux.vnet.ibm.com>
---

 drivers/scsi/ipr.c |   15 +++++++++++++++
 1 file changed, 15 insertions(+)

Index: b/drivers/scsi/ipr.c
===================================================================
--- a/drivers/scsi/ipr.c	2010-02-04 08:45:04.000000000 -0800
+++ b/drivers/scsi/ipr.c	2010-02-04 08:45:20.000000000 -0800
@@ -128,6 +128,21 @@ static const struct ipr_chip_cfg_t ipr_c
 			.clr_uproc_interrupt_reg = 0x00294
 		}
 	},
+	{ /* CRoC */
+		.mailbox = 0x00040,
+		.cache_line_size = 0x20,
+		{
+			.set_interrupt_mask_reg = 0x00010,
+			.clr_interrupt_mask_reg = 0x00018,
+			.sense_interrupt_mask_reg = 0x00010,
+			.clr_interrupt_reg = 0x00008,
+			.sense_interrupt_reg = 0x00000,
+			.ioarrin_reg = 0x00070,
+			.sense_uproc_interrupt_reg = 0x00020,
+			.set_uproc_interrupt_reg = 0x00020,
+			.clr_uproc_interrupt_reg = 0x00028
+		}
+	},
 };

 static const struct ipr_chip_t ipr_chip[] = {


  parent reply	other threads:[~2010-02-19 21:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20100219210900.066268168@linux.vnet.ibm.com>
2010-02-19 21:23 ` [patch 1/9] ipr: add support for new adapter command structures for the next generation chip Wayne Boyer
2010-02-19 21:23 ` Wayne Boyer [this message]
2010-02-19 21:23 ` [patch 3/9] ipr: update the configuration table code " Wayne Boyer
2010-02-19 21:24 ` [patch 4/9] ipr: add error handling updates " Wayne Boyer
2010-02-19 21:24 ` [patch 5/9] ipr: add hardware assisted smart dump functionality Wayne Boyer
2010-02-19 21:24 ` [patch 6/9] ipr: implement shutdown changes and remove obsolete write cache parameter Wayne Boyer
2010-02-19 21:24 ` [patch 7/9] ipr: add support for multiple stages of initialization Wayne Boyer
2010-02-19 21:24 ` [patch 8/9] ipr: add support for new IOASCs Wayne Boyer
2010-02-19 21:24 ` [patch 9/9] ipr: adds PCI ID definitions for new adapters Wayne Boyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B7F0167.1040304@linux.vnet.ibm.com \
    --to=wayneb@linux.vnet.ibm.com \
    --cc=James.Bottomley@suse.de \
    --cc=brking@linux.vnet.ibm.com \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox