summaryrefslogtreecommitdiff
path: root/sys/arch/landisk/include
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2006-11-03 20:21:24 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2006-11-03 20:21:24 +0000
commit21871ee7d48cbedbbe431bc6b9a394cf8c5194c1 (patch)
tree45f0f02fc3cdd36148b2221c211a1c135559f722 /sys/arch/landisk/include
parent5eb520e683a4a865092e358f8cfe0f43cc586dfe (diff)
cleanup some devices
Diffstat (limited to 'sys/arch/landisk/include')
-rw-r--r--sys/arch/landisk/include/conf.h51
1 files changed, 1 insertions, 50 deletions
diff --git a/sys/arch/landisk/include/conf.h b/sys/arch/landisk/include/conf.h
index 0d7bc55fd2c..e34fc42ca93 100644
--- a/sys/arch/landisk/include/conf.h
+++ b/sys/arch/landisk/include/conf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.h,v 1.2 2006/11/03 20:08:35 mickey Exp $ */
+/* $OpenBSD: conf.h,v 1.3 2006/11/03 20:21:23 mickey Exp $ */
/*
* Copyright (c) 1997 Mark Brinicombe.
@@ -56,28 +56,9 @@ cdev_decl(fd);
/* Character device declarations */
-/* open, close, read, write, ioctl, tty, mmap -- XXX should be a tty */
-#define cdev_physcon_init(c,n) cdev__ttym_init(c,n,0)
-
-/* open, close, ioctl */
-#define cdev_beep_init(c,n) cdev__oci_init(c,n)
-
-/* open, close, read, ioctl */
-#define cdev_kbd_init(c,n) cdev__ocri_init(c,n)
-
-/* open, close, ioctl, mmap */
-#define cdev_vidcvid_init(c,n) { \
- dev_init(c,n,open), dev_init(c,n,close), dev_noimpl(read,enodev), \
- dev_noimpl(write,enodev), dev_init(c,n,ioctl), \
- dev_noimpl(stop,enodev), 0, seltrue, dev_init(c,n,mmap), 0 }
-
/* open, close, read, write, ioctl */
-#define cdev_iic_init(c,n) cdev__ocrwi_init(c,n)
#define cdev_rtc_init(c,n) cdev__ocrwi_init(c,n)
-/* open, close, read, ioctl */
-#define cdev_prof_init(c,n) cdev__ocri_init(c,n)
-
/* open, close, ioctl, kqueue */
#define cdev_apm_init(c,n) { \
dev_init(c,n,open), dev_init(c,n,close), (dev_type_read((*))) enodev, \
@@ -85,40 +66,10 @@ cdev_decl(fd);
(dev_type_stop((*))) enodev, 0, (dev_type_poll((*))) enodev, \
(dev_type_mmap((*))) enodev, 0, D_KQFILTER, dev_init(c,n,kqfilter) }
-cdev_decl(physcon);
-cdev_decl(vidcconsole);
-cdev_decl(biconsdev);
cdev_decl(com);
-cdev_decl(lpt);
-cdev_decl(qms);
-cdev_decl(opms);
-cdev_decl(beep);
-cdev_decl(kbd);
-cdev_decl(iic);
cdev_decl(rtc);
-cdev_decl(fcom);
-cdev_decl(pc);
-cdev_decl(ofcons_);
-cdev_decl(ofd);
-cdev_decl(ofrtc);
-cdev_decl(sacom);
-cdev_decl(scr);
-cdev_decl(prof);
-#define ofromread ofromrw
-#define ofromwrite ofromrw
-cdev_decl(ofrom);
-cdev_decl(joy);
-cdev_decl(vc_nb_);
cdev_decl(wsfont);
-cdev_decl(scsibus);
-cdev_decl(openfirm);
cdev_decl(pci);
-cdev_decl(agp);
-cdev_decl(iop);
-cdev_decl(ld);
-cdev_decl(mlx);
-cdev_decl(mly);
-cdev_decl(plcom);
cdev_decl(apm);
cdev_decl(spkr);
cdev_decl(scif);