Sat May 29 22:50:18 2021 UTC ()
Reorder entries and reorganize comments for maintainability.

No functional change intended.


(tsutsui)
diff -r1.207 -r1.208 src/sys/arch/hp300/conf/GENERIC

cvs diff -r1.207 -r1.208 src/sys/arch/hp300/conf/GENERIC (expand / switch to unified diff)

--- src/sys/arch/hp300/conf/GENERIC 2021/01/21 06:51:54 1.207
+++ src/sys/arch/hp300/conf/GENERIC 2021/05/29 22:50:18 1.208
@@ -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
21include "arch/hp300/conf/std.hp300" 21include "arch/hp300/conf/std.hp300"
22 22
23options INCLUDE_CONFIG_FILE # embed config file in kernel binary 23options 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
27makeoptions COPTS="-O2 -fno-reorder-blocks -fno-omit-frame-pointer" 27makeoptions 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
31maxusers 8 # estimated number of users 31maxusers 8 # estimated number of users
32 32
33# Support for various CPU types 33# Support for various CPU types
34options HP320 34options HP320
35options HP330 # includes 318, 319 35options HP330 # includes 318, 319
36options HP340 36options HP340
37options HP345 37options HP345
38options HP350 38options HP350
@@ -47,29 +47,29 @@ options HP400 @@ -47,29 +47,29 @@ options HP400
47options HP425 47options HP425
48options HP433 48options HP433
49options FPSP # floating point interface for 68040 49options 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
53options KTRACE # system call tracing support 53options KTRACE # system call tracing support
54#options INSECURE # disable kernel security level 54#options INSECURE # disable kernel security level
55options USERCONF # userconf(4) support 55options USERCONF # userconf(4) support
56#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 56#options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
57options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 57options 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
59options NTP # NTP phase/frequency locked loop 59options NTP # NTP phase/frequency locked loop
60options SYSVSHM # System V-style shared memory 
61options SYSVMSG # System V-style message queues 60options SYSVMSG # System V-style message queues
62options SYSVSEM # System V-style semaphores 61options SYSVSEM # System V-style semaphores
 62options SYSVSHM # System V-style shared memory
63 63
64options MODULAR # new style module(7) framework 64options MODULAR # new style module(7) framework
65options MODULAR_DEFAULT_AUTOLOAD 65options 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
70options BUFQ_PRIOCSCAN 70options 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
75options DDB # Kernel Dynamic Debugger 75options DDB # Kernel Dynamic Debugger
@@ -149,118 +149,134 @@ options PPP_FILTER # Active filter supp @@ -149,118 +149,134 @@ options PPP_FILTER # Active filter supp
149options NFS_BOOT_DHCP # use dhcp for NFS boot 149options NFS_BOOT_DHCP # use dhcp for NFS boot
150 150
151# Options for HP hardware 151# Options for HP hardware
152options USELEDS # make the lights twinkle 152options 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
159options DIOVERBOSE # recognize "unknown" DIO devices 159options DIOVERBOSE # recognize "unknown" DIO devices
160 160
161# workstation console options 161# workstation console options
162options WSEMUL_VT100 # VT100 / VT220 emulation 162options WSEMUL_VT100 # VT100 / VT220 emulation
 163#options WSDISPLAY_DEFAULTSCREENS=1
163options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 164options WSDISPLAY_COMPAT_USL # wsconscfg VT handling
164options WSDISPLAY_COMPAT_RAWKBD 165options WSDISPLAY_COMPAT_RAWKBD
165options WS_KERNEL_FG=WSCOL_GREEN 166options 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
169options FONT_VT220ISO8x16 170options FONT_VT220ISO8x16
170 171
171config netbsd root on ? type ? 172config netbsd root on ? type ?
172 173
173# 174#
174# Device configuration 175# Device configuration
175# 176#
176 177
177mainbus0 at root # root "bus" 178mainbus0 at root # root "bus"
178 179
179intio0 at mainbus0 # internal i/o space 180intio0 at mainbus0 # internal i/o space
180dio0 at mainbus0 # DIO/DIO-II bus 181dio0 at mainbus0 # DIO/DIO-II bus
181sgc0 at mainbus0 # SGC bus 182sgc0 at mainbus0 # SGC bus
182 183
 184# Real-time clock (not optional)
 185rtc* at intio?
 186
 187# DMA controller
 188dma* at intio?
 189
183# Human Interface Loop devices 190# Human Interface Loop devices
184hil0 at intio? # HIL controller 191hil0 at intio? # HIL controller
185hilkbd* at hil? # keyboards 192hilkbd* at hil? # keyboards
186wskbd* at hilkbd? mux 1 193wskbd* at hilkbd? mux 1
187hilms* at hil? # mice, buttons and tablets 194hilms* at hil? # mice, buttons and tablets
188wsmouse* at hilms? mux 0 195wsmouse* at hilms? mux 0
189hilid* at hil? # ID module 196hilid* at hil? # ID module
190 197
191rtc* at intio? # real-time clock (not optional) 198# Frodo utility chip found on 382, 4xx's
192dma* at intio? # DMA controller 199frodo* at intio?
193frodo* at intio? # Frodo utility chip found on 382, 4xx 
194nhpib* 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
197dnkbd0 at frodo? offset 0x0 # Domain keyboard flavor 202dnkbd0 at frodo? offset 0x0 # Domain keyboard flavor
198wskbd* at dnkbd? mux 1 203wskbd* at dnkbd? mux 1
199wsmouse* at dnkbd? mux 0 204wsmouse* at dnkbd? mux 0
200com* at frodo? offset ? # tty flavor 205com* 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
203mcclock0 at frodo? offset 0x80 208mcclock0 at frodo? offset 0x80
204 209
205dvbox* at intio? # Davinci framebuffer 210# Davinci framebuffer
 211dvbox* at intio?
206dvbox* at dio? scode ? 212dvbox* at dio? scode ?
207wsdisplay* at dvbox? 213wsdisplay* at dvbox?
208 214
209gbox* at intio? # Gatorbox framebuffer 215# Gatorbox framebuffer
 216gbox* at intio?
210gbox* at dio? scode ? 217gbox* at dio? scode ?
211wsdisplay* at gbox? 218wsdisplay* at gbox?
212 219
213hyper* at dio? scode ? # Hyperion framebuffer 220# Hyperion framebuffer
 221hyper* at dio? scode ?
214wsdisplay* at hyper? 222wsdisplay* at hyper?
215 223
216rbox* at intio? # Renaissance framebuffer 224# Renaissance framebuffer
 225rbox* at intio?
217rbox* at dio? scode ? 226rbox* at dio? scode ?
218wsdisplay* at rbox? 227wsdisplay* at rbox?
219 228
220topcat* at intio? # Topcat/catseye framebuffers 229# Topcat/catseye framebuffers
 230topcat* at intio?
221topcat* at dio? scode ? 231topcat* at dio? scode ?
222wsdisplay* at topcat? 232wsdisplay* at topcat?
223 233
224tvrx* at dio? scode ? # TurboVRX framebuffer 234# TurboVRX framebuffer
 235tvrx* at dio? scode ?
225wsdisplay* at tvrx? 236wsdisplay* at tvrx?
226 237
227gendiofb* at dio? scode ? # dumb framebuffer support for 362/382 238# dumb framebuffer support for 362/382
 239gendiofb* at dio? scode ?
228wsdisplay* at gendiofb? 240wsdisplay* at gendiofb?
229 241
230sti* at sgc? slot ? # SGC EVRX framebuffers 242# STI framebuffers
 243sti* at sgc? slot ?
231wsdisplay* at sti? 244wsdisplay* at sti?
232 245
233com0 at dio0 scode 9 # DCA serial interfaces 246com0 at dio0 scode 9 # DCA serial interfaces
234com* at dio? scode ? 247com* at dio? scode ?
235 248
236dcm* at dio? scode ? flags 0xe # DCM 4- or 8-port serial interfaces 249dcm* at dio? scode ? flags 0xe # DCM 4- or 8-port serial interfaces
237 250
238le* at dio? scode ? # LANCE ethernet interfaces 251le* at dio? scode ? # LANCE ethernet interfaces
239 252
240nhpib0 at dio? scode 7 # slow internal HP-IB 253# HP-IB devices
 254nhpib* at intio? # internal HP-IB
 255nhpib0 at dio? scode 7 # 98624A HP-IB
241nhpib* at dio? scode ? 256nhpib* at dio? scode ?
242 257
243fhpib* at dio? scode ? # `fast' HP-IB 258fhpib* at dio? scode ? # 98625A/98625B HP-IB
244 259
245hpibbus0 at nhpib0 260hpibbus0 at nhpib0
246hpibbus* at nhpib? 261hpibbus* at nhpib?
247hpibbus* at fhpib? 262hpibbus* at fhpib?
248 263
249rd* at hpibbus? slave ? punit ? # HP-IB disks 264rd* at hpibbus? slave ? punit ? # HP-IB disks
250ct* at hpibbus? slave ? punit ? # HP-IB cartridge tapes 265ct* at hpibbus? slave ? punit ? # HP-IB cartridge tapes
251mt* at hpibbus? slave ? punit ? # HP-IB 9-track tape 266mt* at hpibbus? slave ? punit ? # HP-IB 9-track tape
252ppi0 at hpibbus0 slave 5 punit 0 # HP-IB plotter 267ppi0 at hpibbus0 slave 5 punit 0 # HP-IB plotter
253 268
 269# SCSI devices
254spc* at dio? scode ? # HP 98265A SCSI 270spc* at dio? scode ? # HP 98265A SCSI
255scsibus* at spc? 271scsibus* at spc?
256 272
257sd* at scsibus? target ? lun ? # SCSI disks 273sd* at scsibus? target ? lun ? # SCSI disks
258st* at scsibus? target ? lun ? # SCSI tapes 274st* at scsibus? target ? lun ? # SCSI tapes
259cd* at scsibus? target ? lun ? # SCSI CD-ROMs 275cd* at scsibus? target ? lun ? # SCSI CD-ROMs
260ch* at scsibus? target ? lun ? # SCSI changer devices 276ch* at scsibus? target ? lun ? # SCSI changer devices
261ss* at scsibus? target ? lun ? # SCSI scanners 277ss* at scsibus? target ? lun ? # SCSI scanners
262uk* at scsibus? target ? lun ? # unknown SCSI devices 278uk* at scsibus? target ? lun ? # unknown SCSI devices
263 279
264# 425e digital audio 280# 425e digital audio
265arcofi* at dio? scode ? 281arcofi* at dio? scode ?
266audio* at arcofi? 282audio* 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
288pseudo-device md # memory disk device (ramdisk) 304pseudo-device md # memory disk device (ramdisk)
289pseudo-device vnd # vnode pseudo-disks 305pseudo-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
293pseudo-device bridge # simple inter-network bridging 309pseudo-device bridge # simple inter-network bridging
294pseudo-device vether # Virtual Ethernet for bridge 310pseudo-device vether # Virtual Ethernet for bridge
295pseudo-device agr # IEEE 802.3ad link aggregation 311pseudo-device agr # IEEE 802.3ad link aggregation
296pseudo-device bpfilter # Berkeley packet filter 312pseudo-device bpfilter # Berkeley packet filter
297pseudo-device carp # Common Address Redundancy Protocol 313pseudo-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 
300pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 315pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
301pseudo-device npf # NPF packet filter 316#pseudo-device gre # generic L3 over IP tunnel
302pseudo-device loop # loopback network interface 317pseudo-device loop # loopback network interface
 318pseudo-device npf # NPF packet filter
303pseudo-device ppp # PPP network interfaces 319pseudo-device ppp # PPP network interfaces
304pseudo-device pppoe # PPP over Ethernet (RFC 2516) 320pseudo-device pppoe # PPP over Ethernet (RFC 2516)
305pseudo-device sl # SLIP network interfaces 321pseudo-device sl # SLIP network interfaces
306pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 322pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
307pseudo-device tun # network tunneling over tty 323pseudo-device tun # network tunneling over tty
308pseudo-device tap # virtual Ethernet 324pseudo-device tap # virtual Ethernet
309pseudo-device vlan # IEEE 802.1q encapsulation 325pseudo-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
317pseudo-device clockctl # user control of clock subsystem 332pseudo-device clockctl # user control of clock subsystem
318pseudo-device drvctl # user control of drive subsystem 333pseudo-device drvctl # user control of drive subsystem
319pseudo-device pty # pseudo-terminals 334pseudo-device pty # pseudo-terminals
320#pseudo-device vcoda # coda minicache <-> venus comm. 335#pseudo-device vcoda # coda minicache <-> venus comm.
321pseudo-device ksyms # /dev/ksyms 336pseudo-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