aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_hw.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_hw.h')
-rw-r--r--drivers/scsi/lpfc/lpfc_hw.h50
1 files changed, 23 insertions, 27 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hw.h b/drivers/scsi/lpfc/lpfc_hw.h
index fc958a99dadb..21591cb9f551 100644
--- a/drivers/scsi/lpfc/lpfc_hw.h
+++ b/drivers/scsi/lpfc/lpfc_hw.h
@@ -1,27 +1,23 @@
1/******************************************************************* 1/*******************************************************************
2 * This file is part of the Emulex Linux Device Driver for * 2 * This file is part of the Emulex Linux Device Driver for *
3 * Enterprise Fibre Channel Host Bus Adapters. * 3 * Fibre Channel Host Bus Adapters. *
4 * Refer to the README file included with this package for * 4 * Copyright (C) 2004-2005 Emulex. All rights reserved. *
5 * driver version and adapter support. * 5 * EMULEX and SLI are trademarks of Emulex. *
6 * Copyright (C) 2004 Emulex Corporation. *
7 * www.emulex.com * 6 * www.emulex.com *
8 * * 7 * *
9 * This program is free software; you can redistribute it and/or * 8 * This program is free software; you can redistribute it and/or *
10 * modify it under the terms of the GNU General Public License * 9 * modify it under the terms of version 2 of the GNU General *
11 * as published by the Free Software Foundation; either version 2 * 10 * Public License as published by the Free Software Foundation. *
12 * of the License, or (at your option) any later version. * 11 * This program is distributed in the hope that it will be useful. *
13 * * 12 * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND *
14 * This program is distributed in the hope that it will be useful, * 13 * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, *
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 14 * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE *
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 15 * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD *
17 * GNU General Public License for more details, a copy of which * 16 * TO BE LEGALLY INVALID. See the GNU General Public License for *
18 * can be found in the file COPYING included with this package. * 17 * more details, a copy of which can be found in the file COPYING *
18 * included with this package. *
19 *******************************************************************/ 19 *******************************************************************/
20 20
21/*
22 * $Id: lpfc_hw.h 1.37 2005/03/29 19:51:45EST sf_support Exp $
23 */
24
25#define FDMI_DID 0xfffffaU 21#define FDMI_DID 0xfffffaU
26#define NameServer_DID 0xfffffcU 22#define NameServer_DID 0xfffffcU
27#define SCR_DID 0xfffffdU 23#define SCR_DID 0xfffffdU
@@ -2214,20 +2210,20 @@ typedef union {
2214 * SLI-2 specific structures 2210 * SLI-2 specific structures
2215 */ 2211 */
2216 2212
2217typedef struct { 2213struct lpfc_hgp {
2218 uint32_t cmdPutInx; 2214 __le32 cmdPutInx;
2219 uint32_t rspGetInx; 2215 __le32 rspGetInx;
2220} HGP; 2216};
2221 2217
2222typedef struct { 2218struct lpfc_pgp {
2223 uint32_t cmdGetInx; 2219 __le32 cmdGetInx;
2224 uint32_t rspPutInx; 2220 __le32 rspPutInx;
2225} PGP; 2221};
2226 2222
2227typedef struct _SLI2_DESC { 2223typedef struct _SLI2_DESC {
2228 HGP host[MAX_RINGS]; 2224 struct lpfc_hgp host[MAX_RINGS];
2229 uint32_t unused1[16]; 2225 uint32_t unused1[16];
2230 PGP port[MAX_RINGS]; 2226 struct lpfc_pgp port[MAX_RINGS];
2231} SLI2_DESC; 2227} SLI2_DESC;
2232 2228
2233typedef union { 2229typedef union {