1*fd845fc0Sks /* 2*fd845fc0Sks * CDDL HEADER START 3*fd845fc0Sks * 4*fd845fc0Sks * The contents of this file are subject to the terms of the 5*fd845fc0Sks * Common Development and Distribution License (the "License"). 6*fd845fc0Sks * You may not use this file except in compliance with the License. 7*fd845fc0Sks * 8*fd845fc0Sks * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*fd845fc0Sks * or http://www.opensolaris.org/os/licensing. 10*fd845fc0Sks * See the License for the specific language governing permissions 11*fd845fc0Sks * and limitations under the License. 12*fd845fc0Sks * 13*fd845fc0Sks * When distributing Covered Code, include this CDDL HEADER in each 14*fd845fc0Sks * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*fd845fc0Sks * If applicable, add the following below this CDDL HEADER, with the 16*fd845fc0Sks * fields enclosed by brackets "[]" replaced with your own identifying 17*fd845fc0Sks * information: Portions Copyright [yyyy] [name of copyright owner] 18*fd845fc0Sks * 19*fd845fc0Sks * CDDL HEADER END 20*fd845fc0Sks */ 21*fd845fc0Sks /* 22*fd845fc0Sks * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 23*fd845fc0Sks * Use is subject to license terms. 24*fd845fc0Sks */ 25*fd845fc0Sks 26*fd845fc0Sks /* 27*fd845fc0Sks * Sun4v Platform header file. 28*fd845fc0Sks * 29*fd845fc0Sks * called when : 30*fd845fc0Sks * machine_type == Montoya 31*fd845fc0Sks * 32*fd845fc0Sks */ 33*fd845fc0Sks 34*fd845fc0Sks #ifndef _MONTOYA_H 35*fd845fc0Sks #define _MONTOYA_H 36*fd845fc0Sks 37*fd845fc0Sks #ifdef __cplusplus 38*fd845fc0Sks extern "C" { 39*fd845fc0Sks #endif 40*fd845fc0Sks 41*fd845fc0Sks #define MONTOYA_PLATFORM "SUNW,Netra-CP3060" 42*fd845fc0Sks #define H20_IMPL 0x5678 43*fd845fc0Sks #define IS_H20(impl) ((impl) == H20_IMPL) 44*fd845fc0Sks #define PCIE_COMP_NUM 20 45*fd845fc0Sks #define PCIX_COMP_NUM 20 46*fd845fc0Sks #define MOTHERBOARD "MB" 47*fd845fc0Sks #define IOBOARD "IO" 48*fd845fc0Sks #define RTM "RTM" 49*fd845fc0Sks #define SWITCH_A "PCI-SWITCH" 50*fd845fc0Sks #define PCI_BRIDGE "PCI-BRIDGE" 51*fd845fc0Sks #define OPHIR "GBE" 52*fd845fc0Sks #define SATA_HBA "SATA-HBA" 53*fd845fc0Sks #define PCIE "/PCIE" 54*fd845fc0Sks #define AMC "AMC" 55*fd845fc0Sks 56*fd845fc0Sks #define NETWORK "network" 57*fd845fc0Sks #define ETHERNET "ethernet" 58*fd845fc0Sks #define PCIEX "pciex" 59*fd845fc0Sks #define PCI "pci" 60*fd845fc0Sks #define SCSI2 "scsi-2" 61*fd845fc0Sks 62*fd845fc0Sks #define FIRE_PATHA "/pci@7c0" 63*fd845fc0Sks #define FIRE_PATHB "/pci@780" 64*fd845fc0Sks #define SWITCH_PATH "/pci@780/pci@0" /* PCI express switch */ 65*fd845fc0Sks #define NETWORK_0_PATH "/pci@780/pci@0/pci@2/network@0" /* ether 0 */ 66*fd845fc0Sks #define NETWORK_1_PATH "/pci@780/pci@0/pci@2/network@0,1" /* ether 1 */ 67*fd845fc0Sks #define NETWORK_2_PATH "/pci@7c0/ethernet@0" /* serdes 0 */ 68*fd845fc0Sks #define NETWORK_3_PATH "/pci@7c0/ethernet@0,1" /* serdes 1 */ 69*fd845fc0Sks #define COMPACT_FLASH_PATH "/pci@780/pci@0/pci@1/pci/ide@1f/disk" 70*fd845fc0Sks #define SATA_DISK_PATH "/pci@780/pci@0/pci@1/pci@0/ide@1f,1/disk" 71*fd845fc0Sks #define AMC_PATH "/pci@780/pci@0/pci@8" 72*fd845fc0Sks #define RTM_PCI_PATH "/pci@780/pci@0/pci@9" 73*fd845fc0Sks 74*fd845fc0Sks 75*fd845fc0Sks /* 76*fd845fc0Sks * Property names 77*fd845fc0Sks */ 78*fd845fc0Sks #define OBP_PROP_REG "reg" 79*fd845fc0Sks #define OBP_PROP_CLOCK_FREQ "clock-frequency" 80*fd845fc0Sks #define OBP_PROP_BOARD_NUM "board#" 81*fd845fc0Sks #define OBP_PROP_REVISION_ID "revision-id" 82*fd845fc0Sks #define OBP_PROP_VERSION_NUM "version#" 83*fd845fc0Sks #define OBP_PROP_BOARD_TYPE "board_type" 84*fd845fc0Sks #define OBP_PROP_ECACHE_SIZE "ecache-size" 85*fd845fc0Sks #define OBP_PROP_IMPLEMENTATION "implementation#" 86*fd845fc0Sks #define OBP_PROP_MASK "mask#" 87*fd845fc0Sks #define OBP_PROP_COMPATIBLE "compatible" 88*fd845fc0Sks #define OBP_PROP_BANNER_NAME "banner-name" 89*fd845fc0Sks #define OBP_PROP_MODEL "model" 90*fd845fc0Sks #define OBP_PROP_66MHZ_CAPABLE "66mhz-capable" 91*fd845fc0Sks #define OBP_PROP_FBC_REG_ID "fbc_reg_id" 92*fd845fc0Sks #define OBP_PROP_VERSION "version" 93*fd845fc0Sks #define OBP_PROP_INSTANCE "instance" 94*fd845fc0Sks 95*fd845fc0Sks #ifdef __cplusplus 96*fd845fc0Sks } 97*fd845fc0Sks #endif 98*fd845fc0Sks 99*fd845fc0Sks #endif /* _MONTOYA_H */ 100