diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2000-08-28 22:04:54 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2000-08-28 22:04:54 +0000 |
commit | db426c11ee158c5348fbc7da8fd92283d0d28b15 (patch) | |
tree | 0b36a36419460329740cc2fdaf92c1fc847d75ba /sys/arch/sun3 | |
parent | c8d34824721c4fd442906ece82c6bb8d7b8e4ce2 (diff) |
Add lkm, ch and ses support
Diffstat (limited to 'sys/arch/sun3')
-rw-r--r-- | sys/arch/sun3/sun3/conf.c | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/sys/arch/sun3/sun3/conf.c b/sys/arch/sun3/sun3/conf.c index b10098e8277..5711d8521f5 100644 --- a/sys/arch/sun3/sun3/conf.c +++ b/sys/arch/sun3/sun3/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.25 2000/06/21 21:17:49 miod Exp $ */ +/* $OpenBSD: conf.c,v 1.26 2000/08/28 22:04:53 miod Exp $ */ /* $NetBSD: conf.c,v 1.51 1996/11/04 16:16:09 gwr Exp $ */ /*- @@ -50,13 +50,19 @@ int ttselect __P((dev_t, int, struct proc *)); #include "bpfilter.h" +#include "bwtwo.h" #include "ccd.h" #include "cd.h" +#include "cgtwo.h" +#include "cgfour.h" +#include "ch.h" #include "kbd.h" +#include "ksyms.h" #include "ms.h" #include "pty.h" #include "rd.h" #include "sd.h" +#include "ses.h" #include "ss.h" #include "st.h" #include "tun.h" @@ -69,7 +75,6 @@ int ttselect __P((dev_t, int, struct proc *)); #include <xfs/nxfs.h> cdev_decl(xfs_dev); #endif -#include "ksyms.h" struct bdevsw bdevsw[] = { @@ -97,6 +102,12 @@ struct bdevsw bdevsw[] = bdev_notdef(), /* 21: Sun vd_unused */ bdev_notdef(), /* 22: Sun IPI disks... */ bdev_notdef(), /* 23: Sun IPI disks... */ + bdev_lkm_dummy(), /* 24 */ + bdev_lkm_dummy(), /* 25 */ + bdev_lkm_dummy(), /* 26 */ + bdev_lkm_dummy(), /* 27 */ + bdev_lkm_dummy(), /* 28 */ + bdev_lkm_dummy(), /* 29 */ }; int nblkdev = sizeof(bdevsw) / sizeof(bdevsw[0]); @@ -182,6 +193,15 @@ struct cdevsw cdevsw[] = cdev_uk_init(NUK,uk), /* 73: unknown SCSI */ cdev_ss_init(NSS,ss), /* 74: SCSI scanner */ cdev_gen_ipf(NIPF,ipl), /* 75: ip filter log */ + cdev_lkm_init(NLKM,lkm), /* 76: loadable module driver */ + cdev_lkm_dummy(), /* 77 */ + cdev_lkm_dummy(), /* 78 */ + cdev_lkm_dummy(), /* 79 */ + cdev_lkm_dummy(), /* 80 */ + cdev_lkm_dummy(), /* 81 */ + cdev_lkm_dummy(), /* 82 */ + cdev_ch_init(NCH,ch), /* 83: SCSI autochanger */ + cdev_ses_init(NSES,ses), /* 84: SCSI SES or SAF-TE device */ }; int nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]); |