Source code pulled from OpenBSD for OpenNTPD. The place to contribute to this code is via the OpenBSD CVS tree.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

184 lines
5.1 KiB

15 years ago
15 years ago
22 years ago
22 years ago
22 years ago
4 years ago
15 years ago
4 years ago
  1. define(MACHINE,sparc64)dnl
  2. vers(__file__,
  3. {-$OpenBSD: MAKEDEV.md,v 1.93 2020/05/25 20:27:44 kmos Exp $-},
  4. etc.MACHINE)dnl
  5. dnl
  6. dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org>
  7. dnl
  8. dnl Permission to use, copy, modify, and distribute this software for any
  9. dnl purpose with or without fee is hereby granted, provided that the above
  10. dnl copyright notice and this permission notice appear in all copies.
  11. dnl
  12. dnl THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  13. dnl WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  14. dnl MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  15. dnl ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  16. dnl WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  17. dnl ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  18. dnl OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  19. dnl
  20. dnl *** sparc64 specific definitions
  21. dnl
  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 root-})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 root-})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
  46. dnl
  47. __devitem(uperf, uperf, Performance counters)dnl
  48. _mkdev(uperf, uperf, {-M uperf c major_uperf_c 0 664-})dnl
  49. dnl
  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
  56. dnl
  57. __devitem(vdsp, vdsp*, Virtual disk server ports)dnl
  58. _mkdev(vdsp, vdsp*, {-M vdsp$U c major_vdsp_c $U 600-})dnl
  59. dnl
  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)
  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(fido, 137)
  107. _DEV(ulpt, 93)
  108. _DEV(usb, 90)
  109. _TITLE(spec)
  110. _DEV(au, 69)
  111. _DEV(bio, 120)
  112. _DEV(bpf, 105)
  113. _DEV(diskmap, 130)
  114. _DEV(drm, 87)
  115. _DEV(fdesc, 24)
  116. _DEV(dt, 30)
  117. _DEV(fuse, 134)
  118. _DEV(hotplug, 124)
  119. _DEV(oppr)
  120. _DEV(pci, 52)
  121. _DEV(pf, 73)
  122. _DEV(pppx, 131)
  123. _DEV(pppac, 138)
  124. _DEV(rmidi, 68)
  125. _DEV(rnd, 119)
  126. _DEV(tun, 111)
  127. _DEV(tap, 135)
  128. _DEV(uk, 60)
  129. _DEV(uperf, 25)
  130. _DEV(vi, 44)
  131. _DEV(vscsi, 128)
  132. _DEV(vldc_hvctl, 132)
  133. _DEV(vldc_spds, 132)
  134. _DEV(vldc_ldom, 132)
  135. _DEV(vdsp, 133)
  136. _DEV(switch, 136)
  137. dnl
  138. divert(__mddivert)dnl
  139. dnl
  140. ramdisk)
  141. _recurse std fd0 wd0 wd1 wd2 sd0 sd1 sd2 rd0
  142. _recurse st0 cd0 bpf bio diskmap random
  143. ;;
  144. _std(2, 3, 76, 16)
  145. M openprom c 70 0 600
  146. M mdesc c 70 1 640 kmem
  147. M pri c 70 2 640 kmem
  148. ;;
  149. dnl
  150. dnl *** sparc64 specific targets
  151. dnl
  152. twrget(wscons, wscons, ttyD, cfg, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b)dnl
  153. twrget(wscons, wscons, ttyE, cfg, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b)dnl
  154. twrget(wscons, wscons, ttyF, cfg, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b)dnl
  155. twrget(wscons, wscons, ttyG, cfg, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b)dnl
  156. twrget(wscons, wscons, ttyH, cfg, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b)dnl
  157. twrget(wscons, wscons, ttyI, cfg, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b)dnl
  158. twrget(wscons, wscons, ttyJ, cfg, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b)dnl
  159. twrget(all, au, audio, 0, 1, 2, 3)dnl
  160. target(all, ch, 0)dnl
  161. target(all, vscsi, 0)dnl
  162. target(all, diskmap)dnl
  163. twrget(all, flo, fd, 0, 0B, 0C, 0D, 0E, 0F, 0G, 0H)dnl
  164. twrget(all, flo, fd, 1, 1B, 1C, 1D, 1E, 1F, 1G, 1H)dnl
  165. target(all, pty, 0)dnl
  166. target(all, bio)dnl
  167. target(all, tun, 0, 1, 2, 3)dnl
  168. target(all, tap, 0, 1, 2, 3)dnl
  169. target(all, xy, 0, 1, 2, 3)dnl
  170. target(all, rd, 0)dnl
  171. target(all, cd, 0, 1)dnl
  172. target(all, sd, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl
  173. target(all, vnd, 0, 1, 2, 3)dnl
  174. target(all, bpp, 0)dnl
  175. target(all, drm, 0, 1, 2, 3)dnl
  176. target(all, switch, 0, 1, 2, 3)dnl
  177. twrget(all, s64_tzs, tty, a, b, c, d)dnl
  178. twrget(all, s64_czs, cua, a, b, c, d)dnl
  179. twrget(all, vcc, ttyV, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d, e, f)dnl
  180. twrget(all, vldc_hvctl, hvctl)dnl
  181. twrget(all, vldc_spds, spds)dnl
  182. twrget(all, vldc_ldom, ldom, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)dnl
  183. target(all, vdsp, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)dnl