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