summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/conf
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2006-01-03 17:23:20 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2006-01-03 17:23:20 +0000
commit3ab528ee7c85f0b735ff75f1f8917cc2cf7916f0 (patch)
treecfd5c6f46707ef1e562314aca139ffa1bbd99b82 /sys/arch/macppc/conf
parentdf6eda3ae34e118f470b67f40cc2bb1161e1f037 (diff)
work in progress on the Apple Sudden Motion Sensor found in recent
PowerBooks and iBooks, driver is commented out for now; with prodding, help and ok from kettenis@, ok deraadt@.
Diffstat (limited to 'sys/arch/macppc/conf')
-rw-r--r--sys/arch/macppc/conf/GENERIC3
-rw-r--r--sys/arch/macppc/conf/files.macppc7
2 files changed, 8 insertions, 2 deletions
diff --git a/sys/arch/macppc/conf/GENERIC b/sys/arch/macppc/conf/GENERIC
index d5896e05ab3..1280a59ab27 100644
--- a/sys/arch/macppc/conf/GENERIC
+++ b/sys/arch/macppc/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.120 2006/01/01 20:52:23 deraadt Exp $g
+# $OpenBSD: GENERIC,v 1.121 2006/01/03 17:23:19 xsa Exp $g
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
@@ -266,6 +266,7 @@ gpio* at pcagpio?
maxds* at iic?
fcu* at iic?
adt* at iic?
+#asms* at iic?
# CardBus bus support
cardbus* at cardslot?
diff --git a/sys/arch/macppc/conf/files.macppc b/sys/arch/macppc/conf/files.macppc
index b8a2ce0eba0..b6008874578 100644
--- a/sys/arch/macppc/conf/files.macppc
+++ b/sys/arch/macppc/conf/files.macppc
@@ -1,4 +1,4 @@
-# $OpenBSD: files.macppc,v 1.44 2006/01/01 20:52:23 deraadt Exp $
+# $OpenBSD: files.macppc,v 1.45 2006/01/03 17:23:19 xsa Exp $
#
# macppc-specific configuration info
@@ -288,3 +288,8 @@ file dev/pci/if_hme_pci.c hme_pci
device tpms: hid, wsmousedev
attach tpms at uhidbus
file arch/macppc/dev/tpms.c tpms
+
+# Apple Sudden Motion Sensor
+device asms
+attach asms at i2c
+file arch/macppc/dev/asms.c asms