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.

133 lines
2.7 KiB

  1. vers(__file__,
  2. {-$OpenBSD: MAKEDEV.md,v 1.17 2004/04/11 18:05:23 millert Exp $-},
  3. etc.MACHINE)dnl
  4. dnl
  5. dnl Copyright (c) 2001-2004 Todd T. Fries <todd@OpenBSD.org>
  6. dnl
  7. dnl Permission to use, copy, modify, and distribute this software for any
  8. dnl purpose with or without fee is hereby granted, provided that the above
  9. dnl copyright notice and this permission notice appear in all copies.
  10. dnl
  11. dnl THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  12. dnl WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  13. dnl MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  14. dnl ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  15. dnl WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  16. dnl ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  17. dnl OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  18. dnl
  19. dnl
  20. dnl *** mac68k specific defintions
  21. dnl
  22. __devitem(ttye, ttye*, ITE bitmapped consoles,ite)dnl
  23. dnl
  24. _TITLE(make)
  25. _DEV(all)
  26. _DEV(ramd)
  27. _DEV(std)
  28. _DEV(local)
  29. _TITLE(dis)
  30. _DEV(ccd, 20, 9)
  31. _DEV(cd, 15, 6)
  32. _DEV(rd, 18, 13)
  33. _DEV(sd, 13, 4)
  34. _DEV(vnd, 19, 8)
  35. _TITLE(tap)
  36. _DEV(ch, 17)
  37. _DEV(st, 14, 5)
  38. _TITLE(term)
  39. _DEV(mac_tty0)
  40. _DEV(ttye)
  41. dnl _TITLE(call)
  42. _TITLE(pty)
  43. _DEV(ptm, 52)
  44. _DEV(pty, 5)
  45. _DEV(tty, 4)
  46. _TITLE(cons)
  47. _DEV(adb, 23)
  48. _DEV(grf_mac, 10)
  49. _TITLE(spec)
  50. _DEV(asc, 36)
  51. _DEV(bpf, 22)
  52. _DEV(fdesc, 21)
  53. _DEV(lkm, 25)
  54. _DEV(pf, 35)
  55. _DEV(rnd, 32)
  56. _DEV(ss, 33)
  57. _DEV(systrace, 50)
  58. _DEV(tun, 24)
  59. _DEV(uk, 34)
  60. _DEV(xfs, 51)
  61. dnl
  62. divert(__mddivert)dnl
  63. dnl
  64. _std(1, 2, 37, 3, 6)
  65. ;;
  66. tty0*)
  67. case $U in
  68. 00|01)
  69. M tty$U c 12 $U 660 dialer uucp
  70. ;;
  71. *)
  72. echo bad unit for serial tty in: $i
  73. ;;
  74. esac
  75. ;;
  76. ttye*)
  77. case $U in
  78. 0|1)
  79. M ttye$U c 11 $U 600
  80. ;;
  81. *)
  82. echo bad unit for ttye in: $i
  83. ;;
  84. esac
  85. ;;
  86. grf*)
  87. case $U in
  88. 0|1|2|3)
  89. M grf$U c 10 $U
  90. ;;
  91. *)
  92. echo bad unit for grf in: $i
  93. ;;
  94. esac
  95. ;;
  96. adb)
  97. M adb c 23 0
  98. ;;
  99. asc*)
  100. M asc$U c 36 $U
  101. ;;
  102. dnl
  103. dnl *** mac68k specific targets
  104. dnl
  105. target(all, ses, 0)dnl
  106. target(all, sd, 0, 1, 2, 3, 4)dnl
  107. target(all, vnd, 0, 1, 2, 3)dnl
  108. target(all, ch, 0)dnl
  109. target(all, ss, 0, 1)dnl
  110. target(all, xfs, 0)dnl
  111. twrget(all, flo, fd, 0, 0B, 0C, 0D, 0E, 0F, 0G, 0H)dnl
  112. twrget(all, flo, fd, 1, 1B, 1C, 1D, 1E, 1F, 1G, 1H)dnl
  113. target(all, pty, 0)dnl
  114. target(all, bpf, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl
  115. target(all, tun, 0, 1, 2, 3)dnl
  116. target(all, xy, 0, 1, 2, 3)dnl
  117. target(all, rd, 0)dnl
  118. target(all, cd, 0, 1)dnl
  119. target(all, ccd, 0, 1, 2, 3)dnl
  120. twrget(all, ttye, ttye, 0)dnl
  121. target(ramd, sd, 0, 1, 2, 3)dnl
  122. target(ramd, st, 0, 1)dnl
  123. target(ramd, rd, 0, 1)dnl
  124. target(ramd, adb)dnl
  125. target(ramd, asc, 0)dnl
  126. target(ramd, grf, 0, 1)dnl
  127. twrget(ramd, mac_tty0, tty0, 0, 1)dnl
  128. target(ramd, pty, 0)dnl