Major 30 is taken on both platforms, so use 32 to give a chance for people to use dt(4) and btrace(8) on these platforms.
Ok? =================================================================== RCS file: /cvs/src/etc/etc.alpha/MAKEDEV.md,v retrieving revision 1.72 diff -u -p -r1.72 MAKEDEV.md --- etc/etc.alpha/MAKEDEV.md 17 Dec 2019 13:08:54 -0000 1.72 +++ etc/etc.alpha/MAKEDEV.md 22 Jan 2020 14:31:49 -0000 @@ -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) Index: etc/etc.hppa/MAKEDEV.md =================================================================== RCS file: /cvs/src/etc/etc.hppa/MAKEDEV.md,v retrieving revision 1.61 diff -u -p -r1.61 MAKEDEV.md --- etc/etc.hppa/MAKEDEV.md 17 Dec 2019 13:08:55 -0000 1.61 +++ etc/etc.hppa/MAKEDEV.md 22 Jan 2020 14:31:49 -0000 @@ -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) Index: sys/arch/alpha/alpha/conf.c =================================================================== RCS file: /cvs/src/sys/arch/alpha/alpha/conf.c,v retrieving revision 1.85 diff -u -p -r1.85 conf.c --- sys/arch/alpha/alpha/conf.c 17 Dec 2019 13:08:54 -0000 1.85 +++ sys/arch/alpha/alpha/conf.c 22 Jan 2020 14:28:47 -0000 @@ -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 */ Index: sys/arch/hppa/hppa/conf.c =================================================================== RCS file: /cvs/src/sys/arch/hppa/hppa/conf.c,v retrieving revision 1.67 diff -u -p -r1.67 conf.c --- sys/arch/hppa/hppa/conf.c 17 Dec 2019 13:08:55 -0000 1.67 +++ sys/arch/hppa/hppa/conf.c 22 Jan 2020 14:33:43 -0000 @@ -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 */