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.

126 lines
2.8 KiB

22 years ago
22 years ago
22 years ago
22 years ago
22 years ago
22 years ago
22 years ago
22 years ago
22 years ago
22 years ago
22 years ago
22 years ago
22 years ago
22 years ago
22 years ago
22 years ago
22 years ago
  1. define(MACHINE,alpha)dnl
  2. vers(__file__,
  3. {-$OpenBSD: MAKEDEV.md,v 1.74 2020/01/24 14:11:01 mpi 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. _TITLE(make)
  21. _DEV(all)
  22. _DEV(ramdisk)
  23. _DEV(std)
  24. _DEV(local)
  25. _TITLE(dis)
  26. _DEV(cd, 13, 3)
  27. _DEV(flo, 37, 4)
  28. _DEV(rd, 28, 6)
  29. _DEV(sd, 8, 8)
  30. _DEV(vnd, 9, 9)
  31. _DEV(wd, 36, 0)
  32. _TITLE(tap)
  33. _DEV(ch, 14)
  34. _DEV(st, 12)
  35. _TITLE(term)
  36. _DEV(com, 26)
  37. _DEV(ttyc, 38)
  38. _DEV(ttyB, 15)
  39. _TITLE(pty)
  40. _DEV(ptm, 55)
  41. _DEV(pty, 5)
  42. _DEV(tty, 4)
  43. _TITLE(cons)
  44. _DEV(wsdisp, 25)
  45. _DEV(wscons)
  46. _DEV(wskbd, 29)
  47. _DEV(wsmux, 60)
  48. _TITLE(point)
  49. _DEV(wsmouse, 30)
  50. _TITLE(prn)
  51. _DEV(lpa)
  52. _DEV(lpt, 31)
  53. _TITLE(usb)
  54. _DEV(ttyU, 49)
  55. _DEV(uall)
  56. _DEV(ugen, 48)
  57. _DEV(uhid, 46)
  58. _DEV(fido, 70)
  59. _DEV(ulpt, 47)
  60. _DEV(usb, 45)
  61. _TITLE(spec)
  62. _DEV(au, 24)
  63. _DEV(bio, 53)
  64. _DEV(bktr, 58)
  65. _DEV(bpf, 11)
  66. _DEV(diskmap, 63)
  67. _DEV(dt, 32)
  68. _DEV(fdesc, 10)
  69. _DEV(fuse, 67)
  70. _DEV(hotplug, 56)
  71. _DEV(pci, 52)
  72. _DEV(pf, 35)
  73. _DEV(pppx, 64)
  74. _DEV(pppac, 71)
  75. _DEV(radio, 59)
  76. _DEV(rnd, 34)
  77. _DEV(rmidi, 41)
  78. _DEV(speak, 40)
  79. _DEV(tun, 7)
  80. _DEV(tap, 68)
  81. _DEV(tuner, 58)
  82. _DEV(uk, 33)
  83. _DEV(vi, 44)
  84. _DEV(vscsi, 61)
  85. _DEV(switch, 69)
  86. dnl
  87. divert(__mddivert)dnl
  88. dnl
  89. ramdisk)
  90. _recurse std fd0 wd0 wd1 wd2 sd0 sd1 sd2 bpf
  91. _recurse st0 cd0 ttyC0 rd0 bio diskmap random
  92. ;;
  93. _std(1, 2, 39, 6)
  94. M xf86 c 2 4 600
  95. ;;
  96. ttyB*|ttyc*)
  97. U=${i##tty?}
  98. case $i in
  99. ttyB*) type=B major=15 minor=$U;;
  100. ttyc*) type=c major=38 minor=$U;;
  101. esac
  102. M tty$type$U c $major $minor 660 dialer root
  103. M cua$type$U c $major Add($minor, 128) 660 dialer root
  104. ;;
  105. dnl
  106. dnl *** alpha specific targets
  107. dnl
  108. twrget(all, au, audio, 0, 1, 2)dnl
  109. target(all, bio)dnl
  110. target(all, ch, 0)dnl
  111. target(all, vscsi, 0)dnl
  112. target(all, diskmap)dnl
  113. twrget(all, flo, fd, 0, 0B, 0C, 0D, 0E, 0F, 0G, 0H)dnl
  114. twrget(all, flo, fd, 1, 1B, 1C, 1D, 1E, 1F, 1G, 1H)dnl
  115. target(all, pty, 0)dnl
  116. target(all, tun, 0, 1, 2, 3)dnl
  117. target(all, tap, 0, 1, 2, 3)dnl
  118. target(all, ttyB, 0, 1)dnl
  119. target(all, rd, 0)dnl
  120. target(all, cd, 0, 1)dnl
  121. target(all, sd, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl
  122. target(all, vnd, 0, 1, 2, 3)dnl
  123. target(all, switch, 0, 1, 2, 3)dnl
  124. target(ramd, ttyB, 0, 1)dnl