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