| @@ -1,38 +1,38 @@ | | | @@ -1,38 +1,38 @@ |
1 | # $NetBSD: GENERIC,v 1.207 2021/01/21 06:51:54 nia Exp $ | | 1 | # $NetBSD: GENERIC,v 1.208 2021/05/29 22:50:18 tsutsui Exp $ |
2 | # | | 2 | # |
3 | # GENERIC machine description file | | 3 | # GENERIC machine description file |
4 | # | | 4 | # |
5 | # This machine description file is used to generate the default NetBSD | | 5 | # This machine description file is used to generate the default NetBSD |
6 | # kernel. The generic kernel does not include all options, subsystems | | 6 | # kernel. The generic kernel does not include all options, subsystems |
7 | # and device drivers, but should be useful for most applications. | | 7 | # and device drivers, but should be useful for most applications. |
8 | # | | 8 | # |
9 | # The machine description file can be customised for your specific | | 9 | # The machine description file can be customised for your specific |
10 | # machine to reduce the kernel size and improve its performance. | | 10 | # machine to reduce the kernel size and improve its performance. |
11 | # | | 11 | # |
12 | # For further information on compiling NetBSD kernels, see the config(8) | | 12 | # For further information on compiling NetBSD kernels, see the config(8) |
13 | # man page. | | 13 | # man page. |
14 | # | | 14 | # |
15 | # For further information on hardware support for this architecture, see | | 15 | # For further information on hardware support for this architecture, see |
16 | # the intro(4) man page. For further information about kernel options | | 16 | # the intro(4) man page. For further information about kernel options |
17 | # for this architecture, see the options(4) man page. For an explanation | | 17 | # for this architecture, see the options(4) man page. For an explanation |
18 | # of each device driver in this file see the section 4 man page for the | | 18 | # of each device driver in this file see the section 4 man page for the |
19 | # device. | | 19 | # device. |
20 | | | 20 | |
21 | include "arch/hp300/conf/std.hp300" | | 21 | include "arch/hp300/conf/std.hp300" |
22 | | | 22 | |
23 | options INCLUDE_CONFIG_FILE # embed config file in kernel binary | | 23 | options INCLUDE_CONFIG_FILE # embed config file in kernel binary |
24 | | | 24 | |
25 | #ident "GENERIC-$Revision: 1.207 $" | | 25 | #ident "GENERIC-$Revision: 1.208 $" |
26 | | | 26 | |
27 | makeoptions COPTS="-O2 -fno-reorder-blocks -fno-omit-frame-pointer" | | 27 | makeoptions COPTS="-O2 -fno-reorder-blocks -fno-omit-frame-pointer" |
28 | # See share/mk/sys.mk. -fno-omit-frame-pointer is necessary for | | 28 | # See share/mk/sys.mk. -fno-omit-frame-pointer is necessary for |
29 | # backtraces in DDB. | | 29 | # backtraces in DDB. |
30 | | | 30 | |
31 | maxusers 8 # estimated number of users | | 31 | maxusers 8 # estimated number of users |
32 | | | 32 | |
33 | # Support for various CPU types | | 33 | # Support for various CPU types |
34 | options HP320 | | 34 | options HP320 |
35 | options HP330 # includes 318, 319 | | 35 | options HP330 # includes 318, 319 |
36 | options HP340 | | 36 | options HP340 |
37 | options HP345 | | 37 | options HP345 |
38 | options HP350 | | 38 | options HP350 |
| @@ -47,29 +47,29 @@ options HP400 | | | @@ -47,29 +47,29 @@ options HP400 |
47 | options HP425 | | 47 | options HP425 |
48 | options HP433 | | 48 | options HP433 |
49 | options FPSP # floating point interface for 68040 | | 49 | options FPSP # floating point interface for 68040 |
50 | #options FPU_EMULATE # software fpu emulation for MC68030 | | 50 | #options FPU_EMULATE # software fpu emulation for MC68030 |
51 | | | 51 | |
52 | # Standard system options | | 52 | # Standard system options |
53 | options KTRACE # system call tracing support | | 53 | options KTRACE # system call tracing support |
54 | #options INSECURE # disable kernel security level | | 54 | #options INSECURE # disable kernel security level |
55 | options USERCONF # userconf(4) support | | 55 | options USERCONF # userconf(4) support |
56 | #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) | | 56 | #options PIPE_SOCKETPAIR # smaller, but slower pipe(2) |
57 | options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel | | 57 | options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel |
58 | #options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT | | 58 | #options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT |
59 | options NTP # NTP phase/frequency locked loop | | 59 | options NTP # NTP phase/frequency locked loop |
60 | options SYSVSHM # System V-style shared memory | | | |
61 | options SYSVMSG # System V-style message queues | | 60 | options SYSVMSG # System V-style message queues |
62 | options SYSVSEM # System V-style semaphores | | 61 | options SYSVSEM # System V-style semaphores |
| | | 62 | options SYSVSHM # System V-style shared memory |
63 | | | 63 | |
64 | options MODULAR # new style module(7) framework | | 64 | options MODULAR # new style module(7) framework |
65 | options MODULAR_DEFAULT_AUTOLOAD | | 65 | options MODULAR_DEFAULT_AUTOLOAD |
66 | | | 66 | |
67 | # Alternate buffer queue strategies for better responsiveness under high | | 67 | # Alternate buffer queue strategies for better responsiveness under high |
68 | # disk I/O load. | | 68 | # disk I/O load. |
69 | #options BUFQ_READPRIO | | 69 | #options BUFQ_READPRIO |
70 | options BUFQ_PRIOCSCAN | | 70 | options BUFQ_PRIOCSCAN |
71 | | | 71 | |
72 | # Debugging options | | 72 | # Debugging options |
73 | #options DIAGNOSTIC # Extra kernel sanity checks | | 73 | #options DIAGNOSTIC # Extra kernel sanity checks |
74 | #options DEBUG # Enable misc. kernel debugging code | | 74 | #options DEBUG # Enable misc. kernel debugging code |
75 | options DDB # Kernel Dynamic Debugger | | 75 | options DDB # Kernel Dynamic Debugger |
| @@ -149,118 +149,134 @@ options PPP_FILTER # Active filter supp | | | @@ -149,118 +149,134 @@ options PPP_FILTER # Active filter supp |
149 | options NFS_BOOT_DHCP # use dhcp for NFS boot | | 149 | options NFS_BOOT_DHCP # use dhcp for NFS boot |
150 | | | 150 | |
151 | # Options for HP hardware | | 151 | # Options for HP hardware |
152 | options USELEDS # make the lights twinkle | | 152 | options USELEDS # make the lights twinkle |
153 | #options PANICBUTTON # two fast <reset>s on HIL dump kernel | | 153 | #options PANICBUTTON # two fast <reset>s on HIL dump kernel |
154 | #options CONSCODE=9 # force console at this select code | | 154 | #options CONSCODE=9 # force console at this select code |
155 | | | 155 | |
156 | # These options enable verbose messages for several subsystems. | | 156 | # These options enable verbose messages for several subsystems. |
157 | # Warning, these may compile large string tables into the kernel! | | 157 | # Warning, these may compile large string tables into the kernel! |
158 | #options SCSIVERBOSE # Verbose SCSI errors | | 158 | #options SCSIVERBOSE # Verbose SCSI errors |
159 | options DIOVERBOSE # recognize "unknown" DIO devices | | 159 | options DIOVERBOSE # recognize "unknown" DIO devices |
160 | | | 160 | |
161 | # workstation console options | | 161 | # workstation console options |
162 | options WSEMUL_VT100 # VT100 / VT220 emulation | | 162 | options WSEMUL_VT100 # VT100 / VT220 emulation |
| | | 163 | #options WSDISPLAY_DEFAULTSCREENS=1 |
163 | options WSDISPLAY_COMPAT_USL # wsconscfg VT handling | | 164 | options WSDISPLAY_COMPAT_USL # wsconscfg VT handling |
164 | options WSDISPLAY_COMPAT_RAWKBD | | 165 | options WSDISPLAY_COMPAT_RAWKBD |
165 | options WS_KERNEL_FG=WSCOL_GREEN | | 166 | options WS_KERNEL_FG=WSCOL_GREEN |
166 | #options WS_KERNEL_BG=WSCOL_BLACK | | 167 | #options WS_KERNEL_BG=WSCOL_BLACK |
167 | | | 168 | |
168 | #options FONT_GALLANT12x22 | | 169 | #options FONT_GALLANT12x22 |
169 | options FONT_VT220ISO8x16 | | 170 | options FONT_VT220ISO8x16 |
170 | | | 171 | |
171 | config netbsd root on ? type ? | | 172 | config netbsd root on ? type ? |
172 | | | 173 | |
173 | # | | 174 | # |
174 | # Device configuration | | 175 | # Device configuration |
175 | # | | 176 | # |
176 | | | 177 | |
177 | mainbus0 at root # root "bus" | | 178 | mainbus0 at root # root "bus" |
178 | | | 179 | |
179 | intio0 at mainbus0 # internal i/o space | | 180 | intio0 at mainbus0 # internal i/o space |
180 | dio0 at mainbus0 # DIO/DIO-II bus | | 181 | dio0 at mainbus0 # DIO/DIO-II bus |
181 | sgc0 at mainbus0 # SGC bus | | 182 | sgc0 at mainbus0 # SGC bus |
182 | | | 183 | |
| | | 184 | # Real-time clock (not optional) |
| | | 185 | rtc* at intio? |
| | | 186 | |
| | | 187 | # DMA controller |
| | | 188 | dma* at intio? |
| | | 189 | |
183 | # Human Interface Loop devices | | 190 | # Human Interface Loop devices |
184 | hil0 at intio? # HIL controller | | 191 | hil0 at intio? # HIL controller |
185 | hilkbd* at hil? # keyboards | | 192 | hilkbd* at hil? # keyboards |
186 | wskbd* at hilkbd? mux 1 | | 193 | wskbd* at hilkbd? mux 1 |
187 | hilms* at hil? # mice, buttons and tablets | | 194 | hilms* at hil? # mice, buttons and tablets |
188 | wsmouse* at hilms? mux 0 | | 195 | wsmouse* at hilms? mux 0 |
189 | hilid* at hil? # ID module | | 196 | hilid* at hil? # ID module |
190 | | | 197 | |
191 | rtc* at intio? # real-time clock (not optional) | | 198 | # Frodo utility chip found on 382, 4xx's |
192 | dma* at intio? # DMA controller | | 199 | frodo* at intio? |
193 | frodo* at intio? # Frodo utility chip found on 382, 4xx | | | |
194 | nhpib* at intio? # slow internal HP-IB | | | |
195 | | | 200 | |
196 | # 8250-like serial ports found on Frodo ASIC | | 201 | # 8250-like serial ports found on Frodo ASIC |
197 | dnkbd0 at frodo? offset 0x0 # Domain keyboard flavor | | 202 | dnkbd0 at frodo? offset 0x0 # Domain keyboard flavor |
198 | wskbd* at dnkbd? mux 1 | | 203 | wskbd* at dnkbd? mux 1 |
199 | wsmouse* at dnkbd? mux 0 | | 204 | wsmouse* at dnkbd? mux 0 |
200 | com* at frodo? offset ? # tty flavor | | 205 | com* at frodo? offset ? # tty flavor |
201 | | | 206 | |
202 | # mc146818-like real time clock found on 425e | | 207 | # mc146818-like real time clock found on 425e |
203 | mcclock0 at frodo? offset 0x80 | | 208 | mcclock0 at frodo? offset 0x80 |
204 | | | 209 | |
205 | dvbox* at intio? # Davinci framebuffer | | 210 | # Davinci framebuffer |
| | | 211 | dvbox* at intio? |
206 | dvbox* at dio? scode ? | | 212 | dvbox* at dio? scode ? |
207 | wsdisplay* at dvbox? | | 213 | wsdisplay* at dvbox? |
208 | | | 214 | |
209 | gbox* at intio? # Gatorbox framebuffer | | 215 | # Gatorbox framebuffer |
| | | 216 | gbox* at intio? |
210 | gbox* at dio? scode ? | | 217 | gbox* at dio? scode ? |
211 | wsdisplay* at gbox? | | 218 | wsdisplay* at gbox? |
212 | | | 219 | |
213 | hyper* at dio? scode ? # Hyperion framebuffer | | 220 | # Hyperion framebuffer |
| | | 221 | hyper* at dio? scode ? |
214 | wsdisplay* at hyper? | | 222 | wsdisplay* at hyper? |
215 | | | 223 | |
216 | rbox* at intio? # Renaissance framebuffer | | 224 | # Renaissance framebuffer |
| | | 225 | rbox* at intio? |
217 | rbox* at dio? scode ? | | 226 | rbox* at dio? scode ? |
218 | wsdisplay* at rbox? | | 227 | wsdisplay* at rbox? |
219 | | | 228 | |
220 | topcat* at intio? # Topcat/catseye framebuffers | | 229 | # Topcat/catseye framebuffers |
| | | 230 | topcat* at intio? |
221 | topcat* at dio? scode ? | | 231 | topcat* at dio? scode ? |
222 | wsdisplay* at topcat? | | 232 | wsdisplay* at topcat? |
223 | | | 233 | |
224 | tvrx* at dio? scode ? # TurboVRX framebuffer | | 234 | # TurboVRX framebuffer |
| | | 235 | tvrx* at dio? scode ? |
225 | wsdisplay* at tvrx? | | 236 | wsdisplay* at tvrx? |
226 | | | 237 | |
227 | gendiofb* at dio? scode ? # dumb framebuffer support for 362/382 | | 238 | # dumb framebuffer support for 362/382 |
| | | 239 | gendiofb* at dio? scode ? |
228 | wsdisplay* at gendiofb? | | 240 | wsdisplay* at gendiofb? |
229 | | | 241 | |
230 | sti* at sgc? slot ? # SGC EVRX framebuffers | | 242 | # STI framebuffers |
| | | 243 | sti* at sgc? slot ? |
231 | wsdisplay* at sti? | | 244 | wsdisplay* at sti? |
232 | | | 245 | |
233 | com0 at dio0 scode 9 # DCA serial interfaces | | 246 | com0 at dio0 scode 9 # DCA serial interfaces |
234 | com* at dio? scode ? | | 247 | com* at dio? scode ? |
235 | | | 248 | |
236 | dcm* at dio? scode ? flags 0xe # DCM 4- or 8-port serial interfaces | | 249 | dcm* at dio? scode ? flags 0xe # DCM 4- or 8-port serial interfaces |
237 | | | 250 | |
238 | le* at dio? scode ? # LANCE ethernet interfaces | | 251 | le* at dio? scode ? # LANCE ethernet interfaces |
239 | | | 252 | |
240 | nhpib0 at dio? scode 7 # slow internal HP-IB | | 253 | # HP-IB devices |
| | | 254 | nhpib* at intio? # internal HP-IB |
| | | 255 | nhpib0 at dio? scode 7 # 98624A HP-IB |
241 | nhpib* at dio? scode ? | | 256 | nhpib* at dio? scode ? |
242 | | | 257 | |
243 | fhpib* at dio? scode ? # `fast' HP-IB | | 258 | fhpib* at dio? scode ? # 98625A/98625B HP-IB |
244 | | | 259 | |
245 | hpibbus0 at nhpib0 | | 260 | hpibbus0 at nhpib0 |
246 | hpibbus* at nhpib? | | 261 | hpibbus* at nhpib? |
247 | hpibbus* at fhpib? | | 262 | hpibbus* at fhpib? |
248 | | | 263 | |
249 | rd* at hpibbus? slave ? punit ? # HP-IB disks | | 264 | rd* at hpibbus? slave ? punit ? # HP-IB disks |
250 | ct* at hpibbus? slave ? punit ? # HP-IB cartridge tapes | | 265 | ct* at hpibbus? slave ? punit ? # HP-IB cartridge tapes |
251 | mt* at hpibbus? slave ? punit ? # HP-IB 9-track tape | | 266 | mt* at hpibbus? slave ? punit ? # HP-IB 9-track tape |
252 | ppi0 at hpibbus0 slave 5 punit 0 # HP-IB plotter | | 267 | ppi0 at hpibbus0 slave 5 punit 0 # HP-IB plotter |
253 | | | 268 | |
| | | 269 | # SCSI devices |
254 | spc* at dio? scode ? # HP 98265A SCSI | | 270 | spc* at dio? scode ? # HP 98265A SCSI |
255 | scsibus* at spc? | | 271 | scsibus* at spc? |
256 | | | 272 | |
257 | sd* at scsibus? target ? lun ? # SCSI disks | | 273 | sd* at scsibus? target ? lun ? # SCSI disks |
258 | st* at scsibus? target ? lun ? # SCSI tapes | | 274 | st* at scsibus? target ? lun ? # SCSI tapes |
259 | cd* at scsibus? target ? lun ? # SCSI CD-ROMs | | 275 | cd* at scsibus? target ? lun ? # SCSI CD-ROMs |
260 | ch* at scsibus? target ? lun ? # SCSI changer devices | | 276 | ch* at scsibus? target ? lun ? # SCSI changer devices |
261 | ss* at scsibus? target ? lun ? # SCSI scanners | | 277 | ss* at scsibus? target ? lun ? # SCSI scanners |
262 | uk* at scsibus? target ? lun ? # unknown SCSI devices | | 278 | uk* at scsibus? target ? lun ? # unknown SCSI devices |
263 | | | 279 | |
264 | # 425e digital audio | | 280 | # 425e digital audio |
265 | arcofi* at dio? scode ? | | 281 | arcofi* at dio? scode ? |
266 | audio* at arcofi? | | 282 | audio* at arcofi? |
| @@ -286,39 +302,38 @@ options RAID_AUTOCONFIG # auto-configu | | | @@ -286,39 +302,38 @@ options RAID_AUTOCONFIG # auto-configu |
286 | #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 | | 302 | #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 |
287 | #pseudo-device fss # file system snapshot device | | 303 | #pseudo-device fss # file system snapshot device |
288 | pseudo-device md # memory disk device (ramdisk) | | 304 | pseudo-device md # memory disk device (ramdisk) |
289 | pseudo-device vnd # vnode pseudo-disks | | 305 | pseudo-device vnd # vnode pseudo-disks |
290 | #options VND_COMPRESSION # compressed vnd(4) | | 306 | #options VND_COMPRESSION # compressed vnd(4) |
291 | | | 307 | |
292 | # network pseudo-devices | | 308 | # network pseudo-devices |
293 | pseudo-device bridge # simple inter-network bridging | | 309 | pseudo-device bridge # simple inter-network bridging |
294 | pseudo-device vether # Virtual Ethernet for bridge | | 310 | pseudo-device vether # Virtual Ethernet for bridge |
295 | pseudo-device agr # IEEE 802.3ad link aggregation | | 311 | pseudo-device agr # IEEE 802.3ad link aggregation |
296 | pseudo-device bpfilter # Berkeley packet filter | | 312 | pseudo-device bpfilter # Berkeley packet filter |
297 | pseudo-device carp # Common Address Redundancy Protocol | | 313 | pseudo-device carp # Common Address Redundancy Protocol |
298 | #pseudo-device faith # IPv[46] tcp relay translation i/f | | 314 | #pseudo-device faith # IPv[46] tcp relay translation i/f |
299 | #pseudo-device gre # generic L3 over IP tunnel | | | |
300 | pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) | | 315 | pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) |
301 | pseudo-device npf # NPF packet filter | | 316 | #pseudo-device gre # generic L3 over IP tunnel |
302 | pseudo-device loop # loopback network interface | | 317 | pseudo-device loop # loopback network interface |
| | | 318 | pseudo-device npf # NPF packet filter |
303 | pseudo-device ppp # PPP network interfaces | | 319 | pseudo-device ppp # PPP network interfaces |
304 | pseudo-device pppoe # PPP over Ethernet (RFC 2516) | | 320 | pseudo-device pppoe # PPP over Ethernet (RFC 2516) |
305 | pseudo-device sl # SLIP network interfaces | | 321 | pseudo-device sl # SLIP network interfaces |
306 | pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation | | 322 | pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation |
307 | pseudo-device tun # network tunneling over tty | | 323 | pseudo-device tun # network tunneling over tty |
308 | pseudo-device tap # virtual Ethernet | | 324 | pseudo-device tap # virtual Ethernet |
309 | pseudo-device vlan # IEEE 802.1q encapsulation | | 325 | pseudo-device vlan # IEEE 802.1q encapsulation |
310 | | | 326 | |
311 | # | | | |
312 | # accept filters | | 327 | # accept filters |
313 | #pseudo-device accf_data # "dataready" accept filter | | 328 | #pseudo-device accf_data # "dataready" accept filter |
314 | #pseudo-device accf_http # "httpready" accept filter | | 329 | #pseudo-device accf_http # "httpready" accept filter |
315 | | | 330 | |
316 | # miscellaneous pseudo-devices | | 331 | # miscellaneous pseudo-devices |
317 | pseudo-device clockctl # user control of clock subsystem | | 332 | pseudo-device clockctl # user control of clock subsystem |
318 | pseudo-device drvctl # user control of drive subsystem | | 333 | pseudo-device drvctl # user control of drive subsystem |
319 | pseudo-device pty # pseudo-terminals | | 334 | pseudo-device pty # pseudo-terminals |
320 | #pseudo-device vcoda # coda minicache <-> venus comm. | | 335 | #pseudo-device vcoda # coda minicache <-> venus comm. |
321 | pseudo-device ksyms # /dev/ksyms | | 336 | pseudo-device ksyms # /dev/ksyms |
322 | #pseudo-device putter # for puffs and pud | | 337 | #pseudo-device putter # for puffs and pud |
323 | | | 338 | |
324 | # wscons pseudo-devices | | 339 | # wscons pseudo-devices |