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