diff options
author | df157793 <none@none> | 2005-06-21 19:39:15 -0700 |
---|---|---|
committer | df157793 <none@none> | 2005-06-21 19:39:15 -0700 |
commit | d3cf9c7d3cb6a89c5ee679d866610bc6baaf2c9a (patch) | |
tree | 0176d7faf4bc1deb7921acacec41a771413a47bc /usr/src/uts | |
parent | da1a9cbef1219322a90f60d264d9fa2b6d269314 (diff) | |
download | illumos-joyent-d3cf9c7d3cb6a89c5ee679d866610bc6baaf2c9a.tar.gz |
6245620 su driver install as sun4u specific should really go in /kernel/drv
--HG--
rename : usr/src/uts/sun4u/io/su_driver.c => usr/src/uts/sun4/io/su_driver.c
rename : usr/src/uts/sun4u/sys/sudev.h => usr/src/uts/sun4/sys/sudev.h
Diffstat (limited to 'usr/src/uts')
-rw-r--r-- | usr/src/uts/sun4/Makefile.files | 1 | ||||
-rw-r--r-- | usr/src/uts/sun4/io/su_driver.c (renamed from usr/src/uts/sun4u/io/su_driver.c) | 0 | ||||
-rw-r--r-- | usr/src/uts/sun4/sys/sudev.h (renamed from usr/src/uts/sun4u/sys/sudev.h) | 0 | ||||
-rw-r--r-- | usr/src/uts/sun4u/Makefile.files | 1 | ||||
-rw-r--r-- | usr/src/uts/sun4v/Makefile.sun4v | 1 | ||||
-rw-r--r-- | usr/src/uts/sun4v/su/Makefile | 88 |
6 files changed, 90 insertions, 1 deletions
diff --git a/usr/src/uts/sun4/Makefile.files b/usr/src/uts/sun4/Makefile.files index 6a26638401..0ddd3d7d58 100644 --- a/usr/src/uts/sun4/Makefile.files +++ b/usr/src/uts/sun4/Makefile.files @@ -82,6 +82,7 @@ FCODE_OBJS += fcode.o FCODEM_OBJS += fc_ddi.o fc_physio.o fc_ops.o fc_subr.o FCPCI_OBJS += fcpci.o EBUS_OBJS += ebus.o +SU_OBJS += su_driver.o # # Misc modules diff --git a/usr/src/uts/sun4u/io/su_driver.c b/usr/src/uts/sun4/io/su_driver.c index 4400077b45..4400077b45 100644 --- a/usr/src/uts/sun4u/io/su_driver.c +++ b/usr/src/uts/sun4/io/su_driver.c diff --git a/usr/src/uts/sun4u/sys/sudev.h b/usr/src/uts/sun4/sys/sudev.h index 2effc7528e..2effc7528e 100644 --- a/usr/src/uts/sun4u/sys/sudev.h +++ b/usr/src/uts/sun4/sys/sudev.h diff --git a/usr/src/uts/sun4u/Makefile.files b/usr/src/uts/sun4u/Makefile.files index 1701aa855f..9d9ca808e2 100644 --- a/usr/src/uts/sun4u/Makefile.files +++ b/usr/src/uts/sun4u/Makefile.files @@ -95,7 +95,6 @@ PSYCHO_PCI_OBJS += $(PCI_COMMON_OBJS) pcipsy.o SCHIZO_PCI_OBJS += $(PCI_COMMON_OBJS) pcisch_asm.o pcisch.o pcix.o SIMBA_PCI_OBJS += simba.o DB21554_OBJS += db21554.o -SU_OBJS += su_driver.o US_OBJS += us_drv.o POWER_OBJS += power.o GRBEEP_OBJS += grbeep.o diff --git a/usr/src/uts/sun4v/Makefile.sun4v b/usr/src/uts/sun4v/Makefile.sun4v index 1449304a05..af2a340293 100644 --- a/usr/src/uts/sun4v/Makefile.sun4v +++ b/usr/src/uts/sun4v/Makefile.sun4v @@ -330,6 +330,7 @@ DRV_KMODS += bge DRV_KMODS += mdesc DRV_KMODS += ncp DRV_KMODS += ebus +DRV_KMODS += su # # Exec Class Modules (/kernel/exec): # diff --git a/usr/src/uts/sun4v/su/Makefile b/usr/src/uts/sun4v/su/Makefile new file mode 100644 index 0000000000..9dc4c9ce2c --- /dev/null +++ b/usr/src/uts/sun4v/su/Makefile @@ -0,0 +1,88 @@ +# +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (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/sun4v/su/Makefile +# Copyright 2005 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# +#ident "%Z%%M% %I% %E% SMI" +# +# This makefile drives the production of the sun4v "su" driver module. +# +# sun4v 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 = su +OBJECTS = $(SU_OBJS:%=$(OBJS_DIR)/%) +LINTS = $(SU_OBJS:%.o=$(LINTS_DIR)/%.ln) +ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) + +# +# Include common rules. +# +include $(UTSBASE)/sun4v/Makefile.sun4v + +# +# Define targets +# +ALL_TARGET = $(BINARY) +LINT_TARGET = $(MODULE).lint +INSTALL_TARGET = $(BINARY) $(ROOTMODULE) + +# +# lint pass one enforcement +# +CFLAGS += $(CCVERBOSE) + +# +# 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)/sun4v/Makefile.targ |