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 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 56 57options NETATALK # AppleTalk networking protocols 58 59options PPP_BSDCOMP # BSD-Compress compression support for PPP 60options PPP_DEFLATE # Deflate compression support for PPP 61options PPP_FILTER # Active filter support for PPP (requires bpf) 62 63options PFIL_HOOKS # pfil(9) packet filter hooks 64options 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 70file-system FFS # Berkeley fast file system 71file-system MFS # Memory based filesystem 72file-system KERNFS # Kernel parameter filesystem 73file-system MSDOSFS # MSDOS filesystem 74file-system CD9660 # ISO 9660 filesystem with Rock Ridge 75 76file-system NFS # Network File System client side code 77file-system PROCFS # Process filesystem 78file-system FDESC # /dev/fd 79file-system NULLFS # Loopback filesystem 80file-system OVERLAY # overlay filesystem 81file-system UNION # union file system 82file-system UMAPFS # null file system (with uid & gid remapping) 83file-system PORTAL # portal file system 84file-system EXT2FS # second extended file system (linux) 85file-system LFS # log-structured file system 86 87#File system options 88options QUOTA # Disk quotas for local disks 89#options FFS_EI # FFS Endian Independant support 90options SOFTDEP # FFS soft updates support. 91options 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 97options PANICWAIT # Require keystroke to dump/reboot 98options DDB # Kernel debugger 99 100options 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 105options COMPAT_43 # 4.3 BSD compatible system calls (required) 106options COMPAT_10 # Compatibility to NetBSD1.0 107options COMPAT_11 # Compatibility to NetBSD1.1 108options COMPAT_12 # Compatibility to NetBSD1.2 109options COMPAT_13 # Compatibility to NetBSD1.3 110options 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 118options COMPAT_AOUT_M68K # Compatibility to a.out executables 119options EXEC_AOUT # a.out format executables 120 121#Support for System V IPC facilities. 122 123options SYSVSHM # System V shared memory 124options SYSVMSG # System V messages 125options 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 132options KTRACE # Add kernel tracing system call 133options SYSTRACE # system call vetting via systrace(1) 134options DIAGNOSTIC # Add additional error checking code 135options 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 141options SCSIVERBOSE # human readable SCSI error messages 142 143options MIIVERBOSE # verbose PHY autoconfig messages 144options 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 150options ST_POOL_SIZE=22 # smallest that allows TT-HIGH 151 152options MEMORY_DISK_HOOKS # Boot RAM-disk 153options DISKLABEL_NBDA # NetBSD disklabels (required) 154options DISKLABEL_AHDI # NetBSD/AHDI disklabels 155 156options SERCONSOLE # modem1 console support 157options RELOC_KERNEL # TT/Falcon: relocate kernel to TT-RAM 158options MSGBUFSIZE=32768 # size of kernel msg. buffer 159#options STATCLOCK # Separate {stat,prof}clock 160 161#Try linked commands on all targets 162options TRY_SCSI_LINKED_COMMANDS=0x7f 163 164#Build one kernel that can boot from any disk. 165 166config netbsd root on ? type ? 167 168pseudo-device sl # Slip 169pseudo-device ppp # ppp 170 171pseudo-device pppoe # PPP over Ethernet (RFC 2516) 172 173pseudo-device pty # pseudo-terminals 174pseudo-device loop # Loopback network 175pseudo-device vnd 3 # 3 pseudo disks (see vnconfig) 176pseudo-device md 2 # Boot memory disk 177 178pseudo-device bpfilter 2 # berkeley packet filters 179pseudo-device tun 2 # network tunnel 180#pseudo-device gre 2 # generic L3 over IP tunnel 181pseudo-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 185pseudo-device vlan # IEEE 802.1q encapsulation 186pseudo-device bridge # simple inter-network bridging 187 188pseudo-device ccd 4 # concatenating disk driver 189pseudo-device raid 8 # RAIDframe disk driver 190options 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 199pseudo-device ipfilter # IP filtering device 200pseudo-device rnd # /dev/random and in-kernel generator 201pseudo-device clockctl # user control of clock subsystem 202 203#MII/PHY support 204exphy* at mii? phy ? # 3Com internal PHYs 205inphy* at mii? phy ? # Intel 82555 PHYs 206iophy* at mii? phy ? # Intel 82553 PHYs 207ukphy* at mii? phy ? # generic unknown PHYs 208 209#PCI network interfaces 210#If unsure, check the port-atari page for tested cards. 211ep* at pci? dev ? function ? # 3Com 3c59x 212fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B 213 214#This is the only tested audio card at the moment. 215 216eso* at pci? dev ? function ? # ESS Solo-1 PCI AudioDrive 217audio* 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 227options 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! 231options WS_KERNEL_FG=WSCOL_WHITE 232options 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 241options WSDISPLAY_DEFAULTSCREENS=4 242#use a large software cursor that doesn't blink 243options 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 249isabus0 at mainbus0 # ISA-bus 250isa0 at isabus0 251pcibus0 at mainbus0 # PCI-bus 252pci0 at pcibus0 253nvr0 at mainbus0 # nvram driver 254ser0 at mainbus0 255fdcisa0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy contr. 256fdisa0 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 277pciide* at pci? dev ? function ? flags 0x0000 # 2 PCIIDE channels 278wd* at pciide? channel ? drive ? flags 0x0000 279atapibus* 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# 284options __HAVE_NWSCONS 285vga0 at pci? dev ? function ? # a PCI VGA card 286wsdisplay* at vga? console ? # as a wscons console 287pckbc0 at isa? # PC keyboard controller 288pckbd* at pckbc? # PC keyboard 289wskbd* at pckbd? console ? # wscons keyboard 290 291#ATAPI devices 292cd* at atapibus? drive ? # ATAPI CD-ROM drives 293