1define(MACHINE,sparc64)dnl 2vers(__file__, 3 {-$OpenBSD: MAKEDEV.md,v 1.76 2014/01/05 01:16:52 deraadt Exp $-}, 4etc.MACHINE)dnl 5dnl 6dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org> 7dnl 8dnl Permission to use, copy, modify, and distribute this software for any 9dnl purpose with or without fee is hereby granted, provided that the above 10dnl copyright notice and this permission notice appear in all copies. 11dnl 12dnl THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 13dnl WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 14dnl MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 15dnl ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 16dnl WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 17dnl ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 18dnl OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 19dnl 20dnl *** sparc64 specific definitions 21dnl 22__devitem(s64_tzs, tty[a-z]*, Zilog 8530 serial port,zs)dnl 23__devitem(s64_czs, cua[a-z]*, Zilog 8530 serial port,zs)dnl 24_mkdev(s64_tzs, {-tty[a-z]-}, {-u=${i#tty*} 25 case $u in 26 a) n=0 ;; 27 b) n=1 ;; 28 c) n=2 ;; 29 d) n=3 ;; 30 *) echo unknown tty device $i ;; 31 esac 32 M tty$u c major_s64_tzs_c $n 660 dialer uucp-})dnl 33_mkdev(s64_czs, cua[a-z], {-u=${i#cua*} 34 case $u in 35 a) n=0 ;; 36 b) n=1 ;; 37 c) n=2 ;; 38 d) n=3 ;; 39 *) echo unknown cua device $i ;; 40 esac 41 M cua$u c major_s64_czs_c Add($n, 128) 660 dialer uucp-})dnl 42__devitem(vcc, ttyV*, Virtual console concentrator, vcctty)dnl 43_mkdev(vcc, ttyV[0-9a-zA-Z], {-U=${i#ttyV*} 44 o=$(alph2d $U) 45 M ttyV$U c major_vcc_c $o 600-})dnl 46dnl 47__devitem(uperf, uperf, Performance counters)dnl 48_mkdev(uperf, uperf, {-M uperf c major_uperf_c 0 664-})dnl 49dnl 50__devitem(vldc_hvctl, hvctl, Hypervisor control channel, vldcp)dnl 51_mkdev(vldc_hvctl, hvctl, {-M hvctl c major_vldc_hvctl_c 0 600-})dnl 52__devitem(vldc_spds, spds, Service processor domain services channel, vldcp)dnl 53_mkdev(vldc_spds, spds, {-M spds c major_vldc_spds_c 1 600-})dnl 54__devitem(vldc_ldom, ldom*, Logical domain services channels, vldcp)dnl 55_mkdev(vldc_ldom, ldom*, {-M ldom$U c major_vldc_ldom_c Add($U,32) 600-})dnl 56dnl 57__devitem(vdsp, vdsp*, Virtual disk server ports)dnl 58_mkdev(vdsp, vdsp*, {-M vdsp$U c major_vdsp_c $U 600-})dnl 59dnl 60_TITLE(make) 61_DEV(all) 62_DEV(ramdisk) 63_DEV(std) 64_DEV(local) 65_TITLE(dis) 66_DEV(cd, 58, 18) 67_DEV(flo, 54, 16) 68_DEV(rd, 61, 5) 69_DEV(sd, 17, 7) 70_DEV(vnd, 110, 8) 71_DEV(wd, 26, 12) 72_TITLE(tap) 73_DEV(ch, 19) 74_DEV(st, 18, 11) 75_TITLE(term) 76_DEV(s64_czs, 12) 77_DEV(mag, 71) 78_DEV(spif, 108) 79_DEV(com, 36) 80_DEV(s64_tzs, 12) 81_DEV(tth, 77) 82_DEV(vcc, 127) 83_TITLE(pty) 84_DEV(ptm, 123) 85_DEV(pty, 21) 86_DEV(tty, 20) 87_TITLE(cons) 88_DEV(pcons, 122) 89_DEV(wsdisp, 78) 90_DEV(wscons) 91_DEV(wskbd, 79) 92_DEV(wsmux, 81) 93_TITLE(point) 94_DEV(wsmouse, 80) 95_TITLE(prn) 96_DEV(bpp, 107) 97_DEV(bppsp, 109) 98_DEV(bppmag, 72) 99_DEV(lpa) 100_DEV(lpt, 37) 101_TITLE(usb) 102_DEV(ttyU, 95) 103_DEV(uall) 104_DEV(ugen, 92) 105_DEV(uhid, 91) 106_DEV(ulpt, 93) 107_DEV(urio, 94) 108_DEV(usb, 90) 109_TITLE(spec) 110_DEV(au, 69) 111_DEV(bio, 120) 112_DEV(bpf, 105) 113_DEV(bthub, 129) 114_DEV(cry, 75) 115_DEV(diskmap, 130) 116_DEV(drm, 87) 117_DEV(fdesc, 24) 118_DEV(fuse, 134) 119_DEV(hotplug, 124) 120_DEV(lkm, 112) 121_DEV(oppr) 122_DEV(pci, 52) 123_DEV(pf, 73) 124_DEV(pppx, 131) 125_DEV(rmidi, 68) 126_DEV(rnd, 119) 127_DEV(systrace, 50) 128_DEV(tun, 111) 129_DEV(uk, 60) 130_DEV(uperf, 25) 131_DEV(vi, 44) 132_DEV(vscsi, 128) 133_DEV(vldc_hvctl, 132) 134_DEV(vldc_spds, 132) 135_DEV(vldc_ldom, 132) 136_DEV(vdsp, 133) 137dnl 138divert(__mddivert)dnl 139dnl 140ramdisk) 141 _recurse std fd0 wd0 wd1 wd2 sd0 sd1 sd2 rd0 142 _recurse st0 cd0 bpf0 bio diskmap random 143 ;; 144 145_std(2, 3, 76, 16) 146 M openprom c 70 0 640 kmem 147 M mdesc c 70 1 640 kmem 148 ;; 149dnl 150dnl *** sparc64 specific targets 151dnl 152twrget(wscons, wscons, ttyD, cfg, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b)dnl 153twrget(wscons, wscons, ttyE, cfg, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b)dnl 154twrget(wscons, wscons, ttyF, cfg, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b)dnl 155twrget(wscons, wscons, ttyG, cfg, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b)dnl 156twrget(wscons, wscons, ttyH, cfg, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b)dnl 157twrget(wscons, wscons, ttyI, cfg, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b)dnl 158twrget(wscons, wscons, ttyJ, cfg, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b)dnl 159twrget(all, au, audio, 0, 1, 2)dnl 160target(all, ch, 0)dnl 161target(all, vscsi, 0)dnl 162target(all, diskmap)dnl 163twrget(all, flo, fd, 0, 0B, 0C, 0D, 0E, 0F, 0G, 0H)dnl 164twrget(all, flo, fd, 1, 1B, 1C, 1D, 1E, 1F, 1G, 1H)dnl 165target(all, pty, 0)dnl 166target(all, bpf, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl 167target(all, bio)dnl 168target(all, tun, 0, 1, 2, 3)dnl 169target(all, xy, 0, 1, 2, 3)dnl 170target(all, rd, 0)dnl 171target(all, cd, 0, 1)dnl 172target(all, sd, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl 173target(all, vnd, 0, 1, 2, 3)dnl 174target(all, bpp, 0)dnl 175target(all, bthub, 0, 1, 2)dnl 176target(all, drm, 0, 1, 2, 3)dnl 177twrget(all, s64_tzs, tty, a, b, c, d)dnl 178twrget(all, s64_czs, cua, a, b, c, d)dnl 179twrget(all, vcc, ttyV, 0, 1, 2, 3, 4, 5, 6, 7)dnl 180twrget(all, vldc_hvctl, hvctl)dnl 181twrget(all, vldc_spds, spds)dnl 182twrget(all, vldc_ldom, ldom, 0, 1, 2, 3, 4, 5, 6, 7)dnl 183target(all, vdsp, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)dnl 184