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.

117 lines
2.9 KiB

9 years ago
  1. define(MACHINE,octeon)dnl
  2. vers(__file__,
  3. {-$OpenBSD: MAKEDEV.md,v 1.14 2019/07/17 14:36:31 visa 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. dnl *** octeon specific devices
  30. __devitem(uar, ttya, on-board serial port,uar)dnl
  31. __devitem(octcf, {-octcf*-}, octeon compact flash)dnl
  32. disk_q({-octcf-})dnl
  33. dnl
  34. dnl *** MAKEDEV itself
  35. dnl
  36. _TITLE(make)
  37. _DEV(all)
  38. _DEV(ramd)
  39. _DEV(std)
  40. _DEV(local)
  41. _TITLE(dis)
  42. _DEV(cd, 8, 3)
  43. _DEV(rd, 22, 8)
  44. _DEV(sd, 9, 0)
  45. _DEV(vnd, 11, 2)
  46. _DEV(wd, 18, 4)
  47. _DEV(octcf, 15, 15)
  48. _TITLE(tap)
  49. _DEV(ch, 36)
  50. _DEV(st, 10)
  51. _TITLE(term)
  52. _DEV(com, 17)
  53. _TITLE(pty)
  54. _DEV(ptm, 52)
  55. _DEV(pty, 5)
  56. _DEV(tty, 4)
  57. _TITLE(cons)
  58. _DEV(wsdisp, 25)
  59. _DEV(wscons)
  60. _DEV(wskbd, 26)
  61. _DEV(wsmux, 28)
  62. _TITLE(point)
  63. _DEV(wsmouse, 27)
  64. _TITLE(usb)
  65. _DEV(ttyU, 66)
  66. _DEV(uall)
  67. _DEV(usb, 61)
  68. _TITLE(spec)
  69. _DEV(au, 44)
  70. _DEV(bio, 49)
  71. _DEV(bpf, 12)
  72. _DEV(diskmap, 70)
  73. _DEV(fdesc, 7)
  74. _DEV(fuse, 53)
  75. _DEV(hotplug, 67)
  76. _DEV(pci, 29)
  77. _DEV(pf, 31)
  78. _DEV(pppx, 71)
  79. _DEV(rnd, 33)
  80. _DEV(tun, 13)
  81. _DEV(tap, 74)
  82. _DEV(uk, 32)
  83. _DEV(vi, 45)
  84. _DEV(vscsi, 69)
  85. _DEV(switch, 75)
  86. dnl
  87. divert(__mddivert)dnl
  88. dnl
  89. boot)
  90. _recurse ramdisk random
  91. M octboot c 21 0 600
  92. ;;
  93. _std(2, 3, 35, 6)
  94. M openprom c 20 0 600
  95. ;;
  96. dnl
  97. dnl *** octeon specific targets
  98. dnl
  99. twrget(all, au, audio, 0, 1, 2)dnl
  100. target(all, ch, 0)dnl
  101. target(all, vscsi, 0)dnl
  102. target(all, diskmap)dnl
  103. target(all, pty, 0, 1, 2)dnl
  104. target(all, bio)dnl
  105. target(all, tun, 0, 1, 2, 3)dnl
  106. target(all, tap, 0, 1, 2, 3)dnl
  107. target(all, rd, 0)dnl
  108. target(all, cd, 0, 1)dnl
  109. target(all, sd, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl
  110. target(all, vnd, 0, 1, 2, 3)dnl
  111. target(all, octcf, 0)dnl
  112. target(all, switch, 0, 1, 2, 3)dnl
  113. target(ramd, pty, 0)dnl
  114. target(ramd, bio)dnl
  115. target(ramd, diskmap)dnl
  116. target(ramd, random)dnl
  117. target(ramd, octcf, 0)dnl