changeset 9516:07cc58bd5d6e

PSARC 2009/260 Delivery of audiots for x86 6198427 Driver for ALi M5451 AC-Link Controller
author Garrett D'Amore <gdamore@opensolaris.org>
date Thu, 30 Apr 2009 12:58:08 -0700
parents d3b739d9d043
children b4839b0aa7a4
files usr/src/pkgdefs/SUNWaudd/prototype_com usr/src/pkgdefs/SUNWaudd/prototype_i386 usr/src/pkgdefs/SUNWaudd/prototype_sparc usr/src/uts/intel/Makefile.intel.shared usr/src/uts/intel/audiots/Makefile usr/src/uts/sparc/audiots/Makefile
diffstat 6 files changed, 95 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/pkgdefs/SUNWaudd/prototype_com	Thu Apr 30 12:34:21 2009 -0700
+++ b/usr/src/pkgdefs/SUNWaudd/prototype_com	Thu Apr 30 12:58:08 2009 -0700
@@ -49,4 +49,5 @@
 f none kernel/drv/audio.conf 644 root sys
 f none kernel/drv/audioens.conf 644 root sys
 f none kernel/drv/audiopci.conf 644 root sys
+f none kernel/drv/audiots.conf 644 root sys
 f none kernel/drv/austr.conf 644 root sys
--- a/usr/src/pkgdefs/SUNWaudd/prototype_i386	Thu Apr 30 12:34:21 2009 -0700
+++ b/usr/src/pkgdefs/SUNWaudd/prototype_i386	Thu Apr 30 12:58:08 2009 -0700
@@ -50,9 +50,11 @@
 f none kernel/drv/audio 755 root sys
 f none kernel/drv/audioens 755 root sys
 f none kernel/drv/audiopci 755 root sys
+f none kernel/drv/audiots 755 root sys
 f none kernel/drv/austr 755 root sys
 f none kernel/misc/amd64/ac97 755 root sys
 f none kernel/drv/amd64/audio 755 root sys
 f none kernel/drv/amd64/audioens 755 root sys
+f none kernel/drv/amd64/audiots 755 root sys
 f none kernel/drv/amd64/audiopci 755 root sys
 f none kernel/drv/amd64/austr 755 root sys
--- a/usr/src/pkgdefs/SUNWaudd/prototype_sparc	Thu Apr 30 12:34:21 2009 -0700
+++ b/usr/src/pkgdefs/SUNWaudd/prototype_sparc	Thu Apr 30 12:58:08 2009 -0700
@@ -43,7 +43,6 @@
 # SUNWaudd
 #
 f none kernel/drv/audiocs.conf 644 root sys
-f none kernel/drv/audiots.conf 644 root sys
 f none kernel/drv/audio1575.conf 644 root sys
 d none kernel/drv/sparcv9 755 root sys
 f none kernel/drv/sparcv9/audio 755 root sys
--- a/usr/src/uts/intel/Makefile.intel.shared	Thu Apr 30 12:34:21 2009 -0700
+++ b/usr/src/uts/intel/Makefile.intel.shared	Thu Apr 30 12:58:08 2009 -0700
@@ -201,6 +201,7 @@
 DRV_KMODS	+= audiohd
 DRV_KMODS	+= audioixp
 DRV_KMODS	+= audiopci
+DRV_KMODS	+= audiots
 DRV_KMODS	+= audiovia823x
 DRV_KMODS	+= austr
 DRV_KMODS	+= bl 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/usr/src/uts/intel/audiots/Makefile	Thu Apr 30 12:58:08 2009 -0700
@@ -0,0 +1,90 @@
+#
+# 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 2009 Sun Microsystems, Inc.  All rights reserved.
+# Use is subject to license terms.
+#
+# uts/intel/audiots/Makefile
+#
+#	This makefile drives the production of the T2 audio driver
+#	(audiots) kernel module.
+#
+#
+#	Path to the base of the uts directory tree (usually /usr/src/uts).
+#
+UTSBASE = ../..
+
+#
+#	Define the module and object file sets.
+#
+MODULE		= audiots
+OBJECTS		= $(AUDIOTS_OBJS:%=$(OBJS_DIR)/%)
+LINTS		= $(AUDIOTS_OBJS:%.o=$(LINTS_DIR)/%.ln)
+ROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
+CONF_SRCDIR	= $(UTSBASE)/common/io/audio/drv/audiots
+
+#
+#	Include common rules.
+#
+include $(UTSBASE)/intel/Makefile.intel
+
+# 
+#	Overrides, lint pass one enforcement 
+# 
+CFLAGS		+= $(CCVERBOSE)
+
+#
+#	Depends on misc/ac97 and drv/audio
+#
+LDFLAGS		+= -dy -N misc/ac97 -N drv/audio
+
+#
+#	Define targets
+#
+ALL_TARGET	= $(BINARY) $(SRC_CONFILE)
+LINT_TARGET	= $(MODULE).lint
+INSTALL_TARGET	= $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
+
+#
+#	Default build targets.
+#
+.KEEP_STATE:
+
+def:		$(DEF_DEPS)
+
+all:		$(ALL_DEPS)
+
+clean:		$(CLEAN_DEPS)
+
+clobber:	$(CLOBBER_DEPS)
+
+lint:		$(LINT_DEPS)
+
+modlintlib:	$(MODLINTLIB_DEPS) lint32
+
+clean.lint:	$(CLEAN_LINT_DEPS)
+
+install:	$(INSTALL_DEPS)
+
+#
+#	Include common targets.
+#
+include $(UTSBASE)/intel/Makefile.targ
--- a/usr/src/uts/sparc/audiots/Makefile	Thu Apr 30 12:34:21 2009 -0700
+++ b/usr/src/uts/sparc/audiots/Makefile	Thu Apr 30 12:58:08 2009 -0700
@@ -52,7 +52,7 @@
 CFLAGS		+= $(CCVERBOSE)
 
 #
-#	Depends on misc/audiosup
+#	Depends on misc/ac97 and drv/audio
 #
 LDFLAGS		+= -dy -N misc/ac97 -N drv/audio