MILAN-PCIIDE revision 1.21 1 #
2 # $NetBSD: MILAN-PCIIDE,v 1.21 2002/12/08 21:33:56 leo Exp $
3 #
4 # This file was automatically created. Changes will be
5 # lost when running makeconf in this directory.
6 #
7 # Created from:
8 # NetBSD: MILAN.in,v 1.11 2002/12/08 21:31:37 leo Exp $
9 # NetBSD: GENERIC.in,v 1.29 2002/11/22 12:21:00 wiz Exp $
10
11 #This configuration file is for a generic Milan
12
13 #Generic atari
14
15 include "arch/atari/conf/std.milan"
16
17 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
18
19 #Add support for about 16 users. This variable is used to size
20 #various kernel structures.
21
22 maxusers 16
23
24 options HZ=64 # Set the clock-rate (48/64/96)
25
26 #X11R6 related options
27
28 options UCONSOLE # Allow xconsole to work
29
30 #Standard system options
31 options INSECURE # disable kernel security levels
32 #options NTP # NTP phase/frequency locked loop
33
34 #Enable experimental buffer queue strategy for better responsiveness under
35 #high disk I/O load. Use it with caution - it's not proven to be stable yet.
36 #options NEW_BUFQ_STRATEGY
37
38 #(Co)processors this kernel should support
39
40 options M68040 # support for 040
41 options M68060 # support for 060
42 options FPSP # 68040 Floatingpoint support
43 options M060SP # MC68060 software support (Required for 060)
44
45 #Networking options
46
47 options INET # IP + ICMP + TCP + UDP
48
49 options INET6 # IPV6
50 #options IPSEC # IP security
51 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
52 #options IPSEC_DEBUG # debug for IP security
53 #options GATEWAY # packet forwarding
54 #options MROUTING # IP multicast routing
55 options NS # XNS
56 #options NSIP # XNS tunneling over IP
57 options ISO,TPIP # OSI
58 #options EON # OSI tunneling over IP
59 options CCITT,LLC,HDLC # X.25
60
61 options NETATALK # AppleTalk networking protocols
62
63 options PPP_BSDCOMP # BSD-Compress compression support for PPP
64 options PPP_DEFLATE # Deflate compression support for PPP
65 options PPP_FILTER # Active filter support for PPP (requires bpf)
66
67 options PFIL_HOOKS # pfil(9) packet filter hooks
68 options IPFILTER_LOG # ipmon(8) log support
69 #options IPFILTER_DEFAULT_BLOCK # block packages by default
70
71 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
72
73 #File systems
74 file-system FFS # Berkeley fast file system
75 file-system MFS # Memory based filesystem
76 file-system KERNFS # Kernel parameter filesystem
77 file-system MSDOSFS # MSDOS filesystem
78 file-system CD9660 # ISO 9660 filesystem with Rock Ridge
79
80 file-system NFS # Network File System client side code
81 file-system PROCFS # Process filesystem
82 file-system FDESC # /dev/fd
83 file-system NULLFS # Loopback filesystem
84 file-system OVERLAY # overlay filesystem
85 file-system UNION # union file system
86 file-system UMAPFS # null file system (with uid & gid remapping)
87 file-system PORTAL # portal file system
88 file-system EXT2FS # second extended file system (linux)
89 file-system LFS # log-structured file system
90
91 #File system options
92 options QUOTA # Disk quotas for local disks
93 #options FFS_EI # FFS Endian Independant support
94 options SOFTDEP # FFS soft updates support.
95 options NFSSERVER # Network File System server side code
96 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
97 #immutable) behave as system flags.
98
99 #Misc. debugging options
100
101 options PANICWAIT # Require keystroke to dump/reboot
102 options DDB # Kernel debugger
103
104 options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
105 #options DEBUG # expensive debugging checks/support
106
107 #Compatibility options for various existing systems
108
109 options COMPAT_43 # 4.3 BSD compatible system calls (required)
110 options COMPAT_10 # Compatibility to NetBSD1.0
111 options COMPAT_11 # Compatibility to NetBSD1.1
112 options COMPAT_12 # Compatibility to NetBSD1.2
113 options COMPAT_13 # Compatibility to NetBSD1.3
114 options COMPAT_14 # Compatibility to NetBSD1.4
115
116 #options COMPAT_09 # has no meaning on the atari
117 #options COMPAT_SUNOS # Support to run Sun-3 executables
118 #options COMPAT_SVR4 # Support to run SVR4 executables
119 #options COMPAT_LINUX # Support to run Linux/m68k executables
120 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
121
122 options COMPAT_AOUT_M68K # Compatibility to a.out executables
123 options EXEC_AOUT # a.out format executables
124
125 #Support for System V IPC facilities.
126
127 options SYSVSHM # System V shared memory
128 options SYSVMSG # System V messages
129 options SYSVSEM # System V semaphores
130 #options SEMMNI=10 # number of semaphore identifiers
131 #options SEMUME=10 # max number of undo entries per proc.
132 #options SEMMNU=30 # number of undo structures in system
133
134 #Support for various kernel options
135
136 options KTRACE # Add kernel tracing system call
137 options SYSTRACE # system call vetting via systrace(1)
138 options DIAGNOSTIC # Add additional error checking code
139 options USERCONF # userconf(4) support
140 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
141
142 #These options enable verbose messages for several subsystems.
143 #Warning, these may compile large string tables into the kernel!
144
145 options SCSIVERBOSE # human readable SCSI error messages
146
147 options MIIVERBOSE # verbose PHY autoconfig messages
148 options PCIVERBOSE # verbose PCI device autoconfig messages
149 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
150
151 #Atari specific options
152
153 #options KFONT_8x8 # Use 8x8 font instead of 8x16
154 options ST_POOL_SIZE=22 # smallest that allows TT-HIGH
155
156 options MEMORY_DISK_HOOKS # Boot RAM-disk
157 options DISKLABEL_NBDA # NetBSD disklabels (required)
158 options DISKLABEL_AHDI # NetBSD/AHDI disklabels
159
160 options SERCONSOLE # modem1 console support
161 options RELOC_KERNEL # TT/Falcon: relocate kernel to TT-RAM
162 options MSGBUFSIZE=32768 # size of kernel msg. buffer
163 #options STATCLOCK # Separate {stat,prof}clock
164
165 #Try linked commands on all targets
166 options TRY_SCSI_LINKED_COMMANDS=0x7f
167
168 #Build one kernel that can boot from any disk.
169
170 config netbsd root on ? type ?
171
172 pseudo-device sl # Slip
173 pseudo-device ppp # ppp
174
175 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
176
177 pseudo-device pty # pseudo-terminals
178 pseudo-device loop # Loopback network
179 pseudo-device vnd 3 # 3 pseudo disks (see vnconfig)
180 pseudo-device md 2 # Boot memory disk
181
182 pseudo-device bpfilter 2 # berkeley packet filters
183 pseudo-device tun 2 # network tunnel
184 #pseudo-device gre 2 # generic L3 over IP tunnel
185 pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
186 #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
187 #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
188
189 pseudo-device vlan # IEEE 802.1q encapsulation
190 pseudo-device bridge # simple inter-network bridging
191
192 pseudo-device ccd 4 # concatenating disk driver
193 #pseudo-device cgd 4 # cryptographic disk driver
194 pseudo-device raid 8 # RAIDframe disk driver
195 options RAID_AUTOCONFIG # auto-configuration of RAID components
196 #Options to enable various other RAIDframe RAID types.
197 #options RF_INCLUDE_EVENODD=1
198 #options RF_INCLUDE_RAID5_RS=1
199 #options RF_INCLUDE_PARITYLOGGING=1
200 #options RF_INCLUDE_CHAINDECLUSTER=1
201 #options RF_INCLUDE_INTERDECLUSTER=1
202 #options RF_INCLUDE_PARITY_DECLUSTERING=1
203 #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
204 pseudo-device ipfilter # IP filtering device
205 pseudo-device rnd # /dev/random and in-kernel generator
206 pseudo-device clockctl # user control of clock subsystem
207
208 #MII/PHY support
209 exphy* at mii? phy ? # 3Com internal PHYs
210 inphy* at mii? phy ? # Intel 82555 PHYs
211 iophy* at mii? phy ? # Intel 82553 PHYs
212 ukphy* at mii? phy ? # generic unknown PHYs
213
214 #PCI network interfaces
215 #If unsure, check the port-atari page for tested cards.
216 ep* at pci? dev ? function ? # 3Com 3c59x
217 fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
218
219 #This is the only tested audio card at the moment.
220
221 eso* at pci? dev ? function ? # ESS Solo-1 PCI AudioDrive
222 audio* at eso?
223
224 #Hardware options for GENERIC are in the various machine type specific files
225
226 #For the moment, the MILAN will be the only one to use wscons, so define
227 #the wscons options here too for the moment.
228 #wscons options
229
230 #builtin terminal emulations
231 #options WSEMUL_SUN # sun terminal emulation
232 options WSEMUL_VT100 # VT100 / VT220 emulation
233 #different kernel output - see dev/wscons/wsdisplayvar.h
234 #XXX: Since the Milan VGA works in monochrome for the moment, _only_
235 #use black and white here!
236 options WS_KERNEL_FG=WSCOL_WHITE
237 options WS_KERNEL_BG=WSCOL_BLACK
238
239 #compatibility to other console drivers
240 #options WSDISPLAY_COMPAT_USL # VT handling
241 #options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
242
243 #see dev/pckbc/wskbdmap_mfii.c for implemented layouts
244 #options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
245 #allocate a number of virtual screens at autoconfiguration time
246 options WSDISPLAY_DEFAULTSCREENS=4
247 #use a large software cursor that doesn't blink
248 options PCDISPLAY_SOFTCURSOR
249 #modify the screen type of the console; defaults to "80x25"
250 #options VGA_CONSOLE_SCREENTYPE="\"80x25\""
251
252 #The following sections describe various hardware options.
253
254 isab0 at mainbus0 # ISA-bus
255 isa0 at isab0
256 pcib0 at mainbus0 # PCI-bus
257 pci0 at pcib0
258 nvr0 at mainbus0 # nvram driver
259 ser0 at mainbus0
260 fdcisa0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy contr.
261 fdisa0 at fdcisa0 drive 0
262
263 #Ok, the stuff below requires some explanation...
264 #Initially, when Atari started with IDE on the Falcon, they decided to
265 #swap the bytelanes on the IDE controller. So all data on the disk was
266 #byteswapped and all CDROM drivers had to byteswap the data to make
267 #this nice idea work... To remain compatible with the 'current' drivers,
268 #this scheme was adopted by the Hades hardware (hence wdc_mb.c). On the Milan
269 #however, the change was reverted. But... now the hardware is connected to
270 #a little endian (ISA) bus, in PIO mode this is essentially the same as
271 #swapping the bytelanes. The fun starts when you use the PCIIDE DMA mode
272 #provided by the PCI_ISA bridge on the Milan. CDROM's are OK, but the data
273 # on the disk is swapped :-( Now luckily, both the Milan and HDDRIVER
274 #developers have thought up a solution, you can make a byteswapped disk
275 #during the partioning with HDDRIVER and TOS supports booting from it!
276 #Ok, now you have to choose:
277 #- If _none_ of your disks are marked byteswapped by HDDRIVER, choose
278 #the MILAN-ISAIDE version.
279 #- If _all_ of your disks are byteswapped, use the MILAN-PCIIDE version
280 #The is no way to mix things!
281
282 pciide* at pci? dev ? function ? flags 0x0000 # 2 PCIIDE channels
283 wd* at pciide? channel ? drive ? flags 0x0000
284 atapibus* at pciide? channel ? # ATAPI bus support
285
286 #The Milan uses wscons
287 #XXX without the __HAVE_NWSCONS option, the keyboard won't work...
288 #
289 options __HAVE_NWSCONS
290 vga0 at pci? dev ? function ? # a PCI VGA card
291 wsdisplay* at vga? console ? # as a wscons console
292 pckbc0 at isa? # PC keyboard controller
293 pckbd* at pckbc? # PC keyboard
294 wskbd* at pckbd? console ? # wscons keyboard
295
296 #ATAPI devices
297 cd* at atapibus? drive ? # ATAPI CD-ROM drives
298