diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2000-03-22 08:34:18 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2000-03-22 08:34:18 +0000 |
commit | cd25a739a0cf3323778823fd4586905167a3699a (patch) | |
tree | e3430a25c0b821fa496d999681f51baeb6b2dd23 /sys | |
parent | 1766a6e98b8a26900b00da59fab826d494783c8f (diff) |
Add ch to some dead ports for consistency, of course not tested.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/atari/atari/conf.c | 5 | ||||
-rw-r--r-- | sys/arch/pc532/pc532/conf.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/sys/arch/atari/atari/conf.c b/sys/arch/atari/atari/conf.c index f7f892ee11b..cc79fd2f51f 100644 --- a/sys/arch/atari/atari/conf.c +++ b/sys/arch/atari/atari/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.13 1998/09/25 09:20:52 todd Exp $ */ +/* $OpenBSD: conf.c,v 1.14 2000/03/22 08:34:17 niklas Exp $ */ /* * Copyright (c) 1991 The Regents of the University of California. @@ -111,6 +111,7 @@ cdev_decl(sw); cdev_decl(zs); #include "ss.h" #include "uk.h" +#include "ch.h" #include "grf.h" cdev_decl(grf); #include "ite.h" @@ -175,7 +176,7 @@ struct cdevsw cdevsw[] = cdev_random_init(1,random), /* 30: random data source */ cdev_uk_init(NUK,uk), /* 31: unknown SCSI */ cdev_ss_init(NSS,ss), /* 32: SCSI scanner */ - cdev_notdef(), /* 33 */ + cdev_ch_init(NCH,ch), /* 33: SCSI media changer */ cdev_notdef(), /* 34 */ cdev_notdef(), /* 35 */ cdev_notdef(), /* 36 */ diff --git a/sys/arch/pc532/pc532/conf.c b/sys/arch/pc532/pc532/conf.c index b159b906b0a..2103fe88164 100644 --- a/sys/arch/pc532/pc532/conf.c +++ b/sys/arch/pc532/pc532/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.11 1998/09/25 09:20:54 todd Exp $ */ +/* $OpenBSD: conf.c,v 1.12 2000/03/22 08:34:16 niklas Exp $ */ /*- * Copyright (c) 1991 The Regents of the University of California. @@ -49,6 +49,7 @@ int ttselect __P((dev_t, int, struct proc *)); bdev_decl(sw); #include "st.h" #include "cd.h" +#include "ch.h" #include "ss.h" #include "uk.h" #include "rd.h" @@ -117,7 +118,7 @@ struct cdevsw cdevsw[] = cdev_disk_init(NVND,vnd), /* 13: vnode disk driver */ cdev_bpftun_init(NBPFILTER,bpf),/* 14: Berkeley packet filter */ cdev_bpftun_init(NTUN,tun), /* 15: network tunnel */ - cdev_notdef(), /* 16 */ + cdev_ch_init(NCH,ch), /* 16: SCSI media changer */ cdev_lpt_init(NLPT, lpt), /* 17: Centronics */ cdev_disk_init(NCCD,ccd), /* 18: concatenated disk driver */ cdev_gen_ipf(NIPF,ipl), /* 19: IP filter log */ |