summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authormarx <none@none>2008-08-04 18:37:21 -0700
committermarx <none@none>2008-08-04 18:37:21 -0700
commitab1eb80a7237fca06df43e2adb4776f0316547a4 (patch)
treeb249bc2842bdab8eb63364e791d019a975efe01a /usr/src
parentbaf2c95cb7af3bdff76a3e6693e566e0b8b75bc4 (diff)
downloadillumos-joyent-ab1eb80a7237fca06df43e2adb4776f0316547a4.tar.gz
6720485 pit_beep driver should be supplied for Xen.
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/pkgdefs/SUNWcakrx.i/prototype_com3
-rw-r--r--usr/src/uts/i86xpv/Makefile.i86xpv.shared1
-rw-r--r--usr/src/uts/i86xpv/pit_beep/Makefile85
3 files changed, 89 insertions, 0 deletions
diff --git a/usr/src/pkgdefs/SUNWcakrx.i/prototype_com b/usr/src/pkgdefs/SUNWcakrx.i/prototype_com
index d70a2a9740..d62c5c42b3 100644
--- a/usr/src/pkgdefs/SUNWcakrx.i/prototype_com
+++ b/usr/src/pkgdefs/SUNWcakrx.i/prototype_com
@@ -56,6 +56,8 @@ f none platform/i86xpv/kernel/drv/evtchn 755 root sys
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/evtchn 755 root sys
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
diff --git a/usr/src/uts/i86xpv/Makefile.i86xpv.shared b/usr/src/uts/i86xpv/Makefile.i86xpv.shared
index 6c41c1141d..5ac97e8851 100644
--- a/usr/src/uts/i86xpv/Makefile.i86xpv.shared
+++ b/usr/src/uts/i86xpv/Makefile.i86xpv.shared
@@ -243,6 +243,7 @@ DRV_KMODS += rootnex
DRV_KMODS += ioat
DRV_KMODS += isa
DRV_KMODS += pci
+DRV_KMODS += pit_beep
DRV_KMODS += npe
DRV_KMODS += pci-ide
DRV_KMODS += xsvc
diff --git a/usr/src/uts/i86xpv/pit_beep/Makefile b/usr/src/uts/i86xpv/pit_beep/Makefile
new file mode 100644
index 0000000000..0810eea833
--- /dev/null
+++ b/usr/src/uts/i86xpv/pit_beep/Makefile
@@ -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