GENERIC revision 1.29 1 1.29 ragge # $NetBSD: GENERIC,v 1.29 2003/04/26 14:10:10 ragge Exp $
2 1.1 wdk #
3 1.13 gmcgarry # GENERIC machine description file
4 1.13 gmcgarry #
5 1.13 gmcgarry # This machine description file is used to generate the default NetBSD
6 1.13 gmcgarry # kernel. The generic kernel does not include all options, subsystems
7 1.13 gmcgarry # and device drivers, but should be useful for most applications.
8 1.1 wdk #
9 1.13 gmcgarry # The machine description file can be customised for your specific
10 1.13 gmcgarry # machine to reduce the kernel size and improve its performance.
11 1.13 gmcgarry #
12 1.13 gmcgarry # For further information on compiling NetBSD kernels, see the config(8)
13 1.13 gmcgarry # man page.
14 1.13 gmcgarry #
15 1.13 gmcgarry # For further information on hardware support for this architecture, see
16 1.13 gmcgarry # the intro(4) man page. For further information about kernel options
17 1.13 gmcgarry # for this architecture, see the options(4) man page. For an explanation
18 1.13 gmcgarry # of each device driver in this file see the section 4 man page for the
19 1.13 gmcgarry # device.
20 1.13 gmcgarry
21 1.1 wdk include "arch/mipsco/conf/std.mipsco"
22 1.18 atatat
23 1.18 atatat options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24 1.1 wdk
25 1.1 wdk maxusers 16
26 1.1 wdk
27 1.1 wdk options MIPS1 # R2000/R3000 support
28 1.1 wdk
29 1.1 wdk # Standard system options
30 1.1 wdk options KTRACE # system call tracing support
31 1.23 provos options SYSTRACE # system call vetting via systrace(1)
32 1.1 wdk options SYSVMSG # System V message queues
33 1.1 wdk options SYSVSEM # System V semaphores
34 1.11 lukem #options SEMMNI=10 # number of semaphore identifiers
35 1.11 lukem #options SEMMNS=60 # number of semaphores in system
36 1.11 lukem #options SEMUME=10 # max number of undo entries per process
37 1.11 lukem #options SEMMNU=30 # number of undo structures in system
38 1.1 wdk options SYSVSHM # System V shared memory
39 1.1 wdk #options SHMMAXPGS=1024 # 1024 pages is the default
40 1.1 wdk #options LKM # loadable kernel modules
41 1.1 wdk #options NTP # network time protocol
42 1.11 lukem options HZ=25
43 1.20 lukem options USERCONF # userconf(4) support
44 1.16 jdolecek #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
45 1.25 junyoung
46 1.26 wiz # Enable experimental buffer queue strategy for better responsiveness under
47 1.25 junyoung # high disk I/O load. Use it with caution - it's not proven to be stable yet.
48 1.25 junyoung #options NEW_BUFQ_STRATEGY
49 1.1 wdk
50 1.1 wdk # Debugging options
51 1.1 wdk options DDB # kernel dynamic debugger
52 1.1 wdk options DDB_HISTORY_SIZE=100 # enable history editing in DDB
53 1.1 wdk #options DEBUG # extra kernel debugging support
54 1.1 wdk options DIAGNOSTIC # extra kernel sanity checking
55 1.1 wdk options SCSIVERBOSE # Verbose SCSI errors
56 1.5 wdk
57 1.11 lukem #options KGDB # Remote kernel debug using gdb
58 1.11 lukem #options KGDB_DEV=0x0100 # KGDB port (this is serial0)
59 1.11 lukem #options KGDB_DEVRATE=19200 # KGDB Baud Rate (default=19200)
60 1.5 wdk #makeoptions DEBUG="-g" # Build kernel with debug symbols
61 1.1 wdk
62 1.1 wdk # Compatibility options
63 1.1 wdk options COMPAT_43 # compatibility with 4.3BSD binaries
64 1.1 wdk #options COMPAT_10 # NetBSD 1.0 binary compatibility
65 1.1 wdk #options COMPAT_11 # NetBSD 1.1 binary compatibility
66 1.1 wdk #options COMPAT_12 # NetBSD 1.2 binary compatibility
67 1.1 wdk options COMPAT_13 # NetBSD 1.3 binary compatibility
68 1.1 wdk options COMPAT_14 # NetBSD 1.4 binary compatibility
69 1.1 wdk #options EXEC_AOUT # exec a.out binaries
70 1.1 wdk #options EXEC_ECOFF # exec ecoff binaries
71 1.7 abs #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
72 1.1 wdk
73 1.1 wdk # Filesystem options
74 1.1 wdk file-system FFS # Berkeley Fast Filesystem
75 1.1 wdk file-system NFS # Sun NFS-compatible filesystem client
76 1.1 wdk file-system KERNFS # kernel data-structure filesystem
77 1.1 wdk #file-system NULLFS # NULL layered filesystem
78 1.1 wdk #file-system MFS # memory-based filesystem
79 1.1 wdk #file-system FDESC # user file descriptor filesystem
80 1.1 wdk #file-system UMAPFS # uid/gid remapping filesystem
81 1.1 wdk #file-system LFS # Log-based filesystem (still experimental)
82 1.1 wdk #file-system PORTAL # portal filesystem (still experimental)
83 1.1 wdk file-system PROCFS # /proc
84 1.1 wdk file-system CD9660 # ISO 9660 + Rock Ridge file system
85 1.1 wdk #file-system UNION # union file system
86 1.1 wdk #file-system MSDOSFS # MS-DOS FAT filesystem(s).
87 1.1 wdk #
88 1.1 wdk options NFSSERVER # Sun NFS-compatible filesystem server
89 1.1 wdk options QUOTA # FFS quotas
90 1.1 wdk #options FFS_EI # FFS Endian Independant support
91 1.1 wdk
92 1.1 wdk # Networking options
93 1.1 wdk options INET # Internet protocols
94 1.1 wdk #options GATEWAY # IP packet forwarding
95 1.1 wdk #options MROUTING # packet forwarding of multicast packets
96 1.1 wdk #options NS # Xerox NS networking
97 1.1 wdk #options NSIP # Xerox NS tunneling over IP
98 1.1 wdk #options ISO,TPIP # OSI networking
99 1.1 wdk #options EON # OSI tunneling over IP
100 1.1 wdk #options CCITT,LLC,HDLC # X.25
101 1.1 wdk #options NETATALK # AppleTalk (over Ethernet) protocol
102 1.1 wdk #options PPP_BSDCOMP # BSD-Compress compression support for PPP
103 1.1 wdk #options PPP_DEFLATE # Deflate compression support for PPP
104 1.1 wdk #options PPP_FILTER # Active filter support for PPP (requires bpf)
105 1.1 wdk #options PFIL_HOOKS # pfil(9) packet filter hooks
106 1.1 wdk #options IPFILTER_LOG # ipmon(8) log support
107 1.22 martti #options IPFILTER_DEFAULT_BLOCK # block all packets by default
108 1.7 abs #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
109 1.1 wdk
110 1.1 wdk config netbsd root on ? type ?
111 1.1 wdk
112 1.1 wdk mainbus0 at root
113 1.1 wdk
114 1.1 wdk cpu0 at mainbus0
115 1.1 wdk obio0 at mainbus0
116 1.1 wdk
117 1.1 wdk mkclock0 at obio0 addr 0xbd000000 # MK48T02 realtime clock
118 1.1 wdk
119 1.1 wdk rambo0 at obio0 addr 0xbc000000 # RAMBO dma & timer asic
120 1.1 wdk
121 1.1 wdk le0 at obio0 addr 0xba000000 # onboard LANCE ethernet
122 1.1 wdk
123 1.1 wdk # Not currently implemented
124 1.1 wdk #kb0 at obio0 addr 0xbfd00000 # keyboard
125 1.1 wdk #fb0 at obio0 addr 0x88000000 # framebuffer
126 1.1 wdk
127 1.1 wdk fd0 at obio0 addr 0xbe000000 # i82072 floppy disk controller
128 1.1 wdk
129 1.1 wdk zsc0 at obio0 addr 0xbb000000 # Base address for Z8530 SCC
130 1.1 wdk zstty0 at zsc0 channel 0 # tty00
131 1.1 wdk zstty1 at zsc0 channel 1 # tty01
132 1.1 wdk
133 1.1 wdk asc0 at obio0 addr 0xb8000000 # onboard NCR 53c94 SCSI controller
134 1.1 wdk
135 1.1 wdk scsibus0 at asc0
136 1.1 wdk
137 1.1 wdk sd* at scsibus? target ? lun ? # SCSI disks
138 1.1 wdk st* at scsibus? target ? lun ? # SCSI tapes
139 1.1 wdk cd* at scsibus? target ? lun ? # SCSI CD-ROMs
140 1.1 wdk ch* at scsibus? target ? lun ? # SCSI changer devices
141 1.1 wdk
142 1.1 wdk pseudo-device loop # loopback interface; required
143 1.2 jdolecek pseudo-device pty # pseudo-terminals
144 1.1 wdk #pseudo-device sl 2 # SLIP interfaces
145 1.1 wdk #pseudo-device ppp 2 # PPP interfaces
146 1.14 martin #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
147 1.1 wdk pseudo-device tun 4 # Network "tunnel" device
148 1.1 wdk #pseudo-device gre 2 # generic L3 over IP tunnel
149 1.1 wdk pseudo-device bpfilter 16 # Berkeley Packet Filter
150 1.1 wdk #pseudo-device vnd 4 # disk-like interface to files
151 1.1 wdk #pseudo-device ccd 4 # concatenated and striped disks
152 1.24 elric #pseudo-device cgd 4 # cryptographic disks
153 1.15 oster #pseudo-device raid 8 # RAIDframe disk driver
154 1.15 oster # Options to enable various other RAIDframe RAID types.
155 1.15 oster # options RF_INCLUDE_EVENODD=1
156 1.15 oster # options RF_INCLUDE_RAID5_RS=1
157 1.15 oster # options RF_INCLUDE_PARITYLOGGING=1
158 1.15 oster # options RF_INCLUDE_CHAINDECLUSTER=1
159 1.15 oster # options RF_INCLUDE_INTERDECLUSTER=1
160 1.15 oster # options RF_INCLUDE_PARITY_DECLUSTERING=1
161 1.15 oster # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
162 1.1 wdk #pseudo-device strip 1 # radio clock
163 1.1 wdk #pseudo-device ipfilter # ip filter
164 1.4 bouyer pseudo-device vlan # IEEE 802.1q encapsulation
165 1.12 atatat pseudo-device bridge # simple inter-network bridging
166 1.27 perseant #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
167 1.19 lukem pseudo-device clockctl # user control of clock subsystem
168 1.3 itojun
169 1.3 itojun # random number generator pseudo-device
170 1.3 itojun pseudo-device rnd # /dev/random and in-kernel generator
171 1.3 itojun #options RND_COM # use "com" randomness as well (BROKEN)
172 1.29 ragge pseudo-device ksyms # /dev/ksyms
173