MILAN-PCIIDE revision 1.17 1 #
2 # $NetBSD: MILAN-PCIIDE,v 1.17 2002/10/06 03:02:04 provos 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.10 2002/06/15 21:44:07 leo Exp $
9 # NetBSD: GENERIC.in,v 1.26 2002/10/06 02:58:21 provos 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 #(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
112 #options COMPAT_09 # has no meaning on the atari
113 #options COMPAT_SUNOS # Support to run Sun-3 executables
114 #options COMPAT_SVR4 # Support to run SVR4 executables
115 #options COMPAT_LINUX # Support to run Linux/m68k executables
116 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
117
118 options COMPAT_AOUT_M68K # Compatibility to a.out executables
119 options EXEC_AOUT # a.out format executables
120
121 #Support for System V IPC facilities.
122
123 options SYSVSHM # System V shared memory
124 options SYSVMSG # System V messages
125 options SYSVSEM # System V semaphores
126 #options SEMMNI=10 # number of semaphore identifiers
127 #options SEMUME=10 # max number of undo entries per proc.
128 #options SEMMNU=30 # number of undo structures in system
129
130 #Support for various kernel options
131
132 options KTRACE # Add kernel tracing system call
133 options SYSTRACE # system call vetting via systrace(1)
134 options DIAGNOSTIC # Add additional error checking code
135 options USERCONF # userconf(4) support
136 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
137
138 #These options enable verbose messages for several subsystems.
139 #Warning, these may compile large string tables into the kernel!
140
141 options SCSIVERBOSE # human readable SCSI error messages
142
143 options MIIVERBOSE # verbose PHY autoconfig messages
144 options PCIVERBOSE # verbose PCI device autoconfig messages
145 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
146
147 #Atari specific options
148
149 #options KFONT_8x8 # Use 8x8 font instead of 8x16
150 options ST_POOL_SIZE=22 # smallest that allows TT-HIGH
151
152 options MEMORY_DISK_HOOKS # Boot RAM-disk
153 options DISKLABEL_NBDA # NetBSD disklabels (required)
154 options DISKLABEL_AHDI # NetBSD/AHDI disklabels
155
156 options SERCONSOLE # modem1 console support
157 options RELOC_KERNEL # TT/Falcon: relocate kernel to TT-RAM
158 options MSGBUFSIZE=32768 # size of kernel msg. buffer
159 #options STATCLOCK # Separate {stat,prof}clock
160
161 #Try linked commands on all targets
162 options TRY_SCSI_LINKED_COMMANDS=0x7f
163
164 #Build one kernel that can boot from any disk.
165
166 config netbsd root on ? type ?
167
168 pseudo-device sl # Slip
169 pseudo-device ppp # ppp
170
171 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
172
173 pseudo-device pty # pseudo-terminals
174 pseudo-device loop # Loopback network
175 pseudo-device vnd 3 # 3 pseudo disks (see vnconfig)
176 pseudo-device md 2 # Boot memory disk
177
178 pseudo-device bpfilter 2 # berkeley packet filters
179 pseudo-device tun 2 # network tunnel
180 #pseudo-device gre 2 # generic L3 over IP tunnel
181 pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
182 #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
183 #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
184
185 pseudo-device vlan # IEEE 802.1q encapsulation
186 pseudo-device bridge # simple inter-network bridging
187
188 pseudo-device ccd 4 # concatenating disk driver
189 pseudo-device raid 8 # RAIDframe disk driver
190 options RAID_AUTOCONFIG # auto-configuration of RAID components
191 #Options to enable various other RAIDframe RAID types.
192 #options RF_INCLUDE_EVENODD=1
193 #options RF_INCLUDE_RAID5_RS=1
194 #options RF_INCLUDE_PARITYLOGGING=1
195 #options RF_INCLUDE_CHAINDECLUSTER=1
196 #options RF_INCLUDE_INTERDECLUSTER=1
197 #options RF_INCLUDE_PARITY_DECLUSTERING=1
198 #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
199 pseudo-device ipfilter # IP filtering device
200 pseudo-device rnd # /dev/random and in-kernel generator
201 pseudo-device clockctl # user control of clock subsystem
202
203 #MII/PHY support
204 exphy* at mii? phy ? # 3Com internal PHYs
205 inphy* at mii? phy ? # Intel 82555 PHYs
206 iophy* at mii? phy ? # Intel 82553 PHYs
207 ukphy* at mii? phy ? # generic unknown PHYs
208
209 #PCI network interfaces
210 #If unsure, check the port-atari page for tested cards.
211 ep* at pci? dev ? function ? # 3Com 3c59x
212 fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
213
214 #This is the only tested audio card at the moment.
215
216 eso* at pci? dev ? function ? # ESS Solo-1 PCI AudioDrive
217 audio* at eso?
218
219 #Hardware options for GENERIC are in the various machine type specific files
220
221 #For the moment, the MILAN will be the only one to use wscons, so define
222 #the wscons options here too for the moment.
223 #wscons options
224
225 #builtin terminal emulations
226 #options WSEMUL_SUN # sun terminal emulation
227 options WSEMUL_VT100 # VT100 / VT220 emulation
228 #different kernel output - see dev/wscons/wsdisplayvar.h
229 #XXX: Since the Milan VGA works in monochrome for the moment, _only_
230 #use black and white here!
231 options WS_KERNEL_FG=WSCOL_WHITE
232 options WS_KERNEL_BG=WSCOL_BLACK
233
234 #compatibility to other console drivers
235 #options WSDISPLAY_COMPAT_USL # VT handling
236 #options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
237
238 #see dev/pckbc/wskbdmap_mfii.c for implemented layouts
239 #options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
240 #allocate a number of virtual screens at autoconfiguration time
241 options WSDISPLAY_DEFAULTSCREENS=4
242 #use a large software cursor that doesn't blink
243 options PCDISPLAY_SOFTCURSOR
244 #modify the screen type of the console; defaults to "80x25"
245 #options VGA_CONSOLE_SCREENTYPE="\"80x25\""
246
247 #The following sections describe various hardware options.
248
249 isabus0 at mainbus0 # ISA-bus
250 isa0 at isabus0
251 pcibus0 at mainbus0 # PCI-bus
252 pci0 at pcibus0
253 nvr0 at mainbus0 # nvram driver
254 ser0 at mainbus0
255 fdcisa0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy contr.
256 fdisa0 at fdcisa0 drive 0
257
258 #Ok, the stuff below requires some explanation...
259 #Initially, when Atari started with IDE on the Falcon, they decided to
260 #swap the bytelanes on the IDE controller. So all data on the disk was
261 #byteswapped and all CDROM drivers had to byteswap the data to make
262 #this nice idea work... To remain compatible with the 'current' drivers,
263 #this scheme was adopted by the Hades hardware (hence wdc_mb.c). On the Milan
264 #however, the change was reverted. But... now the hardware is connected to
265 #a little endian (ISA) bus, in PIO mode this is essentially the same as
266 #swapping the bytelanes. The fun starts when you use the PCIIDE DMA mode
267 #provided by the PCI_ISA bridge on the Milan. CDROM's are OK, but the data
268 # on the disk is swapped :-( Now luckily, both the Milan and HDDRIVER
269 #developers have thought up a solution, you can make a byteswapped disk
270 #during the partioning with HDDRIVER and TOS supports booting from it!
271 #Ok, now you have to choose:
272 #- If _none_ of your disks are marked byteswapped by HDDRIVER, choose
273 #the MILAN-ISAIDE version.
274 #- If _all_ of your disks are byteswapped, use the MILAN-PCIIDE version
275 #The is no way to mix things!
276
277 pciide* at pci? dev ? function ? flags 0x0000 # 2 PCIIDE channels
278 wd* at pciide? channel ? drive ? flags 0x0000
279 atapibus* at pciide? channel ? # ATAPI bus support
280
281 #The Milan uses wscons
282 #XXX without the __HAVE_NWSCONS option, the keyboard won't work...
283 #
284 options __HAVE_NWSCONS
285 vga0 at pci? dev ? function ? # a PCI VGA card
286 wsdisplay* at vga? console ? # as a wscons console
287 pckbc0 at isa? # PC keyboard controller
288 pckbd* at pckbc? # PC keyboard
289 wskbd* at pckbd? console ? # wscons keyboard
290
291 #ATAPI devices
292 cd* at atapibus? drive ? # ATAPI CD-ROM drives
293