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