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