changeset 3922:b91c18bd1ebf

6510705 fpc needs to work on Boston and Seattle systems
author rameshc
date Thu, 29 Mar 2007 08:58:09 -0700
parents 73fc58283c66
children ea8d153ef9ae
files usr/src/pkgdefs/SUNWiopc.u/prototype_sparc usr/src/uts/sun4u/fpc/Makefile
diffstat 2 files changed, 74 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/pkgdefs/SUNWiopc.u/prototype_sparc	Thu Mar 29 07:44:51 2007 -0700
+++ b/usr/src/pkgdefs/SUNWiopc.u/prototype_sparc	Thu Mar 29 08:58:09 2007 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # ident	"%Z%%M%	%I%	%E% SMI"
@@ -56,3 +56,15 @@
 d none platform/SUNW,A70/kernel/drv/sparcv9 755 root sys
 f none platform/SUNW,A70/kernel/drv/fpc.conf 644 root sys
 f none platform/SUNW,A70/kernel/drv/sparcv9/fpc 755 root sys
+d none platform/SUNW,Sun-Fire-V445 755 root sys
+d none platform/SUNW,Sun-Fire-V445/kernel 755 root sys
+d none platform/SUNW,Sun-Fire-V445/kernel/drv 755 root sys
+d none platform/SUNW,Sun-Fire-V445/kernel/drv/sparcv9 755 root sys
+s none platform/SUNW,Sun-Fire-V445/kernel/drv/sparcv9/fpc=../../../../SUNW,A70/kernel/drv/sparcv9/fpc
+s none platform/SUNW,Sun-Fire-V445/kernel/drv/fpc.conf=../../../SUNW,A70/kernel/drv/fpc.conf
+d none platform/SUNW,Sun-Fire-V215 755 root sys
+d none platform/SUNW,Sun-Fire-V215/kernel 755 root sys
+d none platform/SUNW,Sun-Fire-V215/kernel/drv 755 root sys
+d none platform/SUNW,Sun-Fire-V215/kernel/drv/sparcv9 755 root sys
+s none platform/SUNW,Sun-Fire-V215/kernel/drv/sparcv9/fpc=../../../../SUNW,A70/kernel/drv/sparcv9/fpc
+s none platform/SUNW,Sun-Fire-V215/kernel/drv/fpc.conf=../../../SUNW,A70/kernel/drv/fpc.conf
--- a/usr/src/uts/sun4u/fpc/Makefile	Thu Mar 29 07:44:51 2007 -0700
+++ b/usr/src/uts/sun4u/fpc/Makefile	Thu Mar 29 08:58:09 2007 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # ident	"%Z%%M%	%I%	%E% SMI"
@@ -47,6 +47,26 @@
 ROOTMODULE	= $(ROOT_CHICAGO_DRV_DIR)/$(MODULE)
 CONF_SRCDIR	= $(UTSBASE)/sun4/io/fpc
 
+ROOT_BOSTON_DIR		= $(ROOT_PLAT_DIR)/SUNW,Sun-Fire-V445
+ROOT_BOSTON_MOD_DIR	= $(ROOT_BOSTON_DIR)/kernel
+ROOT_BOSTON_DRV_DIR_32	= $(ROOT_BOSTON_MOD_DIR)/drv
+ROOT_BOSTON_DRV_DIR_64	= $(ROOT_BOSTON_DRV_DIR_32)/$(SUBDIR64)
+
+ROOT_SEATTLE_DIR	= $(ROOT_PLAT_DIR)/SUNW,Sun-Fire-V215
+ROOT_SEATTLE_MOD_DIR	= $(ROOT_SEATTLE_DIR)/kernel
+ROOT_SEATTLE_DRV_DIR_32	= $(ROOT_SEATTLE_MOD_DIR)/drv
+ROOT_SEATTLE_DRV_DIR_64	= $(ROOT_SEATTLE_DRV_DIR_32)/$(SUBDIR64)
+
+ROOTMODULE_SOFTLINK	= $(ROOT_BOSTON_DRV_DIR_64:$(ROOT_BOSTON_DIR)%=../../../../SUNW,A70%/$(MODULE))
+
+CONFFILE_SOFTLINK	= $(ROOT_BOSTON_DRV_DIR_32:$(ROOT_BOSTON_DIR)%=../../../SUNW,A70%/$(CONFFILE))
+
+BOSTON_ROOTMODULE	= $(ROOT_BOSTON_DRV_DIR_64)/$(MODULE)
+BOSTON_CONFFILE		= $(ROOT_BOSTON_DRV_DIR_32)/$(CONFFILE)
+
+SEATTLE_ROOTMODULE	= $(ROOT_SEATTLE_DRV_DIR_64)/$(MODULE)
+SEATTLE_CONFFILE	= $(ROOT_SEATTLE_DRV_DIR_32)/$(CONFFILE)
+
 #
 #	Include common rules.
 #
@@ -57,7 +77,9 @@
 #
 ALL_TARGET	= $(BINARY) $(SRC_CONFFILE)
 LINT_TARGET	= $(MODULE).lint
-INSTALL_TARGET	= $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
+INSTALL_TARGET	= $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) \
+			$(BOSTON_ROOTMODULE) $(BOSTON_CONFFILE) \
+			$(SEATTLE_ROOTMODULE) $(SEATTLE_CONFFILE)
 
 #
 #	Include SUN4 and SUN4U specific headers files
@@ -103,6 +125,43 @@
 
 install:	$(INSTALL_DEPS)
 
+$(ROOT_BOSTON_DIR): $(ROOT_PLAT_DIR)
+	-$(INS.dir.root.sys)
+
+$(ROOT_BOSTON_MOD_DIR): $(ROOT_BOSTON_DIR)
+	-$(INS.dir.root.sys)
+
+$(ROOT_BOSTON_DRV_DIR_32): $(ROOT_BOSTON_MOD_DIR)
+	-$(INS.dir.root.sys)
+
+$(ROOT_BOSTON_DRV_DIR_64): $(ROOT_BOSTON_DRV_DIR_32)
+	-$(INS.dir.root.sys)
+
+$(ROOT_SEATTLE_DIR): $(ROOT_PLAT_DIR)
+	-$(INS.dir.root.sys)
+
+$(ROOT_SEATTLE_MOD_DIR): $(ROOT_SEATTLE_DIR)
+	-$(INS.dir.root.sys)
+
+$(ROOT_SEATTLE_DRV_DIR_32): $(ROOT_SEATTLE_MOD_DIR)
+	-$(INS.dir.root.sys)
+
+$(ROOT_SEATTLE_DRV_DIR_64): $(ROOT_SEATTLE_DRV_DIR_32)
+	-$(INS.dir.root.sys)
+
+$(BOSTON_ROOTMODULE): $(ROOTMODULE) $(ROOT_BOSTON_DRV_DIR_64)
+	$(RM) $@; $(SYMLINK) $(ROOTMODULE_SOFTLINK) $@
+
+$(BOSTON_CONFFILE): $(ROOT_CONFFILE) $(ROOT_BOSTON_DRV_DIR_32)
+	$(RM) $@; $(SYMLINK) $(CONFFILE_SOFTLINK) $@
+
+$(SEATTLE_ROOTMODULE): $(ROOTMODULE) $(ROOT_SEATTLE_DRV_DIR_64)
+	$(RM) $@; $(SYMLINK) $(ROOTMODULE_SOFTLINK) $@
+
+$(SEATTLE_CONFFILE): $(ROOT_CONFFILE) $(ROOT_SEATTLE_DRV_DIR_32)
+	$(RM) $@; $(SYMLINK) $(CONFFILE_SOFTLINK) $@
+
+
 #
 #	Include common targets.
 #