hpsa.h (76438d087f18fc0ce0431bf22e5195ec3db1656c) hpsa.h (b66cc250ee700ba019ae6801726588b8bf6d9144)
1/*
2 * Disk Array driver for HP Smart Array SAS controllers
3 * Copyright 2000, 2009 Hewlett-Packard Development Company, L.P.
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; version 2 of the License.
8 *

--- 244 unchanged lines hidden (view full) ---

253#define SA5_OUTDB_CLEAR_PERF_BIT 0x01
254#define SA5_OUTDB_CLEAR 0xA0
255#define SA5_OUTDB_CLEAR_PERF_BIT 0x01
256#define SA5_OUTDB_STATUS 0x9C
257
258
259#define HPSA_INTR_ON 1
260#define HPSA_INTR_OFF 0
1/*
2 * Disk Array driver for HP Smart Array SAS controllers
3 * Copyright 2000, 2009 Hewlett-Packard Development Company, L.P.
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; version 2 of the License.
8 *

--- 244 unchanged lines hidden (view full) ---

253#define SA5_OUTDB_CLEAR_PERF_BIT 0x01
254#define SA5_OUTDB_CLEAR 0xA0
255#define SA5_OUTDB_CLEAR_PERF_BIT 0x01
256#define SA5_OUTDB_STATUS 0x9C
257
258
259#define HPSA_INTR_ON 1
260#define HPSA_INTR_OFF 0
261
261/*
262/*
263 * Inbound Post Queue offsets for IO Accelerator Mode 2
264 */
265#define IOACCEL2_INBOUND_POSTQ_32 0x48
266#define IOACCEL2_INBOUND_POSTQ_64_LOW 0xd0
267#define IOACCEL2_INBOUND_POSTQ_64_HI 0xd4
268
269/*
262 Send the command to the hardware
263*/
264static void SA5_submit_command(struct ctlr_info *h,
265 struct CommandList *c)
266{
267 dev_dbg(&h->pdev->dev, "Sending %x, tag = %x\n", c->busaddr,
268 c->Header.Tag.lower);
269 writel(c->busaddr, h->vaddr + SA5_REQUEST_PORT_OFFSET);

--- 212 unchanged lines hidden ---
270 Send the command to the hardware
271*/
272static void SA5_submit_command(struct ctlr_info *h,
273 struct CommandList *c)
274{
275 dev_dbg(&h->pdev->dev, "Sending %x, tag = %x\n", c->busaddr,
276 c->Header.Tag.lower);
277 writel(c->busaddr, h->vaddr + SA5_REQUEST_PORT_OFFSET);

--- 212 unchanged lines hidden ---