3db86aab554edbb4244c8d1a1c90f152eee768afstevel/*
3db86aab554edbb4244c8d1a1c90f152eee768afstevel * CDDL HEADER START
3db86aab554edbb4244c8d1a1c90f152eee768afstevel *
3db86aab554edbb4244c8d1a1c90f152eee768afstevel * The contents of this file are subject to the terms of the
3db86aab554edbb4244c8d1a1c90f152eee768afstevel * Common Development and Distribution License (the "License").
3db86aab554edbb4244c8d1a1c90f152eee768afstevel * You may not use this file except in compliance with the License.
3db86aab554edbb4244c8d1a1c90f152eee768afstevel *
3db86aab554edbb4244c8d1a1c90f152eee768afstevel * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3db86aab554edbb4244c8d1a1c90f152eee768afstevel * or http://www.opensolaris.org/os/licensing.
3db86aab554edbb4244c8d1a1c90f152eee768afstevel * See the License for the specific language governing permissions
3db86aab554edbb4244c8d1a1c90f152eee768afstevel * and limitations under the License.
3db86aab554edbb4244c8d1a1c90f152eee768afstevel *
3db86aab554edbb4244c8d1a1c90f152eee768afstevel * When distributing Covered Code, include this CDDL HEADER in each
3db86aab554edbb4244c8d1a1c90f152eee768afstevel * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3db86aab554edbb4244c8d1a1c90f152eee768afstevel * If applicable, add the following below this CDDL HEADER, with the
3db86aab554edbb4244c8d1a1c90f152eee768afstevel * fields enclosed by brackets "[]" replaced with your own identifying
3db86aab554edbb4244c8d1a1c90f152eee768afstevel * information: Portions Copyright [yyyy] [name of copyright owner]
3db86aab554edbb4244c8d1a1c90f152eee768afstevel *
3db86aab554edbb4244c8d1a1c90f152eee768afstevel * CDDL HEADER END
3db86aab554edbb4244c8d1a1c90f152eee768afstevel */
3db86aab554edbb4244c8d1a1c90f152eee768afstevel/*
3db86aab554edbb4244c8d1a1c90f152eee768afstevel * Copyright 1995 Sun Microsystems, Inc. All rights reserved.
3db86aab554edbb4244c8d1a1c90f152eee768afstevel * Use is subject to license terms.
3db86aab554edbb4244c8d1a1c90f152eee768afstevel */
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#ifndef _SYS_SOCALMAP_H
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#define _SYS_SOCALMAP_H
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#pragma ident "%Z%%M% %I% %E% SMI"
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#ifdef __cplusplus
3db86aab554edbb4244c8d1a1c90f152eee768afstevelextern "C" {
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#endif
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevel/*
3db86aab554edbb4244c8d1a1c90f152eee768afstevel * SOC EEPROM Map
3db86aab554edbb4244c8d1a1c90f152eee768afstevel */
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#define SOCAL_PROM_4TH_SELF_TST 0x00000 /* 0x05000 thru 0x05fff forth code */
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#define SOCAL_PROM_4TH_OBP_DRV 0x01000 /* thru 0x09fff forth OBP driver */
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#define SOCAL_PROM_OBP_HDR 0x05000 /* thru 0x002ff */
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#define SOCAL_PROM_FW_DATE_CODE 0x05300 /* thru 0x00303 FW date code */
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#define SOCAL_PROM_SRVC_PARM 0x05304 /* thru 0x00343 SOC+ Service params */
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#define SOCAL_PROM_LA_BIT_MASK 0x05344 /* thru 0x0034b link app bit mask */
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#define SOCAL_PROM_RSRV1 0x0534c /* thru 0x00fff */
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#define SOCAL_PROM_SOCAL_CODE 0x06000 /* thru 0x04fff SOC+ code */
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#define SOCAL_PROM_RSRV2 0x0f000 /* thru 0x0ffff */
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevel/*
3db86aab554edbb4244c8d1a1c90f152eee768afstevel * SOC XRam Map
3db86aab554edbb4244c8d1a1c90f152eee768afstevel */
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#define SOCAL_XRAM_REQ_DESC 0x00200 /* req circular que descriptors */
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#define SOCAL_XRAM_RSP_DESC 0x00220 /* req circular que descriptors */
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#define SOCAL_XRAM_LESB_P0 0x00240
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#define SOCAL_XRAM_LESB_P1 0x00258 /* thru 0x1026f */
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#define SOCAL_XRAM_SERV_PARAMS 0x00280
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#define SOCAL_XRAM_FW_DATE_STR 0x002dc /* ctime() format date code */
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#define SOCAL_XRAM_FW_DATE_CODE 0x002f8 /* thru 0x002fb FW date code */
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#define SOCAL_XRAM_HW_REV 0x002fc /* thru 0x002ff HW revision */
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#define SOCAL_XRAM_UCODE 0x00300 /* thru 0x03fff SOC+ microcode */
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#define SOCAL_XRAM_PORTA_WWN 0x00300 /* thru 0x00307, port A wwn */
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#define SOCAL_XRAM_PORTB_WWN 0x00308 /* thru 0x0030f, port B wwn */
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#define SOCAL_XRAM_NODE_WWN 0x00310 /* thru 0x00317, Node worldwide name */
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#define SOCAL_XRAM_PORTA_HRDA 0x00318 /* store port's hard address */
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#define SOCAL_XRAM_BUF_POOL 0x04000 /* thru 0x0bfff soc+ buffer pool */
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#define SOCAL_XRAM_EXCH_POOL 0x0c000 /* thru 0x0ffff soc+ exchange pool */
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#ifdef __cplusplus
3db86aab554edbb4244c8d1a1c90f152eee768afstevel}
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#endif
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#endif /* !_SYS_SOCALMAP_H */