GENERIC revision 1.34 1 1.34 christos # $NetBSD: GENERIC,v 1.34 2003/04/10 22:06:55 christos Exp $
2 1.1 marcus #
3 1.14 gmcgarry # GENERIC machine description file
4 1.14 gmcgarry #
5 1.14 gmcgarry # This machine description file is used to generate the default NetBSD
6 1.14 gmcgarry # kernel. The generic kernel does not include all options, subsystems
7 1.14 gmcgarry # and device drivers, but should be useful for most applications.
8 1.1 marcus #
9 1.14 gmcgarry # The machine description file can be customised for your specific
10 1.14 gmcgarry # machine to reduce the kernel size and improve its performance.
11 1.14 gmcgarry #
12 1.14 gmcgarry # For further information on compiling NetBSD kernels, see the config(8)
13 1.14 gmcgarry # man page.
14 1.14 gmcgarry #
15 1.14 gmcgarry # For further information on hardware support for this architecture, see
16 1.14 gmcgarry # the intro(4) man page. For further information about kernel options
17 1.14 gmcgarry # for this architecture, see the options(4) man page. For an explanation
18 1.14 gmcgarry # of each device driver in this file see the section 4 man page for the
19 1.14 gmcgarry # device.
20 1.1 marcus
21 1.14 gmcgarry include "arch/dreamcast/conf/std.dreamcast"
22 1.23 atatat
23 1.23 atatat options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24 1.1 marcus
25 1.20 uch maxusers 16 # estimated number of users
26 1.20 uch
27 1.1 marcus # Standard system options
28 1.1 marcus #options INSECURE # disable kernel security levels
29 1.1 marcus
30 1.13 lukem #options RTC_OFFSET=-540
31 1.8 marcus options HZ=100 # clock interrupt generates every 1/HZ sec
32 1.28 tsutsui options NTP # NTP phase/frequency locked loop
33 1.1 marcus
34 1.28 tsutsui options KTRACE # system call tracing via ktrace(1)
35 1.28 tsutsui options SYSTRACE # system call vetting via sistrace(1)
36 1.16 jdolecek
37 1.26 lukem options USERCONF # userconf(4) support
38 1.29 itohy #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
39 1.1 marcus
40 1.28 tsutsui options SYSVMSG # System V-like message queues
41 1.28 tsutsui options SYSVSEM # System V-like semaphores
42 1.13 lukem #options SEMMNI=10 # number of semaphore identifiers
43 1.13 lukem #options SEMMNS=60 # number of semaphores in system
44 1.13 lukem #options SEMUME=10 # max number of undo entries per process
45 1.13 lukem #options SEMMNU=30 # number of undo structures in system
46 1.28 tsutsui options SYSVSHM # System V-like memory sharing
47 1.1 marcus #options SHMMAXPGS=1024 # 1024 pages is the default
48 1.1 marcus
49 1.1 marcus # Diagnostic/debugging support options
50 1.28 tsutsui options DIAGNOSTIC # cheap kernel consistency checks
51 1.1 marcus #options DEBUG # expensive debugging checks/support
52 1.28 tsutsui #options KMEMSTATS # kernel memory statistics (vmstat -m)
53 1.28 tsutsui options DDB # in-kernel debugger
54 1.18 uch #options KGDB # remote debugger
55 1.18 uch #options "KGDB_DEVNAME=\"scif\"",KGDB_DEVRATE=57600
56 1.1 marcus #makeoptions DEBUG="-g" # compile full symbol table
57 1.33 tsutsui options SYMTAB_SPACE=192000
58 1.1 marcus #options SYSCALL_DEBUG
59 1.1 marcus #options UVMHIST
60 1.13 lukem #options UVMHIST_PRINT
61 1.1 marcus
62 1.1 marcus # Compatibility options
63 1.1 marcus options COMPAT_43 # and 4.3BSD
64 1.28 tsutsui #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
65 1.1 marcus
66 1.1 marcus # Executable format options
67 1.1 marcus options EXEC_COFF # COFF executables
68 1.1 marcus options EXEC_ELF32 # 32-bit ELF executables
69 1.1 marcus
70 1.1 marcus # File systems
71 1.1 marcus file-system FFS # UFS
72 1.28 tsutsui #file-system EXT2FS # second extended file system (linux)
73 1.28 tsutsui #file-system LFS # log-structured file system
74 1.1 marcus file-system MFS # memory file system
75 1.6 thorpej file-system NFS # Network File System client
76 1.28 tsutsui file-system CD9660 # CD-ROM file system
77 1.28 tsutsui #file-system MSDOSFS # MS-DOS file system
78 1.28 tsutsui file-system FDESC # /dev/fd
79 1.28 tsutsui file-system KERNFS # /kern
80 1.1 marcus file-system PROCFS # /proc
81 1.1 marcus #file-system NULLFS # loopback file system
82 1.28 tsutsui #file-system OVERLAY # overlay file system
83 1.28 tsutsui #file-system PORTAL # portal file system (still experimental)
84 1.1 marcus #file-system UMAPFS # NULLFS + uid and gid remapping
85 1.28 tsutsui #file-system UNION # union file system
86 1.1 marcus
87 1.1 marcus # File system options
88 1.1 marcus #options QUOTA # UFS quotas
89 1.28 tsutsui #options FFS_EI # FFS Endian Independent supoprt
90 1.28 tsutsui #options SOFTDEP # FFS soft updates support
91 1.1 marcus #options NFSSERVER # Network File System server
92 1.28 tsutsui #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
93 1.28 tsutsui # immutable) behave as system flags.
94 1.1 marcus
95 1.1 marcus # Networking options
96 1.1 marcus options INET # IP + ICMP + TCP + UDP
97 1.28 tsutsui options INET6 # IPV6
98 1.28 tsutsui #options IPSEC # IP security
99 1.28 tsutsui #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
100 1.28 tsutsui #options IPSEC_DEBUG # debug for IP security
101 1.28 tsutsui #options MROUTING # IP multicast routing
102 1.28 tsutsui #options NS # XNS
103 1.28 tsutsui #options NSIP # XNS tunneling over IP
104 1.28 tsutsui #options ISO,TPIP # OSI
105 1.28 tsutsui #options EON # OSI tunneling over IP
106 1.28 tsutsui #options CCITT,LLC, HDLC # X.25
107 1.28 tsutsui #options NETATALK # AppleTalk networking protocols
108 1.28 tsutsui #options PPP_BSDCOMP # BSD-Compress compression support for PPP
109 1.28 tsutsui #options PPP_DEFLATE # Deflrate compression support for PPP
110 1.28 tsutsui #options PPP_FILTER # Active filter support for PPP (requires bpf)
111 1.28 tsutsui #options PFIL_HOOKS # pfil(9) packet filter hooks
112 1.28 tsutsui #options IPFILTER_LOG # ipmon(8) log support
113 1.28 tsutsui #options IPFILTER_DEFAULT_BLOCK # block all packets by default
114 1.28 tsutsui #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
115 1.1 marcus
116 1.1 marcus #options PCIVERBOSE # verbose PCI device autoconfig messages
117 1.28 tsutsui #options MIIVERBOSE # verbose PHY autoconfig messages
118 1.1 marcus #options PCI_CONFIG_DUMP # verbosely dump PCI config space
119 1.1 marcus
120 1.28 tsutsui options NFS_BOOT_DHCP # Support DHCP NFS root
121 1.28 tsutsui
122 1.28 tsutsui # wscons options
123 1.28 tsutsui options WSEMUL_VT100 # VT100 / VT220 emulation
124 1.28 tsutsui options FONT_BOLD8x16
125 1.28 tsutsui #options FONT_SONY8x16
126 1.28 tsutsui
127 1.1 marcus # Kernel root file system and dump configuration.
128 1.1 marcus #config netbsd root on ? type nfs
129 1.1 marcus #config netbsd root on wd0a type ffs
130 1.6 thorpej config netbsd root on ? type ?
131 1.1 marcus
132 1.1 marcus #
133 1.1 marcus # Device configuration
134 1.1 marcus #
135 1.1 marcus
136 1.1 marcus mainbus0 at root
137 1.1 marcus
138 1.20 uch cpu* at mainbus?
139 1.20 uch shb* at mainbus?
140 1.1 marcus
141 1.1 marcus # Serial Devices
142 1.28 tsutsui #options SCIFCONSOLE
143 1.13 lukem options SCIFCN_SPEED=57600
144 1.20 uch scif0 at shb?
145 1.3 marcus
146 1.6 thorpej pvr0 at shb?
147 1.13 lukem wsdisplay* at pvr? console ?
148 1.3 marcus
149 1.6 thorpej maple0 at shb?
150 1.29 itohy
151 1.6 thorpej mkbd* at maple? port ? subunit ?
152 1.29 itohy wskbd* at mkbd? mux 1 console ?
153 1.29 itohy
154 1.29 itohy mms* at maple? port ? subunit ?
155 1.29 itohy wsmouse* at mms? mux 0
156 1.29 itohy
157 1.29 itohy mmem* at maple? port ? subunit ?
158 1.29 itohy mlcd* at maple? port ? subunit ?
159 1.6 thorpej
160 1.6 thorpej gdrom0 at shb?
161 1.6 thorpej
162 1.6 thorpej g2bus0 at shb?
163 1.6 thorpej gapspci* at g2bus? # GAPS PCI bridge
164 1.6 thorpej pci* at gapspci?
165 1.6 thorpej rtk* at pci? dev ? function ? # SEGA Broadband Adapter
166 1.6 thorpej ukphy* at mii? phy ?
167 1.30 tsutsui
168 1.30 tsutsui mbe* at g2bus? # SEGA LAN Adapter
169 1.1 marcus
170 1.28 tsutsui #pseudo-device cgd 2 # cryptographic disk devices
171 1.28 tsutsui pseudo-device md 1 # memory disk device (ramdisk)
172 1.28 tsutsui pseudo-device vnd 2 # disk-like interface to files
173 1.28 tsutsui
174 1.28 tsutsui # network pseudo-devices
175 1.28 tsutsui pseudo-device bpfilter 4 # Berkeley packet filter
176 1.1 marcus #pseudo-device ipfilter # IP filter (firewall) and NAT
177 1.1 marcus pseudo-device loop # network loopback
178 1.28 tsutsui #pseudo-device ppp 1 # Point-to-Point Protocol
179 1.28 tsutsui #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
180 1.28 tsutsui #pseudo-device sl 1 # Serial Line IP
181 1.28 tsutsui #pseudo-device tun 1 # network tunneling over tty
182 1.28 tsutsui #pseudo-device gre 1 # generic L3 over IP tunnel
183 1.28 tsutsui #pseudo-device gif 1 # IPv[46] over IPv[46] tunnel (RFC1933)
184 1.28 tsutsui #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
185 1.28 tsutsui #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
186 1.28 tsutsui #pseudo-device vlan # IEEE 802.1q encapsulation
187 1.28 tsutsui #pseudo-device bridge # simple inter-network bridging
188 1.32 perseant #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
189 1.28 tsutsui
190 1.28 tsutsui # miscellaneous pseudo-devices
191 1.1 marcus pseudo-device pty # pseudo-terminals
192 1.9 itojun pseudo-device rnd # /dev/random and in-kernel generator
193 1.25 lukem pseudo-device clockctl # user control of clock subsystem
194 1.29 itohy pseudo-device wsmux # mouse & keyboard multiplexor
195