summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjl139090 <none@none>2008-03-19 21:32:18 -0700
committerjl139090 <none@none>2008-03-19 21:32:18 -0700
commit45391f50095088ce9d0b1362d78cb4d9d049e411 (patch)
tree9e524bbc92bf5989796de200e311958836f7e613
parentc333dd99c762d509c7eb6cce222221958e23b4c8 (diff)
downloadillumos-joyent-45391f50095088ce9d0b1362d78cb4d9d049e411.tar.gz
PSARC/2008/093 Lightning Platform Software Support
6549785 Solaris support needed for SUNW,USBRDT-5440 boards.
-rw-r--r--usr/src/cmd/boot/filelist/sparc/filelist.ramdisk1
-rw-r--r--usr/src/cmd/picl/plugins/sun4v/ontario/piclsbl/Makefile3
-rw-r--r--usr/src/lib/fm/topo/maps/Makefile3
-rw-r--r--usr/src/lib/fm/topo/maps/SUNW,USBRDT-5440/Makefile33
-rw-r--r--usr/src/lib/fm/topo/maps/SUNW,USBRDT-5440/USBRDT-5440-hc-topology.xml53
-rw-r--r--usr/src/lib/fm/topo/modules/sun4v/hostbridge/hb_rcid.c14
-rw-r--r--usr/src/lib/fm/topo/modules/sun4v/pcibus/pci_sun4v.h18
-rw-r--r--usr/src/lib/libpcp/sparc/Makefile5
-rw-r--r--usr/src/pkgdefs/SUNWcart200.v/prototype_com3
-rw-r--r--usr/src/pkgdefs/SUNWfmd/prototype_sparc6
-rw-r--r--usr/src/pkgdefs/SUNWkvmt200.v/prototype_com9
-rw-r--r--usr/src/pkgdefs/SUNWpiclu/prototype_sparc8
-rw-r--r--usr/src/pkgdefs/etc/exception_list_sparc1
-rw-r--r--usr/src/psm/stand/boot/sparcv9/sun4v/Makefile3
-rw-r--r--usr/src/uts/sun4v/Makefile16
-rw-r--r--usr/src/uts/sun4v/Makefile.lightning38
-rw-r--r--usr/src/uts/sun4v/Makefile.sun4v.shared3
17 files changed, 202 insertions, 15 deletions
diff --git a/usr/src/cmd/boot/filelist/sparc/filelist.ramdisk b/usr/src/cmd/boot/filelist/sparc/filelist.ramdisk
index aa02810afc..e1db3353ed 100644
--- a/usr/src/cmd/boot/filelist/sparc/filelist.ramdisk
+++ b/usr/src/cmd/boot/filelist/sparc/filelist.ramdisk
@@ -55,6 +55,7 @@ platform/SUNW,T5140
platform/SUNW,T5240
platform/SUNW,T5440
platform/SUNW,USBRDT-5240
+platform/SUNW,USBRDT-5440
platform/SUNW,Ultra-2
platform/SUNW,Ultra-250/kernel
platform/SUNW,Ultra-30
diff --git a/usr/src/cmd/picl/plugins/sun4v/ontario/piclsbl/Makefile b/usr/src/cmd/picl/plugins/sun4v/ontario/piclsbl/Makefile
index 4d24324725..cf53f7b8b1 100644
--- a/usr/src/cmd/picl/plugins/sun4v/ontario/piclsbl/Makefile
+++ b/usr/src/cmd/picl/plugins/sun4v/ontario/piclsbl/Makefile
@@ -19,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -81,6 +81,7 @@ LINKED_PLATFORMS += SUNW,SPARC-Enterprise-T5120
LINKED_PLATFORMS += SUNW,Netra-T5220
LINKED_PLATFORMS += SUNW,USBRDT-5240
LINKED_PLATFORMS += SUNW,Netra-T5440
+LINKED_PLATFORMS += SUNW,USBRDT-5440
LINKED_DIRS = $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%)
LINKED_LIB_DIRS = $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib)
diff --git a/usr/src/lib/fm/topo/maps/Makefile b/usr/src/lib/fm/topo/maps/Makefile
index a639bc5d28..1984b1bbf5 100644
--- a/usr/src/lib/fm/topo/maps/Makefile
+++ b/usr/src/lib/fm/topo/maps/Makefile
@@ -40,7 +40,8 @@ sparc_SUBDIRS = sun4u \
SUNW,Netra-CP3260 \
SUNW,USBRDT-5240 \
SUNW,Netra-T5220 \
- SUNW,Netra-T5440
+ SUNW,Netra-T5440 \
+ SUNW,USBRDT-5440
i386_SUBDIRS = i86pc \
i386 \
diff --git a/usr/src/lib/fm/topo/maps/SUNW,USBRDT-5440/Makefile b/usr/src/lib/fm/topo/maps/SUNW,USBRDT-5440/Makefile
new file mode 100644
index 0000000000..7637632b4d
--- /dev/null
+++ b/usr/src/lib/fm/topo/maps/SUNW,USBRDT-5440/Makefile
@@ -0,0 +1,33 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+#ident "%Z%%M% %I% %E% SMI"
+
+PLATFORMS = SUNW,USBRDT-5440
+CLASS = platform
+DTDFILE =
+TOPOFILE = USBRDT-5440-hc-topology.xml
+SRCDIR = ../SUNW,USBRDT-5440
+
+include ../Makefile.map
diff --git a/usr/src/lib/fm/topo/maps/SUNW,USBRDT-5440/USBRDT-5440-hc-topology.xml b/usr/src/lib/fm/topo/maps/SUNW,USBRDT-5440/USBRDT-5440-hc-topology.xml
new file mode 100644
index 0000000000..2d26e738bb
--- /dev/null
+++ b/usr/src/lib/fm/topo/maps/SUNW,USBRDT-5440/USBRDT-5440-hc-topology.xml
@@ -0,0 +1,53 @@
+<?xml version="1.0"?>
+<!DOCTYPE topology SYSTEM "/usr/share/lib/xml/dtd/topology.dtd.1">
+<!--
+ Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ Use is subject to license terms.
+
+ CDDL HEADER START
+
+ The contents of this file are subject to the terms of the
+ Common Development and Distribution License (the "License").
+ You may not use this file except in compliance with the License.
+
+ You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+ or http://www.opensolaris.org/os/licensing.
+ See the License for the specific language governing permissions
+ and limitations under the License.
+
+ When distributing Covered Code, include this CDDL HEADER in each
+ file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+ If applicable, add the following below this CDDL HEADER, with the
+ fields enclosed by brackets "[]" replaced with your own identifying
+ information: Portions Copyright [yyyy] [name of copyright owner]
+
+ CDDL HEADER END
+
+ ident "%Z%%M% %I% %E% SMI"
+-->
+
+<topology name='SUNW,USBRDT-5440' scheme='hc'>
+ <range name='motherboard' min='0' max='0'>
+ <enum-method name='motherboard' version='1'/>
+
+ <dependents grouping='children'>
+ <range name='interconnect' min='0' max='3'>
+ <enum-method name='zambezi' version='1'/>
+ </range>
+ </dependents>
+
+ <dependents grouping='children'>
+ <range name='chip' min='0' max='3'>
+ <enum-method name='chip' version='1'/>
+ </range>
+ </dependents>
+
+ <dependents grouping='children'>
+ <range name='hostbridge' min='0' max='254'>
+ <enum-method name='hostbridge' version='1'/>
+ </range>
+ </dependents>
+
+ </range>
+</topology>
+
diff --git a/usr/src/lib/fm/topo/modules/sun4v/hostbridge/hb_rcid.c b/usr/src/lib/fm/topo/modules/sun4v/hostbridge/hb_rcid.c
index 537f72cdaa..75f57bf538 100644
--- a/usr/src/lib/fm/topo/modules/sun4v/hostbridge/hb_rcid.c
+++ b/usr/src/lib/fm/topo/modules/sun4v/hostbridge/hb_rcid.c
@@ -44,6 +44,15 @@ prc_t t5140_prcs[] = {
{ 1, 0x500 }
};
+/* A list of physical root complexes of the SUNW,USBRDT-5440 platform */
+prc_t usbrdt_5440_prcs[] = {
+ /* physical id, bus address */
+ { 0, 0x400 },
+ { 1, 0x500 },
+ { 1, 0x600 },
+ { 1, 0x700 }
+};
+
pprc_t plat_prcids[] = {
/*
* platforms that have the same map with T200
@@ -87,7 +96,10 @@ pprc_t plat_prcids[] = {
t5140_prcs },
{ "SUNW,USBRDT-5240",
sizeof (t5140_prcs) / sizeof (prc_t),
- t5140_prcs }
+ t5140_prcs },
+ { "SUNW,USBRDT-5440",
+ sizeof (usbrdt_5440_prcs) / sizeof (prc_t),
+ usbrdt_5440_prcs }
};
pprcs_t prcids = {
diff --git a/usr/src/lib/fm/topo/modules/sun4v/pcibus/pci_sun4v.h b/usr/src/lib/fm/topo/modules/sun4v/pcibus/pci_sun4v.h
index 96d120a126..8fb181f72a 100644
--- a/usr/src/lib/fm/topo/modules/sun4v/pcibus/pci_sun4v.h
+++ b/usr/src/lib/fm/topo/modules/sun4v/pcibus/pci_sun4v.h
@@ -20,7 +20,7 @@
*/
/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -109,6 +109,17 @@ physnm_t blade_t6340_pnms[] = {
{ 1, "SYS/EM1" }
};
+physnm_t usbrdt5440_pnms[] = {
+ /* Slot #, Label */
+ { 0, "MB/RISER0/EM0" },
+ { 1, "MB/RISER0/EM1" },
+ { 2, "MB/RISER0/EM2" },
+ { 3, "MB/RISER0/EM3" },
+ { 4, "MB/RISER1/EM4" },
+ { 5, "MB/RISER1/EM5" },
+ { 6, "MB/RISER1/EM6" }
+};
+
pphysnm_t plat_pnames[] = {
{ "Sun-Fire-T200",
sizeof (t200_pnms) / sizeof (physnm_t),
@@ -143,7 +154,10 @@ pphysnm_t plat_pnames[] = {
netra_t5440_pnms },
{ "Sun-Blade-T6340",
sizeof (blade_t6340_pnms) / sizeof (physnm_t),
- blade_t6340_pnms }
+ blade_t6340_pnms },
+ { "USBRDT-5440",
+ sizeof (usbrdt5440_pnms) / sizeof (physnm_t),
+ usbrdt5440_pnms },
};
physlot_names_t PhyslotNMs = {
diff --git a/usr/src/lib/libpcp/sparc/Makefile b/usr/src/lib/libpcp/sparc/Makefile
index 225d62fa3e..3c354e78d2 100644
--- a/usr/src/lib/libpcp/sparc/Makefile
+++ b/usr/src/lib/libpcp/sparc/Makefile
@@ -19,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "%Z%%M% %I% %E% SMI"
@@ -45,7 +45,8 @@ LINKED_PLATFORMS = SUNW,Sun-Fire-T200 \
SUNW,Netra-CP3260 \
SUNW,USBRDT-5240 \
SUNW,Netra-T5220 \
- SUNW,Netra-T5440
+ SUNW,Netra-T5440 \
+ SUNW,USBRDT-5440
include ../Makefile.com
diff --git a/usr/src/pkgdefs/SUNWcart200.v/prototype_com b/usr/src/pkgdefs/SUNWcart200.v/prototype_com
index bf7046510f..f10b57f21a 100644
--- a/usr/src/pkgdefs/SUNWcart200.v/prototype_com
+++ b/usr/src/pkgdefs/SUNWcart200.v/prototype_com
@@ -19,7 +19,7 @@
# CDDL HEADER END
#
-# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -72,3 +72,4 @@ s none platform/SUNW,Sun-Blade-T6320=sun4v
s none platform/SUNW,Netra-CP3260=sun4v
s none platform/SUNW,USBRDT-5240=sun4v
s none platform/SUNW,Sun-Blade-T6340=sun4v
+s none platform/SUNW,USBRDT-5440=sun4v
diff --git a/usr/src/pkgdefs/SUNWfmd/prototype_sparc b/usr/src/pkgdefs/SUNWfmd/prototype_sparc
index 84b94a0cd9..93d92c3f83 100644
--- a/usr/src/pkgdefs/SUNWfmd/prototype_sparc
+++ b/usr/src/pkgdefs/SUNWfmd/prototype_sparc
@@ -237,3 +237,9 @@ d none usr/platform/SUNW,Netra-T5440/lib/fm 755 root bin
d none usr/platform/SUNW,Netra-T5440/lib/fm/topo 755 root bin
d none usr/platform/SUNW,Netra-T5440/lib/fm/topo/maps 755 root bin
f none usr/platform/SUNW,Netra-T5440/lib/fm/topo/maps/Netra-T5440-hc-topology.xml 444 root bin
+d none usr/platform/SUNW,USBRDT-5440 755 root sys
+d none usr/platform/SUNW,USBRDT-5440/lib 755 root bin
+d none usr/platform/SUNW,USBRDT-5440/lib/fm 755 root bin
+d none usr/platform/SUNW,USBRDT-5440/lib/fm/topo 755 root bin
+d none usr/platform/SUNW,USBRDT-5440/lib/fm/topo/maps 755 root bin
+f none usr/platform/SUNW,USBRDT-5440/lib/fm/topo/maps/USBRDT-5440-hc-topology.xml 444 root bin
diff --git a/usr/src/pkgdefs/SUNWkvmt200.v/prototype_com b/usr/src/pkgdefs/SUNWkvmt200.v/prototype_com
index 179eafe5f6..0ad4a6f229 100644
--- a/usr/src/pkgdefs/SUNWkvmt200.v/prototype_com
+++ b/usr/src/pkgdefs/SUNWkvmt200.v/prototype_com
@@ -19,7 +19,7 @@
# CDDL HEADER END
#
-# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -56,6 +56,7 @@ d none usr/platform/SUNW,T5140 755 root sys
d none usr/platform/SUNW,USBRDT-5240 755 root sys
d none usr/platform/SUNW,Netra-T5220 755 root sys
d none usr/platform/SUNW,Netra-T5440 755 root sys
+d none usr/platform/SUNW,USBRDT-5440 755 root sys
#
# create links to sun4v platform
#
@@ -67,6 +68,7 @@ s none usr/platform/SUNW,T5140/sbin=../sun4v/sbin
s none usr/platform/SUNW,USBRDT-5240/sbin=../sun4v/sbin
s none usr/platform/SUNW,Netra-T5220/sbin=../sun4v/sbin
s none usr/platform/SUNW,Netra-T5440/sbin=../sun4v/sbin
+s none usr/platform/SUNW,USBRDT-5440/sbin=../sun4v/sbin
#
# create lib directory
#
@@ -78,9 +80,9 @@ d none usr/platform/SUNW,Sun-Blade-T6320/lib 755 root bin
d none usr/platform/SUNW,SPARC-Enterprise-T5120/lib 755 root bin
d none usr/platform/SUNW,T5140/lib 755 root bin
d none usr/platform/SUNW,USBRDT-5240/lib 755 root bin
-
d none usr/platform/SUNW,Netra-T5220/lib 755 root bin
d none usr/platform/SUNW,Netra-T5440/lib 755 root bin
+d none usr/platform/SUNW,USBRDT-5440/lib 755 root bin
#
# add binary and libraries for prtdiag
#
@@ -101,6 +103,7 @@ s none usr/platform/SUNW,T5140/lib/libpcp.so=../../sun4v/lib/libpcp.so
s none usr/platform/SUNW,USBRDT-5240/lib/libpcp.so=../../sun4v/lib/libpcp.so
s none usr/platform/SUNW,Netra-T5220/lib/libpcp.so=../../sun4v/lib/libpcp.so
s none usr/platform/SUNW,Netra-T5440/lib/libpcp.so=../../sun4v/lib/libpcp.so
+s none usr/platform/SUNW,USBRDT-5440/lib/libpcp.so=../../sun4v/lib/libpcp.so
s none usr/platform/SUNW,Sun-Fire-T200/lib/libpcp.so.1=../../sun4v/lib/libpcp.so.1
s none usr/platform/SUNW,Netra-CP3060/lib/libpcp.so.1=../../sun4v/lib/libpcp.so.1
@@ -112,6 +115,7 @@ s none usr/platform/SUNW,T5140/lib/libpcp.so.1=../../sun4v/lib/libpcp.so.1
s none usr/platform/SUNW,USBRDT-5240/lib/libpcp.so.1=../../sun4v/lib/libpcp.so.1
s none usr/platform/SUNW,Netra-T5220/lib/libpcp.so.1=../../sun4v/lib/libpcp.so.1
s none usr/platform/SUNW,Netra-T5440/lib/libpcp.so.1=../../sun4v/lib/libpcp.so.1
+s none usr/platform/SUNW,USBRDT-5440/lib/libpcp.so.1=../../sun4v/lib/libpcp.so.1
#
# platform-dependent boot object
@@ -126,6 +130,7 @@ s none usr/platform/SUNW,T5140/lib/fs=../../sun4v/lib/fs
s none usr/platform/SUNW,USBRDT-5240/lib/fs=../../sun4v/lib/fs
s none usr/platform/SUNW,Netra-T5220/lib/fs=../../sun4v/lib/fs
s none usr/platform/SUNW,Netra-T5440/lib/fs=../../sun4v/lib/fs
+s none usr/platform/SUNW,USBRDT-5440/lib/fs=../../sun4v/lib/fs
#
# add erie link
#
diff --git a/usr/src/pkgdefs/SUNWpiclu/prototype_sparc b/usr/src/pkgdefs/SUNWpiclu/prototype_sparc
index bdf66561db..eba3073b91 100644
--- a/usr/src/pkgdefs/SUNWpiclu/prototype_sparc
+++ b/usr/src/pkgdefs/SUNWpiclu/prototype_sparc
@@ -20,7 +20,7 @@
#
#
-# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -434,3 +434,9 @@ d none usr/lib/sparcv9 755 root bin
f none usr/lib/sparcv9/libpicl.so.1 755 root bin
s none usr/lib/sparcv9/libpicl.so=./libpicl.so.1 755 root bin
f none usr/lib/sparcv9/llib-lpicl.ln 644 root bin
+d none usr/platform/SUNW,USBRDT-5440 755 root sys
+d none usr/platform/SUNW,USBRDT-5440/lib 755 root bin
+d none usr/platform/SUNW,USBRDT-5440/lib/picl 755 root sys
+d none usr/platform/SUNW,USBRDT-5440/lib/picl/plugins 755 root sys
+s none usr/platform/SUNW,USBRDT-5440/lib/picl/plugins/libpiclsbl.so=../../../../SUNW,Sun-Fire-T200/lib/picl/plugins/libpiclsbl.so.1
+s none usr/platform/SUNW,USBRDT-5440/lib/picl/plugins/libpiclsbl.so.1=../../../../SUNW,Sun-Fire-T200/lib/picl/plugins/libpiclsbl.so.1
diff --git a/usr/src/pkgdefs/etc/exception_list_sparc b/usr/src/pkgdefs/etc/exception_list_sparc
index bee353b9ed..942e27489b 100644
--- a/usr/src/pkgdefs/etc/exception_list_sparc
+++ b/usr/src/pkgdefs/etc/exception_list_sparc
@@ -840,6 +840,7 @@ usr/platform/SUNW,Netra-T5220/lib/llib-lpcp.ln sparc
usr/platform/SUNW,USBRDT-5240/lib/llib-lpcp.ln sparc
usr/platform/SUNW,Netra-T5220/lib/llib-lpcp.ln sparc
usr/platform/SUNW,Netra-T5440/lib/llib-lpcp.ln sparc
+usr/platform/SUNW,USBRDT-5440/lib/llib-lpcp.ln sparc
#
# ZFS internal tools and lint libraries
#
diff --git a/usr/src/psm/stand/boot/sparcv9/sun4v/Makefile b/usr/src/psm/stand/boot/sparcv9/sun4v/Makefile
index 70c3994ddf..bdc9a68c93 100644
--- a/usr/src/psm/stand/boot/sparcv9/sun4v/Makefile
+++ b/usr/src/psm/stand/boot/sparcv9/sun4v/Makefile
@@ -19,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "%Z%%M% %I% %E% SMI"
@@ -41,6 +41,7 @@ PLATLINKS += SUNW,T5140
PLATLINKS += SUNW,USBRDT-5240
PLATLINKS += SUNW,Netra-T5220
PLATLINKS += SUNW,Netra-T5440
+PLATLINKS += SUNW,USBRDT-5440
LINKED_DIRS = $(PLATLINKS:%=$(USR_PLAT_DIR)/%)
LINKED_LIB_DIRS = $(PLATLINKS:%=$(USR_PLAT_DIR)/%/lib)
diff --git a/usr/src/uts/sun4v/Makefile b/usr/src/uts/sun4v/Makefile
index bab292cce3..7154452d36 100644
--- a/usr/src/uts/sun4v/Makefile
+++ b/usr/src/uts/sun4v/Makefile
@@ -19,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -38,6 +38,7 @@ include Makefile.thunder
include Makefile.turgo
include Makefile.congo
include Makefile.monza
+include Makefile.lightning
USR_GLENDALE_DIR = $(USR_PLAT_DIR)/SUNW,Sun-Blade-T6320
USR_GLENDALE_SBIN_DIR = $(USR_GLENDALE_DIR)/sbin
@@ -209,7 +210,9 @@ install_platforms: $(ROOT_PSM_DIR) $(USR_PSM_DIR) \
$(USR_CONGO_DIR) $(USR_CONGO_SBIN_DIR) \
$(USR_CONGO_LIB_DIR) \
$(USR_MONZA_DIR) \
- $(USR_MONZA_SBIN_DIR) $(USR_MONZA_SBIN_LINKS)
+ $(USR_MONZA_SBIN_DIR) $(USR_MONZA_SBIN_LINKS) \
+ $(USR_LIGHTNING_DIR) $(USR_LIGHTNING_SBIN_DIR) \
+ $(USR_LIGHTNING_LIB_DIR)
#
@@ -297,6 +300,15 @@ $(USR_MONZA_SBIN_DIR): $(USR_MONZA_DIR)
$(USR_MONZA_SBIN_LINKS): $(USR_MONZA_SBIN_DIR)
$(INS.slink7)
+$(USR_LIGHTNING_DIR): $(USR_SUN4V_PLAT_DIR)
+ -$(INS.dir.root.sys)
+
+$(USR_LIGHTNING_SBIN_DIR): $(USR_LIGHTNING_DIR)
+ $(INS.slink5)
+
+$(USR_LIGHTNING_LIB_DIR): $(USR_LIGHTNING_DIR)
+ -$(INS.dir.root.bin)
+
#
# Full kernel lint target.
#
diff --git a/usr/src/uts/sun4v/Makefile.lightning b/usr/src/uts/sun4v/Makefile.lightning
new file mode 100644
index 0000000000..97f65791b1
--- /dev/null
+++ b/usr/src/uts/sun4v/Makefile.lightning
@@ -0,0 +1,38 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+#
+# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+#ident "%Z%%M% %I% %E% SMI"
+#
+# Global definitions for sun4v lightning implementation specific modules.
+#
+
+#
+# Define directories.
+#
+
+USR_SUN4V_PLAT_DIR = $(USR_PLAT_DIR)/$(PLATFORM)
+USR_LIGHTNING_DIR = $(USR_PLAT_DIR)/SUNW,USBRDT-5440
+USR_LIGHTNING_SBIN_DIR = $(USR_LIGHTNING_DIR)/sbin
+USR_LIGHTNING_LIB_DIR = $(USR_LIGHTNING_DIR)/lib
diff --git a/usr/src/uts/sun4v/Makefile.sun4v.shared b/usr/src/uts/sun4v/Makefile.sun4v.shared
index 3e1e48d725..60aa0eedc1 100644
--- a/usr/src/uts/sun4v/Makefile.sun4v.shared
+++ b/usr/src/uts/sun4v/Makefile.sun4v.shared
@@ -20,7 +20,7 @@
#
#
-# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "%Z%%M% %I% %E% SMI"
@@ -47,6 +47,7 @@ LINKED_PLATFORMS += SUNW,Netra-T5220
LINKED_PLATFORMS += SUNW,USBRDT-5240
LINKED_PLATFORMS += SUNW,Netra-T5440
LINKED_PLATFORMS += SUNW,Sun-Blade-T6340
+LINKED_PLATFORMS += SUNW,USBRDT-5440
PROMIF = ieee1275
PSMBASE = $(UTSBASE)/../psm