2N/A/*
2N/A * CDDL HEADER START
2N/A *
2N/A * The contents of this file are subject to the terms of the
2N/A * Common Development and Distribution License (the "License").
2N/A * You may not use this file except in compliance with the License.
2N/A *
2N/A * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A * or http://www.opensolaris.org/os/licensing.
2N/A * See the License for the specific language governing permissions
2N/A * and limitations under the License.
2N/A *
2N/A * When distributing Covered Code, include this CDDL HEADER in each
2N/A * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A * If applicable, add the following below this CDDL HEADER, with the
2N/A * fields enclosed by brackets "[]" replaced with your own identifying
2N/A * information: Portions Copyright [yyyy] [name of copyright owner]
2N/A *
2N/A * CDDL HEADER END
2N/A */
2N/A/*
2N/A * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
2N/A * Use is subject to license terms.
2N/A */
2N/A
2N/A/*
2N/A * Sun4v Platform header file.
2N/A *
2N/A * called when :
2N/A * machine_type == Montoya
2N/A *
2N/A */
2N/A
2N/A#ifndef _MONTOYA_H
2N/A#define _MONTOYA_H
2N/A
2N/A#pragma ident "%Z%%M% %I% %E% SMI"
2N/A
2N/A#ifdef __cplusplus
2N/Aextern "C" {
2N/A#endif
2N/A
2N/A#define MONTOYA_PLATFORM "SUNW,Netra-CP3060"
2N/A#define H20_IMPL 0x5678
2N/A#define IS_H20(impl) ((impl) == H20_IMPL)
2N/A#define PCIE_COMP_NUM 20
2N/A#define PCIX_COMP_NUM 20
2N/A#define MOTHERBOARD "MB"
2N/A#define IOBOARD "IO"
2N/A#define RTM "RTM"
2N/A#define SWITCH_A "PCI-SWITCH"
2N/A#define PCI_BRIDGE "PCI-BRIDGE"
2N/A#define OPHIR "GBE"
2N/A#define SATA_HBA "SATA-HBA"
2N/A#define PCIE "/PCIE"
2N/A#define AMC "AMC"
2N/A
2N/A#define NETWORK "network"
2N/A#define ETHERNET "ethernet"
2N/A#define PCIEX "pciex"
2N/A#define PCI "pci"
2N/A#define SCSI2 "scsi-2"
2N/A
2N/A#define FIRE_PATHA "/pci@7c0"
2N/A#define FIRE_PATHB "/pci@780"
2N/A#define SWITCH_PATH "/pci@780/pci@0" /* PCI express switch */
2N/A#define NETWORK_0_PATH "/pci@780/pci@0/pci@2/network@0" /* ether 0 */
2N/A#define NETWORK_1_PATH "/pci@780/pci@0/pci@2/network@0,1" /* ether 1 */
2N/A#define NETWORK_2_PATH "/pci@7c0/ethernet@0" /* serdes 0 */
2N/A#define NETWORK_3_PATH "/pci@7c0/ethernet@0,1" /* serdes 1 */
2N/A#define COMPACT_FLASH_PATH "/pci@780/pci@0/pci@1/pci/ide@1f/disk"
2N/A#define SATA_DISK_PATH "/pci@780/pci@0/pci@1/pci@0/ide@1f,1/disk"
2N/A#define AMC_PATH "/pci@780/pci@0/pci@8"
2N/A#define RTM_PCI_PATH "/pci@780/pci@0/pci@9"
2N/A
2N/A
2N/A/*
2N/A * Property names
2N/A */
2N/A#define OBP_PROP_REG "reg"
2N/A#define OBP_PROP_CLOCK_FREQ "clock-frequency"
2N/A#define OBP_PROP_BOARD_NUM "board#"
2N/A#define OBP_PROP_REVISION_ID "revision-id"
2N/A#define OBP_PROP_VERSION_NUM "version#"
2N/A#define OBP_PROP_BOARD_TYPE "board_type"
2N/A#define OBP_PROP_ECACHE_SIZE "ecache-size"
2N/A#define OBP_PROP_IMPLEMENTATION "implementation#"
2N/A#define OBP_PROP_MASK "mask#"
2N/A#define OBP_PROP_COMPATIBLE "compatible"
2N/A#define OBP_PROP_BANNER_NAME "banner-name"
2N/A#define OBP_PROP_MODEL "model"
2N/A#define OBP_PROP_66MHZ_CAPABLE "66mhz-capable"
2N/A#define OBP_PROP_FBC_REG_ID "fbc_reg_id"
2N/A#define OBP_PROP_VERSION "version"
2N/A#define OBP_PROP_INSTANCE "instance"
2N/A
2N/A#ifdef __cplusplus
2N/A}
2N/A#endif
2N/A
2N/A#endif /* _MONTOYA_H */