GENERIC revision 1.55 1 # $NetBSD: GENERIC,v 1.55 2002/04/25 15:06:24 atatat 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.55 $"
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 USERCONF # userconf(4) support
43 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
44
45 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
46 options COMPAT_43
47 options COMPAT_09
48 options COMPAT_10
49 options COMPAT_12
50 options COMPAT_13
51 options COMPAT_14
52 options COMPAT_386BSD_MBRPART # recognize old partition ID
53 #options COMPAT_LINUX # Linux binary compatibility
54
55 file-system FFS
56 file-system MFS
57 file-system NFS
58 file-system CD9660
59 file-system MSDOSFS
60 file-system FDESC
61 file-system KERNFS
62 file-system NULLFS
63 file-system OVERLAY
64 file-system PORTAL
65 file-system PROCFS
66 file-system UMAPFS
67 file-system UNION
68
69 #options FFS_EI # FFS Endian Independant support
70 options SOFTDEP # FFS soft updates support.
71 #options NFSSERVER
72
73 options INET
74 options INET6 # IPV6
75 #options IPSEC # IP security
76 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
77 #options IPSEC_DEBUG # debug for IP security
78
79 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
80
81 options NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP
82
83 config netbsd root on ? type ?
84
85 pseudo-device vnd 4
86 pseudo-device loop
87 pseudo-device bpfilter 8 # packet filter
88 pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
89 #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
90 #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
91 pseudo-device vlan # IEEE 802.1q encapsulation
92 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
93 pseudo-device bridge # simple inter-network bridging
94 pseudo-device pty # pseudo-terminals
95 pseudo-device raid 8 # RAIDframe disk driver
96 options RAID_AUTOCONFIG # auto-configuration of RAID components
97 # Options to enable various other RAIDframe RAID types.
98 # options RF_INCLUDE_EVENODD=1
99 # options RF_INCLUDE_RAID5_RS=1
100 # options RF_INCLUDE_PARITYLOGGING=1
101 # options RF_INCLUDE_CHAINDECLUSTER=1
102 # options RF_INCLUDE_INTERDECLUSTER=1
103 # options RF_INCLUDE_PARITY_DECLUSTERING=1
104 # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
105 #pseudo-device gre 2 # generic L3 over IP tunnel
106 pseudo-device wsmux
107
108 # random number generator pseudo-device
109 pseudo-device rnd # /dev/random and in-kernel generator
110 #options RND_COM # use "com" randomness as well (BROKEN)
111
112 #
113 # device
114 #
115 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
116
117 options PCIVERBOSE # verbose PCI device messages
118 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
119 options PCI_NETBSD_CONFIGURE
120
121 mainbus0 at root
122
123 cpu* at mainbus0
124 pci0 at mainbus0 bus ?
125
126 ppb* at pci? dev ? function ? # PCI-PCI bridges
127 pci* at ppb? bus ?
128 pchb* at pci? dev ? function ? # PCI-Host bridges
129 pcib* at pci? dev ? function ? # PCI-ISA bridges
130
131 isa* at pcib? # ISA on PCI-ISA bridge
132
133 #pc0 at isa? port 0x60 irq 1 # generic PC console device
134
135 com0 at isa? port 0x3f8 irq 4 # standard PC serial ports
136 com1 at isa? port 0x2f8 irq 3
137 #com2 at isa? port 0x380 irq 16
138 #com3 at isa? port 0x388 irq 17
139
140 lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
141 #lpt1 at isa? port 0x278
142 #lpt2 at isa? port 0x3bc
143
144 #lms0 at isa? port 0x23c irq 5 # Logitech bus mouse
145 #lms1 at isa? port 0x238 irq 5
146 #mms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse
147 #mms1 at isa? port 0x238 irq 5
148
149 pckbc0 at isa?
150 pckbd* at pckbc?
151 #pms* at pckbc?
152 #vga0 at isa?
153 vga* at pci?
154 pfb* at pci?
155 wsdisplay* at vga? console ?
156 wsdisplay* at pfb? console ?
157 wskbd* at pckbd? console ?
158 #wsmouse* at pms? mux 0
159
160 #siop* at pci? dev ? function ? # NCR 538XX SCSI controllers
161 #scsibus* at siop?
162
163 #sd* at scsibus? target ? lun ? # SCSI disk drives
164 #st* at scsibus? target ? lun ? # SCSI tape drives
165 #cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
166 #ch* at scsibus? target ? lun ? # SCSI autochangers
167 #ss* at scsibus? target ? lun ? # SCSI scanners
168 #uk* at scsibus? target ? lun ? # SCSI unknown
169
170 fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
171 #fdc1 at isa? port 0x370 irq ? drq ?
172 fd0 at fdc? drive 1
173 #fd* at fdc? drive ?
174
175 wdc0 at isa? port 0x1f0 irq 14 # ST506, ESDI, and IDE controllers
176 wd* at wdc? drive ?
177
178 ne0 at isa? port 0x300 irq 5 # NE[12]000 ethernet cards
179 #ipkdbif0 at ne?
180
181 #wss0 at isa? port 0x530 irq 10 drq 0 # Windows Sound System
182
183 #pcppi0 at isa?
184 #spkr0 at pcppi?
185
186 # Joystick driver. Probe is a little strange; add only if you have one.
187 #joy0 at isa? port 0x201
188