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.

122 lines
3.2 KiB

20 years ago
20 years ago
20 years ago
20 years ago
20 years ago
20 years ago
20 years ago
20 years ago
20 years ago
19 years ago
20 years ago
4 years ago
20 years ago
19 years ago
20 years ago
20 years ago
20 years ago
20 years ago
20 years ago
20 years ago
20 years ago
20 years ago
20 years ago
20 years ago
20 years ago
  1. define(MACHINE,sgi)dnl
  2. vers(__file__,
  3. {-$OpenBSD: MAKEDEV.md,v 1.53 2020/04/24 20:09:05 ratchov Exp $-},
  4. etc.MACHINE)dnl
  5. dnl
  6. dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org>
  7. dnl All rights reserved.
  8. dnl
  9. dnl Redistribution and use in source and binary forms, with or without
  10. dnl modification, are permitted provided that the following conditions
  11. dnl are met:
  12. dnl 1. Redistributions of source code must retain the above copyright
  13. dnl notice, this list of conditions and the following disclaimer.
  14. dnl 2. The name of the author may not be used to endorse or promote products
  15. dnl derived from this software without specific prior written permission.
  16. dnl
  17. dnl THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
  18. dnl INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
  19. dnl AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
  20. dnl THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
  21. dnl EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  22. dnl PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
  23. dnl OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
  24. dnl WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
  25. dnl OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
  26. dnl ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  27. dnl
  28. dnl
  29. __devitem(zs, tty[a-b]*, Zilog 8530 serial port,zs)dnl
  30. _mkdev(zs, {-tty[a-b]-}, {-u=${i#tty*}
  31. case $u in
  32. a) n=0 ;;
  33. b) n=1 ;;
  34. *) echo unknown tty device $i ;;
  35. esac
  36. M tty$u c major_zs_c $n 660 dialer root
  37. M cua$u c major_zs_c Add($n, 128) 660 dialer root-})dnl
  38. _TITLE(make)
  39. _DEV(all)
  40. _DEV(ramd)
  41. _DEV(std)
  42. _DEV(local)
  43. _TITLE(dis)
  44. _DEV(cd, 8, 3)
  45. _DEV(rd, 22, 8)
  46. _DEV(sd, 9, 0)
  47. _DEV(vnd, 11, 2)
  48. _DEV(wd, 18, 4)
  49. _TITLE(tap)
  50. _DEV(ch, 36)
  51. _DEV(st, 10)
  52. _TITLE(term)
  53. _DEV(com, 17)
  54. _DEV(zs, 19)
  55. _TITLE(pty)
  56. _DEV(ptm, 52)
  57. _DEV(pty, 5)
  58. _DEV(tty, 4)
  59. _TITLE(cons)
  60. _DEV(wsdisp, 25)
  61. _DEV(wscons)
  62. _DEV(wskbd, 26)
  63. _DEV(wsmux, 28)
  64. _TITLE(point)
  65. _DEV(wsmouse, 27)
  66. _TITLE(usb)
  67. _DEV(ttyU, 66)
  68. _DEV(uall)
  69. _DEV(ugen, 63)
  70. _DEV(uhid, 62)
  71. _DEV(fido, 76)
  72. _DEV(ulpt, 64)
  73. _DEV(usb, 61)
  74. _TITLE(spec)
  75. _DEV(au, 44)
  76. _DEV(bio, 49)
  77. _DEV(bpf, 12)
  78. _DEV(dt, 30)
  79. _DEV(diskmap, 69)
  80. _DEV(fdesc, 7)
  81. _DEV(fuse, 73)
  82. _DEV(hotplug, 67)
  83. _DEV(pci, 29)
  84. _DEV(pf, 31)
  85. _DEV(pppx, 70)
  86. _DEV(pppac, 77)
  87. _DEV(rnd, 33)
  88. _DEV(tun, 13)
  89. _DEV(tap, 74)
  90. _DEV(uk, 32)
  91. _DEV(vi, 45)
  92. _DEV(vscsi, 68)
  93. _DEV(switch, 75)
  94. dnl
  95. divert(__mddivert)dnl
  96. dnl
  97. _std(2, 3, 35, 6)
  98. ;;
  99. dnl
  100. dnl *** sgi specific targets
  101. dnl
  102. twrget(all, au, audio, 0, 1, 2, 3)dnl
  103. target(all, ch, 0)dnl
  104. target(all, vscsi, 0)dnl
  105. target(all, diskmap)dnl
  106. target(all, pty, 0, 1, 2)dnl
  107. target(all, bio)dnl
  108. target(all, tun, 0, 1, 2, 3)dnl
  109. target(all, tap, 0, 1, 2, 3)dnl
  110. target(all, rd, 0)dnl
  111. target(all, cd, 0, 1)dnl
  112. target(all, sd, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl
  113. target(all, vnd, 0, 1, 2, 3)dnl
  114. target(all, switch, 0, 1, 2, 3)dnl
  115. twrget(all, zs, tty, a, b)dnl
  116. twrget(wscons, wscons, ttyD, cfg, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b)dnl
  117. twrget(wscons, wscons, ttyE, cfg, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b)dnl
  118. twrget(wscons, wscons, ttyF, cfg, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b)dnl
  119. target(ramd, pty, 0)dnl
  120. target(ramd, bio)dnl
  121. target(ramd, diskmap)dnl
  122. target(ramd, random)dnl