6720485 pit_beep driver should be supplied for Xen.
authormarx
Mon, 04 Aug 2008 18:37:21 -0700
changeset 7292 f2e5eb061c2f
parent 7291 310dd647824d
child 7293 7e3aaccffc51
6720485 pit_beep driver should be supplied for Xen.
usr/src/pkgdefs/SUNWcakrx.i/prototype_com
usr/src/uts/i86xpv/Makefile.i86xpv.shared
usr/src/uts/i86xpv/pit_beep/Makefile
--- a/usr/src/pkgdefs/SUNWcakrx.i/prototype_com	Mon Aug 04 17:16:15 2008 -0700
+++ b/usr/src/pkgdefs/SUNWcakrx.i/prototype_com	Mon Aug 04 18:37:21 2008 -0700
@@ -56,6 +56,8 @@
 f none platform/i86xpv/kernel/drv/isa 755 root sys
 f none platform/i86xpv/kernel/drv/npe 755 root sys
 f none platform/i86xpv/kernel/drv/pci 755 root sys
+f none platform/i86xpv/kernel/drv/pit_beep 755 root sys
+f none platform/i86xpv/kernel/drv/pit_beep.conf 644 root sys
 f none platform/i86xpv/kernel/drv/privcmd 755 root sys
 f none platform/i86xpv/kernel/drv/rootnex 755 root sys
 f none platform/i86xpv/kernel/drv/xdb 755 root sys
@@ -91,6 +93,7 @@
 f none platform/i86xpv/kernel/drv/amd64/isa 755 root sys
 f none platform/i86xpv/kernel/drv/amd64/npe 755 root sys
 f none platform/i86xpv/kernel/drv/amd64/pci 755 root sys
+f none platform/i86xpv/kernel/drv/amd64/pit_beep 755 root sys
 f none platform/i86xpv/kernel/drv/amd64/privcmd 755 root sys
 f none platform/i86xpv/kernel/drv/amd64/rootnex 755 root sys
 f none platform/i86xpv/kernel/drv/amd64/xenbus 755 root sys
--- a/usr/src/uts/i86xpv/Makefile.i86xpv.shared	Mon Aug 04 17:16:15 2008 -0700
+++ b/usr/src/uts/i86xpv/Makefile.i86xpv.shared	Mon Aug 04 18:37:21 2008 -0700
@@ -243,6 +243,7 @@
 DRV_KMODS	+= ioat
 DRV_KMODS	+= isa
 DRV_KMODS	+= pci
+DRV_KMODS	+= pit_beep
 DRV_KMODS	+= npe
 DRV_KMODS	+= pci-ide
 DRV_KMODS	+= xsvc
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/usr/src/uts/i86xpv/pit_beep/Makefile	Mon Aug 04 18:37:21 2008 -0700
@@ -0,0 +1,85 @@
+#
+# 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"
+#
+# uts/intel/pit_beep/Makefile
+#
+# This makefile drives the production of the pit_beep driver.
+#
+# i86xpv 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		= pit_beep
+OBJECTS		= $(PIT_BEEP_OBJS:%=$(OBJS_DIR)/%)
+LINTS		= $(PIT_BEEP_OBJS:%.o=$(LINTS_DIR)/%.ln)
+ROOTMODULE	= $(ROOT_PSM_DRV_DIR)/$(MODULE)
+CONF_SRCDIR     = $(UTSBASE)/intel/io
+
+#
+#	Include common rules.
+#
+include $(UTSBASE)/i86xpv/Makefile.i86xpv
+
+#
+# lint pass one enforcement
+#
+CFLAGS += $(CCVERBOSE)
+
+#
+#	Define targets
+#
+ALL_TARGET      = $(BINARY) $(CONFMOD)
+LINT_TARGET	= $(MODULE).lint
+INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
+
+.KEEP_STATE:
+
+all:		$(ALL_DEPS)
+
+def:		$(DEF_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)/i86xpv/Makefile.targ