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