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.

142 lines
3.2 KiB

4 years ago
  1. define(MACHINE,amd64)dnl
  2. vers(__file__,
  3. {-$OpenBSD: MAKEDEV.md,v 1.75 2020/04/24 20:09:04 ratchov 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
  21. __devitem(apm, apm, Power Management Interface)dnl
  22. __devitem(nvram, nvram, NVRAM access)dnl
  23. _mkdev(nvram, nvram, {-M nvram c major_nvram_c 0 440 kmem-})dnl
  24. _TITLE(make)
  25. _DEV(all)
  26. _DEV(ramdisk)
  27. _DEV(std)
  28. _DEV(local)
  29. _TITLE(dis)
  30. _DEV(cd, 15, 6)
  31. _DEV(flo, 9, 2)
  32. _DEV(rd, 47, 17)
  33. _DEV(sd, 13, 4)
  34. _DEV(vnd, 41, 14)
  35. _DEV(wd, 3, 0)
  36. _TITLE(tap)
  37. _DEV(ch, 17)
  38. _DEV(st, 14)
  39. _TITLE(term)
  40. _DEV(com, 8)
  41. _DEV(ttyc, 38)
  42. _DEV(ttyVI, 94)
  43. _TITLE(pty)
  44. _DEV(ptm, 81)
  45. _DEV(pty, 6)
  46. _DEV(tty, 5)
  47. _TITLE(cons)
  48. _DEV(wsdisp, 12)
  49. _DEV(wscons)
  50. _DEV(wskbd, 67)
  51. _DEV(wsmux, 69)
  52. _TITLE(point)
  53. _DEV(wsmouse, 68)
  54. _TITLE(prn)
  55. _DEV(lpa)
  56. _DEV(lpt, 16)
  57. _TITLE(usb)
  58. _DEV(ttyU, 66)
  59. _DEV(uall)
  60. _DEV(ugen, 63)
  61. _DEV(uhid, 62)
  62. _DEV(fido, 98)
  63. _DEV(ulpt, 64)
  64. _DEV(usb, 61)
  65. _TITLE(spec)
  66. _DEV(apm, 83)
  67. _DEV(au, 42)
  68. _DEV(bio, 79)
  69. _DEV(bktr, 49)
  70. _DEV(bpf, 23)
  71. _DEV(dt, 30)
  72. _DEV(diskmap, 90)
  73. _DEV(drm, 87)
  74. _DEV(fdesc, 22)
  75. _DEV(fuse, 92)
  76. _DEV(gpio, 88)
  77. _DEV(hotplug, 82)
  78. _DEV(ipmi, 96)
  79. dnl _DEV(joy, 26)
  80. _DEV(nvram, 85)
  81. _DEV(kcov, 19)
  82. _DEV(pci, 72)
  83. _DEV(pctr, 46)
  84. _DEV(pf, 73)
  85. _DEV(pppx, 91)
  86. _DEV(pppac, 99)
  87. _DEV(radio, 76)
  88. _DEV(rnd, 45)
  89. _DEV(rmidi, 52)
  90. _DEV(speak, 27)
  91. _DEV(tun, 40)
  92. _DEV(tap, 93)
  93. _DEV(tuner, 49)
  94. _DEV(uk, 20)
  95. _DEV(vi, 44)
  96. _DEV(vmm, 10)
  97. _DEV(vscsi, 89)
  98. _DEV(pvbus, 95)
  99. _DEV(switch, 97)
  100. dnl
  101. divert(__mddivert)dnl
  102. dnl
  103. ramdisk)
  104. _recurse std bpf fd0 wd0 sd0 tty00 tty01 rd0 bio diskmap
  105. _recurse st0 cd0 ttyC0 wskbd0 wskbd1 wskbd2 random
  106. ;;
  107. _std(1, 2, 50, 7)
  108. M xf86 c 2 4 600
  109. ;;
  110. ttyc*)
  111. M ttyc$U c 38 $U 660 dialer root
  112. M cuac$U c 38 Add($U, 128) 660 dialer root
  113. ;;
  114. dnl
  115. dnl amd64 specific targets
  116. dnl
  117. twrget(all, au, audio, 0, 1, 2, 3)dnl
  118. target(all, ch, 0)dnl
  119. target(all, vscsi, 0)dnl
  120. target(all, diskmap)dnl
  121. twrget(all, flo, fd, 0, 0B, 0C, 0D, 0E, 0F, 0G, 0H)dnl
  122. twrget(all, flo, fd, 1, 1B, 1C, 1D, 1E, 1F, 1G, 1H)dnl
  123. target(all, pty, 0)dnl
  124. target(all, bio)dnl
  125. target(all, tun, 0, 1, 2, 3)dnl
  126. target(all, tap, 0, 1, 2, 3)dnl
  127. target(all, xy, 0, 1, 2, 3)dnl
  128. target(all, rd, 0)dnl
  129. target(all, cd, 0, 1)dnl
  130. target(all, sd, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl
  131. target(all, vnd, 0, 1, 2, 3)dnl
  132. target(all, bktr, 0)dnl
  133. target(all, gpio, 0, 1, 2)dnl
  134. target(all, nvram)dnl
  135. target(all, drm, 0, 1, 2, 3)dnl
  136. target(all, ttyVI, 00, 10, 20, 30, 40)dnl
  137. target(all, ipmi, 0)dnl
  138. target(all, switch, 0, 1, 2, 3)dnl
  139. twrget(ramd, wsdisp, ttyC, 0)dnl
  140. target(ramd, fd, 0)dnl