summaryrefslogtreecommitdiff
path: root/usr/src/uts/sparc/pcieb
diff options
context:
space:
mode:
authorKrishna Elango <Krishna.Elango@Sun.COM>2009-07-27 23:54:47 -0700
committerKrishna Elango <Krishna.Elango@Sun.COM>2009-07-27 23:54:47 -0700
commitd4bc0535efa2c2219e9f83246a5f371dc7f94273 (patch)
tree5d5312b342b198497a9d9c14552f018bcede02bb /usr/src/uts/sparc/pcieb
parenteda9cf2f0e53c9c123ac93b29c0d681902db98ce (diff)
downloadillumos-gate-d4bc0535efa2c2219e9f83246a5f371dc7f94273.tar.gz
6806540 SPARC and x86 bridge/switch nexus driver should be merged
--HG-- rename : usr/src/uts/common/io/pcie.c => usr/src/uts/common/io/pciex/pcie.c rename : usr/src/uts/common/io/pcie_fault.c => usr/src/uts/common/io/pciex/pcie_fault.c rename : usr/src/uts/sun4/io/px/pcie_pwr.c => usr/src/uts/common/io/pciex/pcie_pwr.c rename : usr/src/uts/intel/io/pciex/pcie_pci.c => usr/src/uts/common/io/pciex/pcieb.c rename : usr/src/uts/intel/io/pciex/pcie_pci.conf => usr/src/uts/common/io/pciex/pcieb.conf rename : usr/src/uts/sun4/io/px/px_pci.h => usr/src/uts/common/io/pciex/pcieb.h rename : usr/src/uts/sun4/io/px/pcie_pwr.h => usr/src/uts/common/sys/pcie_pwr.h rename : usr/src/uts/intel/pcie_pci/Makefile => usr/src/uts/intel/pcieb/Makefile rename : usr/src/uts/sun4/io/px/pxb_plx.h => usr/src/uts/sparc/io/pciex/pcieb_plx.h rename : usr/src/uts/sparc/px_pci/Makefile => usr/src/uts/sparc/pcieb/Makefile rename : usr/src/uts/sparc/pxb_bcm/Makefile => usr/src/uts/sparc/pcieb_bcm/Makefile
Diffstat (limited to 'usr/src/uts/sparc/pcieb')
-rw-r--r--usr/src/uts/sparc/pcieb/Makefile111
1 files changed, 111 insertions, 0 deletions
diff --git a/usr/src/uts/sparc/pcieb/Makefile b/usr/src/uts/sparc/pcieb/Makefile
new file mode 100644
index 0000000000..f6690fec79
--- /dev/null
+++ b/usr/src/uts/sparc/pcieb/Makefile
@@ -0,0 +1,111 @@
+#
+# 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
+#
+#
+# uts/sparc/pcieb/Makefile
+#
+# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# This makefile drives the production of the pcieb driver kernel module
+#
+# sparc implementation architecture dependent
+#
+
+#
+# Path to the base of the uts directory tree (usually /usr/src/uts).
+#
+UTSBASE = ../..
+
+#
+# Define the module and object file sets.
+#
+MODULE = pcieb
+OBJECTS = $(PCIEB_OBJS:%=$(OBJS_DIR)/%)
+LINTS = $(PCIEB_OBJS:%.o=$(LINTS_DIR)/%.ln)
+ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
+CONF_SRCDIR = $(UTSBASE)/common/io/pciex/
+
+#
+# Include common rules.
+#
+include $(UTSBASE)/sparc/Makefile.sparc
+
+#
+# Define targets
+#
+ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
+LINT_TARGET = $(MODULE).lint
+INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
+
+#
+# lint pass one enforcement
+#
+CFLAGS += $(CCVERBOSE)
+
+#
+# Turn on doubleword alignment for 64 bit registers
+#
+CFLAGS += -dalign
+
+#
+# Enable PLX workaround code and lint duplicate symbol
+# avoidance hack
+#
+CPPFLAGS += -DPX_PLX
+
+#
+# Dependency
+#
+LDFLAGS += -dy -Nmisc/pcie -Nmisc/pcishpc -Nmisc/pcihp -Nmisc/pciehpc
+
+#
+# For now, disable these lint checks; maintainers should endeavor
+# to investigate and remove these for maximum lint coverage.
+# Please do not carry these forward to new Makefiles.
+#
+LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
+LINTTAGS += -erroff=E_STATIC_UNUSED
+
+#
+# Default build targets.
+#
+.KEEP_STATE:
+
+def: $(DEF_DEPS)
+
+all: $(ALL_DEPS)
+
+clean: $(CLEAN_DEPS)
+
+clobber: $(CLOBBER_DEPS)
+
+lint: $(LINT_DEPS)
+
+modlintlib: $(MODLINTLIB_DEPS)
+
+clean.lint: $(CLEAN_LINT_DEPS)
+
+install: $(INSTALL_DEPS)
+
+#
+# Include common targets.
+#
+include $(UTSBASE)/sparc/Makefile.targ