GENERIC revision 1.79 1 # $NetBSD: GENERIC,v 1.79 2005/02/18 21:05:51 dsl Exp $
2 #
3 # GENERIC machine description file
4 #
5 # This machine description file is used to generate the default NetBSD
6 # kernel. The generic kernel does not include all options, subsystems
7 # and device drivers, but should be useful for most applications.
8 #
9 # The machine description file can be customised for your specific
10 # machine to reduce the kernel size and improve its performance.
11 #
12 # For further information on compiling NetBSD kernels, see the config(8)
13 # man page.
14 #
15 # For further information on hardware support for this architecture, see
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
18 # of each device driver in this file see the section 4 man page for the
19 # device.
20
21 include "arch/bebox/conf/std.bebox"
22
23 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24
25 #ident "GENERIC-$Revision: 1.79 $"
26
27 maxusers 32
28
29 #options IPKDBUSERHACK # Allow access to mapped memory via kgdb
30 #options DEBUG_BY_TOOLS # Allow debugging from toolsnet
31 # HMAC key to be used for debugging sessions
32 #options IPKDBKEY="\"HMAC pass phrase text\""
33 #options IPKDBSECURE # Allow debugging even when securelevel > 0
34 makeoptions DEBUG="-g"
35
36 options DEBUG
37 options DIAGNOSTIC
38 options TRAP_PANICWAIT
39 options DDB
40 #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
41 options KTRACE
42 options SYSTRACE # system call vetting via systrace(1)
43 options USERCONF # userconf(4) support
44 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
45 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
46
47 # Enable experimental buffer queue strategy for better responsiveness under
48 # high disk I/O load. Use it with caution - it's not proven to be stable yet.
49 #options NEW_BUFQ_STRATEGY
50
51 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
52 options COMPAT_43
53 options COMPAT_09
54 options COMPAT_10
55 options COMPAT_12
56 options COMPAT_13
57 options COMPAT_14
58 options COMPAT_386BSD_MBRPART # recognize old partition ID
59 #options COMPAT_LINUX # Linux binary compatibility
60 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
61
62 file-system FFS
63 file-system MFS
64 file-system NFS
65 file-system CD9660
66 file-system MSDOSFS
67 file-system FDESC
68 file-system KERNFS
69 file-system NULLFS
70 file-system OVERLAY
71 file-system PORTAL
72 file-system PROCFS
73 file-system UMAPFS
74 file-system UNION
75
76 #options FFS_EI # FFS Endian Independant support
77 options SOFTDEP # FFS soft updates support.
78 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
79 #options NFSSERVER
80 #options FFS_NO_SNAPSHOT # ffs snapshots
81
82 options INET
83 options INET6 # IPV6
84 #options IPSEC # IP security
85 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
86 #options IPSEC_DEBUG # debug for IP security
87
88 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
89
90 #options ALTQ # Manipulate network interfaces' output queues
91 #options ALTQ_BLUE # Stochastic Fair Blue
92 #options ALTQ_CBQ # Class-Based Queueing
93 #options ALTQ_CDNR # Diffserv Traffic Conditioner
94 #options ALTQ_FIFOQ # First-In First-Out Queue
95 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
96 #options ALTQ_HFSC # Hierarchical Fair Service Curve
97 #options ALTQ_LOCALQ # Local queueing discipline
98 #options ALTQ_PRIQ # Priority Queueing
99 #options ALTQ_RED # Random Early Detection
100 #options ALTQ_RIO # RED with IN/OUT
101 #options ALTQ_WFQ # Weighted Fair Queueing
102
103 options NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP
104
105 config netbsd root on ? type ?
106
107 #pseudo-device crypto # opencrypto framework
108 #pseudo-device cgd 4 # cryptographic disk devices
109 pseudo-device vnd 4
110 pseudo-device loop
111 pseudo-device bpfilter 8 # packet filter
112 pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
113 #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
114 #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
115 pseudo-device vlan # IEEE 802.1q encapsulation
116 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
117 pseudo-device bridge # simple inter-network bridging
118 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
119 pseudo-device pty # pseudo-terminals
120 pseudo-device raid 8 # RAIDframe disk driver
121 options RAID_AUTOCONFIG # auto-configuration of RAID components
122 # Options to enable various other RAIDframe RAID types.
123 # options RF_INCLUDE_EVENODD=1
124 # options RF_INCLUDE_RAID5_RS=1
125 # options RF_INCLUDE_PARITYLOGGING=1
126 # options RF_INCLUDE_CHAINDECLUSTER=1
127 # options RF_INCLUDE_INTERDECLUSTER=1
128 # options RF_INCLUDE_PARITY_DECLUSTERING=1
129 # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
130 pseudo-device fss 4 # file system snapshot device
131 #pseudo-device gre 2 # generic L3 over IP tunnel
132 pseudo-device wsmux
133 pseudo-device clockctl # user control of clock subsystem
134
135 # random number generator pseudo-device
136 pseudo-device rnd # /dev/random and in-kernel generator
137 #options RND_COM # use "com" randomness as well (BROKEN)
138 pseudo-device ksyms # /dev/ksyms
139 #pseudo-device pf # PF packet filter
140 #pseudo-device pflog # PF log if
141
142 #
143 # device
144 #
145 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
146
147 options PCIVERBOSE # verbose PCI device messages
148 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
149 options PCI_NETBSD_CONFIGURE
150
151 mainbus0 at root
152
153 cpu* at mainbus0
154 pci0 at mainbus0 bus ?
155
156 ppb* at pci? dev ? function ? # PCI-PCI bridges
157 pci* at ppb? bus ?
158 pchb* at pci? dev ? function ? # PCI-Host bridges
159 pcib* at pci? dev ? function ? # PCI-ISA bridges
160
161 isa* at pcib? # ISA on PCI-ISA bridge
162
163 #pc0 at isa? port 0x60 irq 1 # generic PC console device
164
165 com0 at isa? port 0x3f8 irq 4 # standard PC serial ports
166 com1 at isa? port 0x2f8 irq 3
167 #com2 at isa? port 0x380 irq 16
168 #com3 at isa? port 0x388 irq 17
169
170 lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
171 #lpt1 at isa? port 0x278
172 #lpt2 at isa? port 0x3bc
173
174 #lms0 at isa? port 0x23c irq 5 # Logitech bus mouse
175 #lms1 at isa? port 0x238 irq 5
176 #mms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse
177 #mms1 at isa? port 0x238 irq 5
178
179 pckbc0 at isa?
180 pckbd* at pckbc?
181 #pms* at pckbc?
182 #vga0 at isa?
183 vga* at pci?
184 pfb* at pci?
185 wsdisplay* at vga? console ?
186 wsdisplay* at pfb? console ?
187 wskbd* at pckbd? console ?
188 #wsmouse* at pms? mux 0
189
190 # Cryptographic Devices
191
192 # PCI cryptographic devices
193 #hifn* at pci? dev ? function ? # Hifn 7755/7811/795x
194 #ubsec* at pci? dev ? function ? # Broadcom 5501/5601/580x/582x
195
196 #siop* at pci? dev ? function ? # NCR 538XX SCSI controllers
197 #scsibus* at siop?
198 #esiop* at pci? dev ? function ? # NCR 53875 and newer SCSI controllers
199 #scsibus* at esiop?
200
201 #sd* at scsibus? target ? lun ? # SCSI disk drives
202 #st* at scsibus? target ? lun ? # SCSI tape drives
203 #cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
204 #ch* at scsibus? target ? lun ? # SCSI autochangers
205 #ss* at scsibus? target ? lun ? # SCSI scanners
206 #uk* at scsibus? target ? lun ? # SCSI unknown
207
208 fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
209 #fdc1 at isa? port 0x370 irq ? drq ?
210 fd0 at fdc? drive 1
211 #fd* at fdc? drive ?
212
213 wdc0 at isa? port 0x1f0 irq 14 # ST506, ESDI, and IDE controllers
214 atabus* at ata?
215 wd* at atabus? drive ?
216
217 ne0 at isa? port 0x300 irq 5 # NE[12]000 ethernet cards
218 #ipkdbif0 at ne?
219
220 #wss0 at isa? port 0x530 irq 10 drq 0 # Windows Sound System
221
222 #pcppi0 at isa?
223 #spkr0 at pcppi?
224
225 # Joystick driver. Probe is a little strange; add only if you have one.
226 #joy0 at isa? port 0x201
227