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 2007 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 _MONZA_H 35 #define _MONZA_H 36 37 #ifdef __cplusplus 38 extern "C" { 39 #endif 40 41 #define MONZA_PLATFORM "SUNW,Netra-CP3260" 42 #define MOTHERBOARD "MB" 43 #define IOBOARD "IO" 44 #define RTM "RTM" 45 #define PCIE_SWITCH "PCI-SWITCH" 46 #define PCI_BRIDGE "PCI-BRIDGE" 47 #define OPHIR "GBE" 48 #define PCIE "/PCIE" 49 #define AMC "AMC" 50 51 #define NETWORK "network" 52 #define ETHERNET "ethernet" 53 #define PCIEX "pciex" 54 #define PCI "pci" 55 56 #define MONZA_NIU "/niu@80" 57 #define MONZA_PCIE_SWITCH_PATH "/pci@0/pci@0" 58 59 #define MONZA_N2_XAUI0 "/niu@80/network@0" 60 #define MONZA_N2_XAUI1 "/niu@80/network@1" 61 #define MONZA_NETWORK_0 "/pci@0/pci@0/pci@9/network@0,1" /* Mgt. port 1 */ 62 #define MONZA_NETWORK_1 "/pci@0/pci@0/pci@9/network@0" /* Mgt. port 0 */ 63 #define MONZA_NETWORK_2 "/pci@0/pci@0/pci@2/network@0,1" /* RTM port 1 */ 64 #define MONZA_NETWORK_3 "/pci@0/pci@0/pci@2/network@0" /* RTM port 0 */ 65 #define MONZA_ENET_2 "/pci@0/pci@0/pci@2/ethernet@0,1" /* RTM port 1 */ 66 #define MONZA_ENET_3 "/pci@0/pci@0/pci@2/ethernet@0" /* RTM port 0 */ 67 #define MONZA_NETWORK_4 "/pci@0/pci@0/pci@1/network@0,1" /* Base port 1 */ 68 #define MONZA_NETWORK_5 "/pci@0/pci@0/pci@1/network@0" /* Base port 0 */ 69 70 #define MONZA_USB_0 "/pci@0/pci@0/pci@a/pci@0/usb@4,2" 71 #define MONZA_USB_1 "/pci@0/pci@0/pci@a/pci@0/usb@4,1" 72 #define MONZA_USB_2 "/pci@0/pci@0/pci@a/pci@0/usb@4" 73 #define MONZA_CF_PATH "/pci@0/pci@0/pci@a/pci@0/usb@4,2/storage@2/disk" 74 #define MONZA_RTM_PATH "/pci@0/pci@0/pci@8" 75 76 #define MONZA_CF_DEVICE "DISK" 77 78 /* 79 * Property names 80 */ 81 #define OBP_PROP_REG "reg" 82 #define OBP_PROP_CLOCK_FREQ "clock-frequency" 83 #define OBP_PROP_BOARD_NUM "board#" 84 #define OBP_PROP_REVISION_ID "revision-id" 85 #define OBP_PROP_VERSION_NUM "version#" 86 #define OBP_PROP_BOARD_TYPE "board_type" 87 #define OBP_PROP_ECACHE_SIZE "ecache-size" 88 #define OBP_PROP_IMPLEMENTATION "implementation#" 89 #define OBP_PROP_MASK "mask#" 90 #define OBP_PROP_COMPATIBLE "compatible" 91 #define OBP_PROP_BANNER_NAME "banner-name" 92 #define OBP_PROP_MODEL "model" 93 #define OBP_PROP_66MHZ_CAPABLE "66mhz-capable" 94 #define OBP_PROP_FBC_REG_ID "fbc_reg_id" 95 #define OBP_PROP_VERSION "version" 96 #define OBP_PROP_INSTANCE "instance" 97 98 #ifdef __cplusplus 99 } 100 #endif 101 102 #endif /* _MONZA_H */ 103