diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2020-01-24 14:11:02 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2020-01-24 14:11:02 +0000 |
commit | aef62fd7b6da335fa2d2644adbbff956b5e6e289 (patch) | |
tree | f39c291734d7d9a33fcedc1415c113306bdb6637 | |
parent | bea61c3f0fd68807d9ce2d3c71f8664fee65a757 (diff) |
Use major 32 for dt(4).
ok visa@, kettenis@, deraadt@
-rw-r--r-- | etc/etc.alpha/MAKEDEV.md | 3 | ||||
-rw-r--r-- | etc/etc.hppa/MAKEDEV.md | 3 | ||||
-rw-r--r-- | sys/arch/alpha/alpha/conf.c | 5 | ||||
-rw-r--r-- | sys/arch/hppa/hppa/conf.c | 5 |
4 files changed, 10 insertions, 6 deletions
diff --git a/etc/etc.alpha/MAKEDEV.md b/etc/etc.alpha/MAKEDEV.md index f409f38a132..ce74768dfc1 100644 --- a/etc/etc.alpha/MAKEDEV.md +++ b/etc/etc.alpha/MAKEDEV.md @@ -1,6 +1,6 @@ define(MACHINE,alpha)dnl vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.73 2020/01/23 02:47:28 dlg Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.74 2020/01/24 14:11:01 mpi Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org> @@ -64,6 +64,7 @@ _DEV(bio, 53) _DEV(bktr, 58) _DEV(bpf, 11) _DEV(diskmap, 63) +_DEV(dt, 32) _DEV(fdesc, 10) _DEV(fuse, 67) _DEV(hotplug, 56) diff --git a/etc/etc.hppa/MAKEDEV.md b/etc/etc.hppa/MAKEDEV.md index 4b66b5c2566..44e8f769816 100644 --- a/etc/etc.hppa/MAKEDEV.md +++ b/etc/etc.hppa/MAKEDEV.md @@ -1,6 +1,6 @@ define(MACHINE,hppa)dnl vers(__file__, - {-$OpenBSD: MAKEDEV.md,v 1.62 2020/01/23 02:47:28 dlg Exp $-}, + {-$OpenBSD: MAKEDEV.md,v 1.63 2020/01/24 14:11:01 mpi Exp $-}, etc.MACHINE)dnl dnl dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org> @@ -62,6 +62,7 @@ _DEV(au, 35) _DEV(bio, 37) _DEV(bpf, 17) _DEV(diskmap,56) +_DEV(dt, 32) _DEV(fdesc, 16) _DEV(fuse, 58) _DEV(hotplug, 47) diff --git a/sys/arch/alpha/alpha/conf.c b/sys/arch/alpha/alpha/conf.c index ba22561c1ef..0c4df9b7712 100644 --- a/sys/arch/alpha/alpha/conf.c +++ b/sys/arch/alpha/alpha/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.86 2020/01/23 02:40:21 dlg Exp $ */ +/* $OpenBSD: conf.c,v 1.87 2020/01/24 14:11:01 mpi Exp $ */ /* $NetBSD: conf.c,v 1.16 1996/10/18 21:26:57 cgd Exp $ */ /*- @@ -115,6 +115,7 @@ cdev_decl(cy); #include "ugen.h" #include "ulpt.h" #include "ucom.h" +#include "dt.h" #include "pf.h" #ifdef USER_PCICONF #include "pci.h" @@ -161,7 +162,7 @@ struct cdevsw cdevsw[] = cdev_mouse_init(NWSKBD,wskbd), /* 29: /dev/kbd XXX */ cdev_mouse_init(NWSMOUSE,wsmouse), /* 30: /dev/mouse XXX */ cdev_lpt_init(NLPT,lpt), /* 31: parallel printer */ - cdev_notdef(), /* 32: */ + cdev_dt_init(NDT,dt), /* 32: dynamic tracer */ cdev_uk_init(NUK,uk), /* 33: SCSI unknown */ cdev_random_init(1,random), /* 34: random data source */ cdev_pf_init(NPF, pf), /* 35: packet filter */ diff --git a/sys/arch/hppa/hppa/conf.c b/sys/arch/hppa/hppa/conf.c index a2de2e78726..061bd9541b6 100644 --- a/sys/arch/hppa/hppa/conf.c +++ b/sys/arch/hppa/hppa/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.68 2020/01/23 02:40:21 dlg Exp $ */ +/* $OpenBSD: conf.c,v 1.69 2020/01/24 14:11:01 mpi Exp $ */ /*- * Copyright (c) 1991 The Regents of the University of California. @@ -98,6 +98,7 @@ cdev_decl(lpt); #include "com.h" cdev_decl(com); +#include "dt.h" #include "pf.h" #include "hotplug.h" @@ -158,7 +159,7 @@ struct cdevsw cdevsw[] = #else cdev_notdef(), /* 31: */ #endif - cdev_notdef(), /* 32 */ + cdev_dt_init(NDT,dt), /* 32: dynamic tracer */ cdev_video_init(NVIDEO,video), /* 33: generic video I/O */ cdev_notdef(), /* 34 */ cdev_audio_init(NAUDIO,audio), /* 35: /dev/audio */ |