summaryrefslogtreecommitdiff
path: root/sys/arch/arm
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-01-25 17:30:50 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-01-25 17:30:50 +0000
commit112f090549c39e469480bf3625bd6137eaab39d1 (patch)
treec7ec175a5890515c89556591576f5dfd31ec70f9 /sys/arch/arm
parentf95ef1bc3da71857aded3948e0941019d6e8ad9b (diff)
Remove /dev/drum and related code.
Diffstat (limited to 'sys/arch/arm')
-rw-r--r--sys/arch/arm/arm/conf.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/arm/arm/conf.c b/sys/arch/arm/arm/conf.c
index 252fafedcc2..a130173d874 100644
--- a/sys/arch/arm/arm/conf.c
+++ b/sys/arch/arm/arm/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.20 2008/11/27 11:40:18 drahn Exp $ */
+/* $OpenBSD: conf.c,v 1.21 2009/01/25 17:30:48 miod Exp $ */
/* $NetBSD: conf.c,v 1.10 2002/04/19 01:04:38 wiz Exp $ */
/*
@@ -104,7 +104,6 @@ cdev_decl(sscom);
*/
#include "wd.h"
bdev_decl(wd);
-bdev_decl(sw);
#ifdef USER_PCICONF
#include "pci.h"
@@ -298,7 +297,7 @@ struct cdevsw cdevsw[] = {
cdev_cn_init(1,cn), /* 0: virtual console */
cdev_ctty_init(1,ctty), /* 1: controlling terminal */
cdev_mm_init(1,mm), /* 2: /dev/{null,mem,kmem,...} */
- cdev_swap_init(1,sw), /* 3: /dev/drum (swap pseudo-device) */
+ cdev_notdef(), /* 3 was /dev/drum */
cdev_tty_init(NPTY,pts), /* 4: pseudo-tty slave */
cdev_ptc_init(NPTY,ptc), /* 5: pseudo-tty master */
cdev_log_init(1,log), /* 6: /dev/klog */