summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorshige <shige@NetBSD.org>2006-03-13 16:20:58 +0000
committershige <shige@NetBSD.org>2006-03-13 16:20:58 +0000
commitab1557fd3e2d89325e7a55288a9ca2fa5e8a8ea8 (patch)
tree4a9e567fbc52a312bde1eeca33bcc8261e681f31 /sys
parent61e6e07d5b2b282f26e329ed9b2c6b71b6432406 (diff)
Remove obsled devices (using old gpio framework).
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/evbppc/conf/OPENBLOCKS26610
-rw-r--r--sys/arch/evbppc/conf/files.obs4056
-rw-r--r--sys/arch/evbppc/obs405/obs266_machdep.c6
3 files changed, 7 insertions, 15 deletions
diff --git a/sys/arch/evbppc/conf/OPENBLOCKS266 b/sys/arch/evbppc/conf/OPENBLOCKS266
index c3f96659107..2e9e00b59d8 100644
--- a/sys/arch/evbppc/conf/OPENBLOCKS266
+++ b/sys/arch/evbppc/conf/OPENBLOCKS266
@@ -1,4 +1,4 @@
-# $NetBSD: OPENBLOCKS266,v 1.29 2006/02/05 05:01:49 cube Exp $
+# $NetBSD: OPENBLOCKS266,v 1.30 2006/03/13 16:20:58 shige Exp $
#
# GENERIC -- everything that's currently supported
#
@@ -7,7 +7,7 @@ include "arch/evbppc/conf/std.obs405"
#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "OPENBLOCKS266-$Revision: 1.29 $"
+#ident "OPENBLOCKS266-$Revision: 1.30 $"
maxusers 32
@@ -166,10 +166,8 @@ options EMAC_EVENT_COUNTERS
gpiic0 at opb? addr ? irq ? # On-chip IIC controller
iic0 at gpiic? # I2C bus
xrtc0 at iic? addr 0x6f # RTC
-ppcgpio0 at opb? addr ? irq ? # On-chip GPIO controller
-obsled0 at ppcgpio? addr 0x0c # OBS LED connected GPIO
-obsled1 at ppcgpio? addr 0x0d # OBS LED connected GPIO
-obsled2 at ppcgpio? addr 0x0e # OBS LED connected GPIO
+opbgpio0 at opb? addr ? irq ? # On-chip GPIO controller
+gpio* at opbgpio? # GPIO framework
# PCI bus support
pci* at pchb?
diff --git a/sys/arch/evbppc/conf/files.obs405 b/sys/arch/evbppc/conf/files.obs405
index 17f20dd87b5..1ca078bb822 100644
--- a/sys/arch/evbppc/conf/files.obs405
+++ b/sys/arch/evbppc/conf/files.obs405
@@ -1,4 +1,4 @@
-# $NetBSD: files.obs405,v 1.14 2005/12/11 12:17:11 christos Exp $
+# $NetBSD: files.obs405,v 1.15 2006/03/13 16:20:58 shige Exp $
#
# obs405-specific configuration info
@@ -14,10 +14,6 @@ file arch/evbppc/obs405/obs266_machdep.c
file arch/evbppc/obs405/obs405_autoconf.c
file arch/evbppc/obs405/obs405_machdep.c
-device obsled
-attach obsled at ppcgpio
-file arch/evbppc/obs405/dev/obsled.c obsled
-
# Memory Disk for install kernel
file dev/md_root.c memory_disk_hooks
diff --git a/sys/arch/evbppc/obs405/obs266_machdep.c b/sys/arch/evbppc/obs405/obs266_machdep.c
index fa853d7cbe5..4db7702511d 100644
--- a/sys/arch/evbppc/obs405/obs266_machdep.c
+++ b/sys/arch/evbppc/obs405/obs266_machdep.c
@@ -1,4 +1,4 @@
-/* $NetBSD: obs266_machdep.c,v 1.2 2005/12/11 12:17:12 christos Exp $ */
+/* $NetBSD: obs266_machdep.c,v 1.3 2006/03/13 16:20:58 shige Exp $ */
/* Original: md_machdep.c,v 1.3 2005/01/24 18:47:37 shige Exp $ */
/*
@@ -68,7 +68,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obs266_machdep.c,v 1.2 2005/12/11 12:17:12 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obs266_machdep.c,v 1.3 2006/03/13 16:20:58 shige Exp $");
#include "opt_compat_netbsd.h"
#include "opt_ddb.h"
@@ -214,8 +214,6 @@ cpu_reboot(int howto, char *what)
static char str[256];
char *ap = str, *ap1 = ap;
- obs266_led_set(OBS266_LED_ON);
-
boothowto = howto;
if (!cold && !(howto & RB_NOSYNC) && !syncing) {
syncing = 1;