summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1996-11-11 20:47:25 +0000
committerkstailey <kstailey@cvs.openbsd.org>1996-11-11 20:47:25 +0000
commit1ceaf5432aff1d714b27d6d2ec07fab150877089 (patch)
treeefa3d2ff92425e6c1eb2c6de430729cc1a2bc280 /sys/arch
parent6e340b5b14f5389647bfb1eecd8471d9afae9ca0 (diff)
Updates for SCSI scanner and SCSI unknown devices.
Removed MI *dev_decl() stuff that is now in sys/conf.h
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/i386/conf.c31
1 files changed, 5 insertions, 26 deletions
diff --git a/sys/arch/i386/i386/conf.c b/sys/arch/i386/i386/conf.c
index 74796a2a103..73f5bcb301b 100644
--- a/sys/arch/i386/i386/conf.c
+++ b/sys/arch/i386/i386/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.28 1996/11/10 21:31:52 downsj Exp $ */
+/* $OpenBSD: conf.c,v 1.29 1996/11/11 20:47:24 kstailey Exp $ */
/* $NetBSD: conf.c,v 1.75 1996/05/03 19:40:20 christos Exp $ */
/*
@@ -47,23 +47,17 @@ bdev_decl(fd);
#include "wt.h"
bdev_decl(wt);
#include "sd.h"
-bdev_decl(sd);
#include "st.h"
-bdev_decl(st);
#include "cd.h"
-bdev_decl(cd);
#include "uk.h"
-cdev_decl(uk);
#include "acd.h"
bdev_decl(acd);
#include "mcd.h"
bdev_decl(mcd);
#include "vnd.h"
-bdev_decl(vnd);
#include "scd.h"
bdev_decl(scd);
#include "ccd.h"
-bdev_decl(ccd);
#include "rd.h"
bdev_decl(rd);
/* no cdev for rd */
@@ -124,21 +118,12 @@ int nblkdev = sizeof(bdevsw) / sizeof(bdevsw[0]);
(dev_type_stop((*))) enodev, 0, dev_init(c,n,select), \
(dev_type_mmap((*))) enodev, 0 }
-cdev_decl(cn);
-cdev_decl(ctty);
#define mmread mmrw
#define mmwrite mmrw
cdev_decl(mm);
cdev_decl(wd);
cdev_decl(sw);
#include "pty.h"
-#define ptstty ptytty
-#define ptsioctl ptyioctl
-cdev_decl(pts);
-#define ptctty ptytty
-#define ptcioctl ptyioctl
-cdev_decl(ptc);
-cdev_decl(log);
#include "com.h"
#include "pccom.h"
cdev_decl(com);
@@ -148,11 +133,7 @@ cdev_decl(scd);
#include "pc.h"
#include "vt.h"
cdev_decl(pc);
-cdev_decl(sd);
-cdev_decl(st);
#include "ss.h"
-cdev_decl(ss);
-cdev_decl(cd);
cdev_decl(acd);
#include "lpt.h"
cdev_decl(lpt);
@@ -160,12 +141,10 @@ cdev_decl(lpt);
cdev_decl(ch);
dev_decl(filedesc,open);
#include "bpfilter.h"
-cdev_decl(bpf);
#include "pcmcia.h"
cdev_decl(pcmcia);
#include "spkr.h"
cdev_decl(spkr);
-cdev_decl(lkm);
#include "mms.h"
cdev_decl(mms);
#include "lms.h"
@@ -176,17 +155,13 @@ cdev_decl(pms);
cdev_decl(cy);
cdev_decl(mcd);
#include "tun.h"
-cdev_decl(tun);
-cdev_decl(vnd);
#include "audio.h"
cdev_decl(audio);
cdev_decl(svr4_net);
-cdev_decl(ccd);
#include "joy.h"
cdev_decl(joy);
#include "apm.h"
cdev_decl(apm);
-cdev_decl(random);
#include "pctr.h"
cdev_decl(pctr);
@@ -201,6 +176,10 @@ cdev_decl(ipl);
#if (NCOM > 0) && (NPCCOM > 0)
#error com and pccom are mutually exclusive. Sorry.
#endif
+#if (NVT > 0) && (NPC > 0)
+#error vt and pc are mutually exclusive. Sorry.
+#endif
+
struct cdevsw cdevsw[] =
{