MILAN-PCIIDE revision 1.3
1# 2# $NetBSD: MILAN-PCIIDE,v 1.3 2001/07/08 16:34:03 abs 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.6 2001/06/07 07:56:57 leo Exp $ 9# NetBSD: GENERIC.in,v 1.4 2001/07/08 16:32:15 abs Exp $ 10 11#This configuration file is for a generic Milan 12 13#Generic atari 14 15include "arch/atari/conf/std.milan" 16 17#ident "GENERIC-$Revision: 1.3 $" 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 EXEC_ELF32 # 32-bit ELF executables (Linux, SVR4) 116#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 117 118#Support for System V IPC facilities. 119 120options SYSVSHM # System V shared memory 121options SYSVMSG # System V messages 122options SYSVSEM # System V semaphores 123 124#Support for various kernel options 125 126options KTRACE # Add kernel tracing system call 127options DIAGNOSTIC # Add additional error checking code 128 129#These options enable verbose messages for several subsystems. 130#Warning, these may compile large string tables into the kernel! 131 132options SCSIVERBOSE # human readable SCSI error messages 133 134options PCIVERBOSE # verbose PCI device autoconfig messages 135#options PCI_CONFIG_DUMP # verbosely dump PCI config space 136 137#Atari specific options 138 139#options KFONT_8x8 # Use 8x8 font instead of 8x16 140options ST_POOL_SIZE=22 # smallest that allows TT-HIGH 141 142options MEMORY_DISK_HOOKS # Boot RAM-disk 143options DISKLABEL_NBDA # NetBSD disklabels (required) 144options DISKLABEL_AHDI # NetBSD/AHDI disklabels 145 146options SERCONSOLE # modem1 console support 147options RELOC_KERNEL # TT/Falcon: relocate kernel to TT-RAM 148options STATCLOCK # Separate {stat,prof}clock 149 150#Try linked commands on all targets 151options TRY_SCSI_LINKED_COMMANDS=0x7f 152 153#Build one kernel that can boot from any disk. 154 155config netbsd root on ? type ? 156 157pseudo-device sl # Slip 158pseudo-device ppp # ppp 159pseudo-device pty # pseudo-terminals 160pseudo-device loop # Loopback network 161pseudo-device vnd 3 # 3 pseudo disks (see vnconfig) 162pseudo-device md 2 # Boot memory disk 163 164pseudo-device bpfilter 2 # berkeley packet filters 165pseudo-device tun 2 # network tunnel 166#pseudo-device gre 2 # generic L3 over IP tunnel 167pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 168#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 169#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 170pseudo-device vlan # IEEE 802.1q encapsulation 171pseudo-device ccd 4 # concatenating disk driver 172#pseudo-device raid 4 # RAIDframe disk driver 173#options RAID_AUTOCONFIG # auto-configuration of RAID components 174pseudo-device ipfilter # IP filtering device 175pseudo-device rnd # /dev/random and in-kernel generator 176 177#Hardware options for GENERIC are in the various machine type specific files 178 179#For the moment, the MILAN will be the only one to use wscons, so define 180#the wscons options here too for the moment. 181#wscons options 182 183#builtin terminal emulations 184#options WSEMUL_SUN # sun terminal emulation 185options WSEMUL_VT100 # VT100 / VT220 emulation 186#different kernel output - see dev/wscons/wsdisplayvar.h 187#XXX: Since the Milan VGA works in monochrome for the moment, _only_ 188#use black and white here! 189options WS_KERNEL_FG=WSCOL_WHITE 190options WS_KERNEL_BG=WSCOL_BLACK 191 192#compatibility to other console drivers 193#options WSDISPLAY_COMPAT_USL # VT handling 194#options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 195 196#see dev/pckbc/wskbdmap_mfii.c for implemented layouts 197#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" 198#allocate a number of virtual screens at autoconfiguration time 199options WSDISPLAY_DEFAULTSCREENS=4 200#use a large software cursor that doesn't blink 201options PCDISPLAY_SOFTCURSOR 202#modify the screen type of the console; defaults to "80x25" 203#options VGA_CONSOLE_SCREENTYPE="\"80x25\"" 204 205#The following sections describe various hardware options. 206 207isabus0 at mainbus0 # ISA-bus 208isa0 at isabus0 209pcibus0 at mainbus0 # PCI-bus 210pci0 at pcibus0 211ser0 at mainbus0 212fdcisa0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy contr. 213fdisa0 at fdcisa0 drive 0 214 215#Ok, the stuff below requires some explanation... 216#Initially, when Atari started with IDE on the Falcon, they decided to 217#swap the bytelanes on the IDE controller. So all data on the disk was 218#byteswapped and all CDROM drivers had to byteswap the data to make 219#this nice idea work... To remain compatible with the 'current' drivers, 220#this sceme was adopted by the Hades hardware (hence wdc_mb.c). On the Milan 221#however, the change was reverted. But... now the hardware is connected to 222#a little endian (ISA) bus, in PIO mode this is essentially the same as 223#swapping the bytelanes. The fun starts when you use the PCIIDE DMA mode 224#provided by the PCI_ISA bridge on the Milan. CDROM's are OK, but the data 225#on the disk is swapped :-( Now luckily, both the Milan and HDDRIVER 226#developers have thought up a solution, you can make a byteswapped disk 227#during the partioning with HDDRIVER and TOS supports booting from it! 228#Ok, now you have to choose: 229#- If _none_ of your disks are marked byteswapped by HDDRIVER, choose 230#the MILAN_ISAIDE version. 231#- If _all_ of your disks are byteswapped, use the 1 version 232#The is no way to mix things! 233 234pciide* at pci? dev ? function ? flags 0x0000 # 2 PCIIDE channels 235wd* at pciide? channel ? drive ? flags 0x0000 236atapibus* at pciide? channel ? # ATAPI bus support 237 238#The Milan uses wscons 239#XXX without the __HAVE_NWSCONS option, the keyboard won't work... 240 241options __HAVE_NWSCONS 242vga0 at pci? dev ? function ? # a PCI VGA card 243wsdisplay* at vga? console ? # as a wscons console 244pckbc0 at isa? # PC keyboard controller 245pckbd* at pckbc? # PC keyboard 246wskbd* at pckbd? console ? # wscons keyboard 247 248#ATAPI devices 249cd* at atapibus? drive ? # ATAPI CD-ROM drives 250