# WILDBOAR $Wildboar: WILDBOAR,v 1.13 1996/03/05 11:02:40 shigeya Exp $ # # -+- # This module is part of Wildboar software kit. # This work may be derived from BSDI original distribution. # # This software component, or modified part of this component is # Copyright(c)1993,1994,1995,1996 Yoichi Shinoda, Yoshitaka Tokugawa, # WIDE Project, Wildboar Project and Foretune. ALL OF THE MODIFICATION # COPYRIGHTS AND ORIGINAL WORK COPYRIGHTS ARE RESERVED. # Even the original components' Copyright notice is different, # since this software component is beta quality, and how to distribute # the software is still unknown, you should NEVER provide this module # to anyone. If you need to provide this module to anybody else, You # should contact Wildboar project to get written permission, or ask # the person to contact Wildboar project. # If you NEVER agreed the condition and saw this notice, the person # give you the copy is already violated the condition. # +-+ # # BSDI $Id: CONFIG,v 1.1.1.1 1997/12/11 14:46:14 itojun Exp $ # # BSDI ISA/EISA 386/486/Pentium generic kernel # include "std.i386" maxusers 10 timezone -9 # use GMT in hardware clock # The next several sections contain options for various optional kernel # facilities. Many (but not all) of the options that are not enabled # by default are listed but commented out with a leading # character. # Note that when adding or removing most of these options from an # existing kernel configuration, it is necessary to do a "make clean" # before rebuilding the kernel. Existing object files that depend # on the state of these options will not be rebuilt otherwise. # The SOURCE option indicates that the kernel should be compiled # from the sources rather than just linking the distributed object files. # This option may be used only after the kernel source package # (from the source CD) is installed. options SOURCE # Build from sources # generic options options KTRACE # syscall tracing options "COMPAT_43" # required for now options COFF # for SCO emulator options SEMAPHORE # currently for SCO emulator only options COMPAT_DEV # support 1.1 /dev nodes options INSECURE # tell init not to enter secure mode # hardware-related options options FPE # floating point emulation options KBD=US # US keyboard is default options CAPSLOCK_CONTROL # caps lock becomes control (text mode) # options PARITY_ERR_PANIC # panic on memory parity error # (also settable with sysctl) # network options options INET # Internet: TCP/IP options INET6 options IGNORERA options GATEWAY # IP routing # options "IPFORWARDSRCRT=0" # disable forwarding of src-routed pkts # options NS # XNS # options ISO # ISO/OSI network options PPP # Point-to-Point Protocol options CISCO_HDLC # HDLC over sync serial options MULTICAST # IP Multicast # options MROUTING # Multicast agent forwarding multicast # support for large routing tables, e.g. gated with full Internet routing: # options "KMEMSIZE=\(16*1024*1024\)" # options "DFLDSIZ=\(32*1024*1024\)" # options "DFLSSIZ=\(4*1024*1024\)" # The GWSCREEN option requires two files (net/gw_screen.c and # netinet/ip_screen.c) that are not included in BSD/OS, # but are available by anonymous FTP. # options GWSCREEN # requires pseudo-device gwscreen # filesystem options options FFS # local Fast File System options NFS # Network File System options MFS # virtual Memory File System options "CD9660" # ISO 9660 CD-ROM file system options MSDOSFS # MS-DOS file system options QUOTA # file system quotas options FIFO # POSIX fifo devices # debugging options #makeoptions DEBUG="-g" # build bsd.gdb with full symbol table # options DEBUG # extensive kernel checking options DIAGNOSTIC # standard kernel checks # options "COMCONSOLE=0" # serial console unit, tty00 # options KGDB # cross-system kernel debugger # options "KGDBDEV=0x800001" # kgdb device, tty01 # other misc. options options LAPTOP # Laptop support for IDE drive # WILDBOAR related options #options MAXTIME # Toshiba specific #options APM_PCAUX_RESET # T3400, DynaBook/SS #options CS_AUTO_ATTACH # auto attach PCMCIA cards options EXP_RESUMEREOPEN # reopen com port on resume(now default) # WILDBOAR related Experimental Patches -- don't try if you don't know well. #options EXP_CPUIDLE # CPU idle hadle by apmbios # Dangerous TP230 only. # Note: "swap generic" should be used only with "options GENERIC" # with all of the disk drivers included. # Other systems should use something like one of the following: config bsd root on wd0a swap on wd0b and wd2b # config bsd root on sd0a swap on sd0b and sd1b #config bsd swap generic #options GENERIC # ISA bus (or EISA, or PCI) isa0 at root # Saturn PCI chipset bug work-around; must precede any pci devices. saturn0 at pci0 # Console pccons0 at isa? port "IO_KBD" pcaux0 at isa? port "IO_KBD" irq 12 # PS/2 mouse # # pcic/tcic device must precede any pcmcia devices. # Notes on selection of irq for cia device: # On certain machines such as Toshiba T3400, particular irq level # will misteriously be ignored after suspend/resume either by # the PCIC controller or by the ICU. # pcic0 at pci? # not supported yet pcic0 at isa? port 0x3e0 irq 11 pcic1 at isa? port 0x3e2 irq 10 # for DEC HiNote Ultra pcic1 at isa? port 0x3e4 irq 10 #tcic0 at isa? port 0x240 irq 11 # unspported # COM ports # Flags are 0xF00000 for fifo flags F; see com(4). # Default is 0; 1, 2, 3, 4 set receive fifo trigger to 1, 4, 8, 14; # 9 ignores the FIFO on 16550/16550AF. com0 at isa? port "IO_COM1" com1 at isa? port "IO_COM2" #com2 at isa? port "IO_COM3" #com3 at isa? port "IO_COM4" # PCMCIA Card aware interface. com2 at pcmcia? com3 at pcmcia? # AST-style 4-port MUX (AST-4, MU-440, etc) # Flags are 0xL0PPP for line number L and interrupt multiplexor port PPP # for each line. The multiplexor port is 7 higher than the last port's # base address. Here, lines 0-3 on a 4-port card starting at port 0x2a0, # with interrupt multiplexor port at 0x2bf. #com2 at isa? port 0x2a0 flags 0x002bf #com3 at isa? port 0x2a8 flags 0x102bf #com4 at isa? port 0x2b0 flags 0x202bf #com5 at isa? port 0x2b8 flags 0x302bf # USENET II serial board # Flags are 0xFLGPPP for line number L, interrupt group G, and fifo flags F. # The multiplexor port field PPP is set to 0 because interrupts # are enabled differently than the AST. # See com(4) for fifo flags; values from 0xb through 0xf enable # USENET II hardware flow control. 0xf has the highest FIFO values; # 0xe sets both rx and tx FIFOs to 14. # Note, port 100 conflicts with some 3Com Ethernet card's auto-enable. #com4 at isa? port 0x120 flags 0xe01000 #com5 at isa? port 0x128 flags 0xe11000 #com6 at isa? port 0x130 flags 0xe21000 #com7 at isa? port 0x138 flags 0xe31000 # parallel printer port # set flags to 0 for CRLF expansion, 1 for raw # lp2 is LPT1 on PS/2 (MicroChannel), monochrome display adapter port, # and some laptops. IRQ cannot be shared, thus only one of lp0 and lp2 # will configure with irq 7 in this configuration. "irq IRQNONE" runs # without interrupts, which is better with big printer buffers. lp0 at isa? port 0x378 irq 7 flags 1 #lp1 at isa? port 0x278 flags 1 lp0 at isa? port 0x3BC irq 7 flags 1 lp2 at isa? port 0x3BC irq 7 flags 1 # Floppy drives fdc0 at isa? port "IO_FD1" drq 2 fd0 at fdc0 drive 0 fd1 at fdc0 drive 1 # Specific SCSI target/device configurations; # must precede wild-card configurations below, e.g. tg* at aha?. # Examples to force sd0 to be found only on target 0 of aha0, and sd1 # on target 1; units number sequentially after any specific assignments. # tg0 at aha0 target 0 # sd0 at tg0 unit 0 # tg1 at aha0 target 1 # sd1 at tg1 unit 0 # IDE/ESDI/RLL/ST-506/ATAPI controllers wdc0 at isa? port "IO_WD1" wdc1 at isa? port "IO_WD2" # PCMCIA Card aware interface. wdc1 at pcmcia? wdc2 at pcmcia? # IDE/ESDI/RLL/ST506 # For backward compatibility, wd drive numbering is fixed here, # e.g. drive 0 on controller 1 is wd2 even if there is no wd1. # Uncomment the "wd*" line and remove the other wdN lines # to number drives sequentially as found. # wd* at wdc? drive ? wd0 at wdc0 drive 0 #wd1 at wdc0 drive 1 #wd2 at wdc1 drive 0 #wd3 at wdc1 drive 1 wd1 at wdc1 drive 0 # PCMCIA 1st ATA card wd2 at wdc2 drive 0 # PCMCIA 2nd ATA card # ATAPI host-bus adapter (for IDE CD-ROM) wdpi* at wdc? drive ? tg* at wdpi? target ? # QIC-02 tape wt0 at isa? port 0x300 drq 1 # Numeric coprocessor (387 or on-board 486) npx0 at isa? port "IO_NPX" # VGA display adapter (only needed for graphics mode, including X) vga0 at isa? port "IO_VGA" iomem 0xa0000 iosiz 65536 # Microsoft BusMouse driver (works with ATI Ultra busmouse) #bms0 at isa? port 0x23c irq 5 # Logitec Bus Mouse, same location as bms0 (works with ATI Ultra Pro mouse) #lms0 at isa? port 0x23c irq 5 # Mitsumi CD-ROM # 0x300 <= port <= 0x3fc, port%4 == 0 # on the 8 bit card: # irq = none, 3, 5 or 9 # drq = none, 1 or 3 (drq ? defaults to 3) # on the 16 bit card # irq = none, 3, 5, 9, 10 or 11 # drq = none, 5, 6 or 7 (drq ? defaults to 6) mcd0 at isa? port 0x334 irq 9 drq ? mcd0 at isa? port 0x340 irq 9 drq ? # NCR 53C810/53C815/53C825 PCI SCSI host adaptor # see ncr(4) for details of flags field for options #ncr0 at pci? flags 0x0 #ncr1 at pci? flags 0x0 #ncr2 at pci? flags 0x0 #tg* at ncr? target ? # Adaptec AIC 7{7,8}70 series controllers # see aic(4) for details of flags field for options #aic0 at pci? flags 0x0 #aic1 at pci? flags 0x0 #aic2 at pci? flags 0x0 #aic0 at eisa? flags 0x0 #aic1 at eisa? flags 0x0 #aic2 at eisa? flags 0x0 #tg* at aic? target ? # Buslogic VLB/EISA/PCI SCSI host adapter in 32-bit mode (bha) # Adaptec 1542[BC] SCSI host adapter (aha) # bha must precede aha; if bha omitted, aha supports bha cards in 24-bit mode. # If both are configured for the same address, aha should directly follow bha. #bha0 at isa? port 0x330 # or pci0 #aha0 at isa? port 0x330 #tg* at bha0 target ? #tg* at aha0 target ? #bha1 at isa? port 0x334 # or pci0 #aha1 at isa? port 0x334 #tg* at bha1 target ? #tg* at aha1 target ? # Adaptec 1520 or compatible SCSI host adaptor sa0 at isa? port 0x340 # PCMCIA Card aware SCSI interface. sa0 at pcmcia? tg* at sa0 target ? # SCSI disk and tape; wildcard to find on any target # sr* matches all removable devices for which there is no # specific srN configuration unless inhibited by "flags 1". # sd also matches removable devices if sr is inhibited or not configured, # so sr must be first to find anything. sr* at tg? unit ? sd* at tg? unit ? st* at tg? unit ? # Novell NE-1000/NE-2000 Ethernet adapter # Several of these conflict with other devices, # so these are listed after aha, mcd and lp/pe. # 32 ports are used. #ne0 at isa? port 0x320 #ne0 at isa? port 0x340 #ne0 at isa? port 0x360 # NE-2000 compatible PCMCIA cards ne0 at pcmcia? ne1 at pcmcia? # 3COM 3C501 Ethernet adaptor #eo0 at isa? port 0x320 # 3COM EtherLink Plus 3C505 Ethernet adaptor #ep0 at isa? port 0x240 #ep0 at isa? port 0x320 # SDL Communications RISCom/N1 HDLC serial card # requires options PPP and/or CISCO_HDLC #rn0 at isa? port 0x220 iomem 0xe0000 iosiz 65536 # SDL Communications RISCom/H2 HDLC serial card # requires options PPP and/or CISCO_HDLC #rh0 at isa? port 0x240 drq 6 # SDL Communications RISCom/N2 dual sync serial port driver # A memory size of 32k (32768) should be used for boards with 64k DP-RAM. # requires options PPP and/or CISCO_HDLC #ntwo0 at isa? port 0x300 iomem 0xe0000 iosiz 32768 flags 0 # TNIC-1500 Ether from South Coast Computing Services, +1 713 661 3301. #tn0 at isa? port 0x320 drq 3 #tn0 at isa? port 0x340 drq 3 #tn0 at isa? port 0x360 drq 3 #tn0 at isa? port 0x300 drq 3 # DEC DE500, SMC EtherPower 10 and 100 Mb/s Ether #de0 at pci? #de1 at pci? #de2 at pci? #de0 at eisa? #de1 at eisa? #de2 at eisa? # HP EtherTwist PC LAN Adapter/16 Plus: # HP 27247B PC LAN Adapter/16 TP Plus [AUI/UTP] # HP 27252A PC LAN Adapter/16 TL Plus [AUI/BNC] #hpp0 at isa? port 0x2c0 iomem 0xc8000 iosiz 2048 #hpp0 at isa? port 0x300 iomem 0xc8000 iosiz 2048 # Allied Telesis RE2000/AT-1700 series Ethernet adapter driver #re0 at isa? port 0x240 #re0 at isa? port 0x260 #re0 at isa? port 0x280 #re0 at isa? port 0x2a0 #re0 at isa? port 0x300 #re0 at isa? port 0x320 #re0 at isa? port 0x340 #re0 at isa? port 0x380 # 3COM EtherLink III 3X59X PCI Ethernet adaptors. # Must precede devices that allocate irq at probe (including other ef's). #ef0 at pci? #ef1 at pci? #ef2 at pci? # DEC EtherWorks III/DEPCA ethernet adapter family #di0 at isa? #di1 at eisa? # IBM TRA 16/4 token ring adapter, or 3Com TokenLink III (Tropic chipset) #tr0 at isa? port 0xa20 iomem 0xd0000 #tr1 at isa? port 0xa24 iomem 0xd8000 # DEC EISA FDDI (DEFEA-XX) #fea0 at eisa? # DEC PCI FDDI (DEFPA-XX) #fpa0 at pci? # SDL Communications RISCom/8 8-port Async Mux # flags should be 0 for the original cards # with 19.6608 MHz crystal (9.8304 MHz clock), # and 1 for newer cards with 18.432 MHz crystal (9.216 MHz clock) #rc0 at isa? port 0x220 flags 0 #Cyclades Cyclom-Y multiport serial card #cy0 at isa? irq 10 iomem 0xd4000 iosiz 8192 flags 0x0001 # Maxpeed Intelligent Serial Controllers # # SS-4/2, SS-4PLUS and SS-8/2 go on 8k boundaries. # SS-16/2 goes on a 16k boundary. # # In the version 1.3 of the driver the low flag bit turns on # input speedups when the tty is in raw mode. This has been # tested with UUCP and SLIP but if it gives you problems it # can be disabled by clearing the bit -- either here or via # msconfig(8). # # The rest of the flags enable compatibility with pre-D7 (SS-8/2) # or D-X2 (SS-4PLUS) ROMs. See ms(4) for details. # #ms0 at isa? iomem 0xd4000 iosiz 8192 flags 0x0001 #ms1 at isa? iomem 0xd6000 iosiz 8192 flags 0x0001 #ms2 at isa? iomem 0xd8000 iosiz 8192 flags 0x0001 #ms3 at isa? iomem 0xda000 iosiz 8192 flags 0x0001 #ms4 at isa? iomem 0xdc000 iosiz 8192 flags 0x0001 #ms5 at isa? iomem 0xde000 iosiz 8192 flags 0x0001 #ms6 at isa? iomem 0xe0000 iosiz 8192 flags 0x0001 #ms7 at isa? iomem 0xe2000 iosiz 8192 flags 0x0001 # Sound/midi/fm drivers - all require pseudo-device snd # Soundblaster Original/Pro/16 sb0 at isa? port 0x220 irq 5 drq 1 sbxvi0 at isa? drq 5 sbmidi0 at isa? port 0x330 opl0 at isa? port 0x388 # Pro Audio Spectrum #pas0 at isa? port 0x388 irq 10 drq 6 # Gravis UltraSound #gus0 at isa? port 0x220 irq 11 drq 1 # Gus16 (requires gus0) #gusxvi0 at isa? port 0x530 irq 7 drq 3 # Gus MAX (requires gus0) #gusxvi0 at isa? port 0x32c # MS Sound System #mss0 at isa? port 0x530 irq 10 drq 1 # Generic MPU-401 midi interface #mpu0 at isa? port 0x330 irq 5 # 6850 uart midi interface #uart0 at isa? port 0x330 irq 5 # Devices that can select their own IRQ or other parameters # are placed last so that other devices get first choice. # PCI devices that use interrupts must precede this section. # DigiBoard PC/4e, PC/8e, PC/16e, PC/8i, PC/16em terminal multiplexor # EISA cards must not specify a port, ISA cards must specify a port. # The actual iosiz depends on the card (8K to 64K). # Multiple cards can use the same iomem address, # as the memory is switched as needed. # Cards with jumper-selected irq must specify the irq. #digi0 at eisa? iomem 0xd0000 #digi0 at isa? port 0x220 iomem 0xd0000 #digi0 at isa? port 0x220 iomem 0xd0000 irq 15 # Specialix SLXOS 8-32 port terminal multiplexor #si0 at isa? iomem 0x0d8000 iosiz 65536 # Western Digital/SMC family of ethernet adapters, plus 3COM 3C503 # first, Western Digital/SMC addresses; check for 16 KB memory by default #we0 at isa? port 0x280 iomem 0xd0000 iosiz 16384 #we0 at isa? port 0x2A0 iomem 0xd0000 iosiz 16384 #we0 at isa? port 0x2C0 iomem 0xd0000 iosiz 16384 #we0 at isa? port 0x2E0 iomem 0xd0000 iosiz 16384 #we0 at isa? port 0x300 iomem 0xd0000 iosiz 16384 #we0 at isa? port 0x320 iomem 0xd0000 iosiz 16384 #we0 at isa? port 0x340 iomem 0xd0000 iosiz 16384 #we0 at isa? port 0x360 iomem 0xd0000 iosiz 16384 #we0 at isa? port 0x380 iomem 0xd0000 iosiz 16384 #we0 at isa? port 0x3A0 iomem 0xd0000 iosiz 16384 # 0x3C0 is not usable with color pccons # we0 at isa? port 0x3C0 iomem 0xd0000 iosiz 16384 #we0 at isa? port 0x3E0 iomem 0xd0000 iosiz 16384 # 3C503 addresses; memory address obtained from jumpers #we0 at isa? port 0x280 #we0 at isa? port 0x2A0 #we0 at isa? port 0x2E0 #we0 at isa? port 0x300 #we0 at isa? port 0x310 #we0 at isa? port 0x330 #we0 at isa? port 0x350 # 3COM EtherLink III 3C509/3C579/3C589 EISA/ISA/PCMCIA Ethernet adaptors. # On isa0, also uses port 0x100 to set the specified port. #ef0 at eisa? #ef1 at eisa? #ef2 at eisa? #ef0 at isa? port 0x250 ef0 at pcmcia? ef1 at pcmcia? # 3COM 3C507 Ethernet adaptor # also uses port 0x100 to set the specified port #el0 at isa? port 0x310 iomem 0xd0000 iosiz 65536 # Intel EtherExpress 16 Ethernet adaptor #ex0 at isa? port 0x260 # The Xircom devices are placed after the other Ethernet devices # so that any other Ethernet device found will be the "primary" device, # e.g. the default for netstat. The Xircoms are configured if the # parallel port is found, even if no adapter is present at boot time. # Xircom Pocket Ethernet 2 on LPT1 (aka lp0) # Unit numbers correspond to lp unit numbers, # and must follow the lp ports in the config file. pe0 at isa? # on lp0 #pe1 at isa? # on lp1 pe2 at isa? # on lp2 # Xircom Pocket Ethernet 3 on LPT1 (aka lp0) # Unit numbers correspond to lp unit numbers, # and must follow the lp ports in the config file. # Only one of these devices may be used currently. xir0 at isa? # on lp0 #xir1 at isa? # on lp1 xir2 at isa? # on lp2 # SMC TokenCard Elite token ring adapter #te0 at isa? port 0x280 iomem 0xd8000 # Fujitsu MB86960 based ethernet adapter driver # Contec C-NET(PC)C # Fujitsu MBH10301 and MBH10302 # Ratoc REX5535 (MBH10302 compatible, not confirmed) # Hitachi Lan Card HT-4840-10 (MBH10301 compatible) # Hitachi Lan Card HT-4840-11 (MBH10302 compatible) # Xircom Credit Card Ethernet Adapter (Original and Corporate Series) # TP connector should work but BNC connector may not work cce0 at pcmcia? cce1 at pcmcia? # PROXIM RangeLAN2/PCMCIA # @WIDE@ crx0 at pcmcia? # @WIDE@ crx1 at pcmcia? # @WIDE@ # Xircom Credit Card NetWave adapter # @WIDE@ xnw0 at pcmcia? # @WIDE@ xnw1 at pcmcia? # @WIDE@ # MegaHertz PCMCIA Ethernet XJ10B[T2] (with/without XJack) adapter mz0 at pcmcia? mz1 at pcmcia? # I/O Magic FOCUS PCMCIA Video Capture Card driver # make sure that you have appropreate device entry in /dev fvc0 at pcmcia? # IBM Smart Capture Card scc0 at pcmcia? # PCMCIA SRAM memory card mc0 at pcmcia? mc1 at pcmcia? mc2 at pcmcia? mc3 at pcmcia? # PROXIM RangeLAN2/ISA #rx0 at isa? port 0x300 irq 10 # Hitachi Speech Synthesizer card hss0 at pcmcia? hss1 at pcmcia? # Adaptec 1742A SCSI controller eaha0 at eisa? tg* at eaha0 target ? eaha1 at eisa? tg* at eaha1 target ? eaha2 at eisa? tg* at eaha2 target ? # Chase Research IOPRO control driver # This also requires the aim pseudo driver below. # Memory can be any 2K boundary that does not conflict # Likely port addresses for ISA boards are: # 0x180, 0x190, 0x200, 0x240, 0x280, 0x2e0, 0x300, 0x100 #aimc0 at isa? port 0x180 iomem 0xcc000 iosiz 2048 # EISA variant of Chase Research IOPRO control driver # This also requires the aim pseudo driver below. # The fourth digit from the right in the port field is the # slot number the board is installed in. For example: # slot 1 = 0x1c00 # slot 4 = 0x4c00 #aimc0 at isa? port 0x1c00 # Chase Research IOPRO data driver #pseudo-device aim 64 # Equinox SST # Likely port addresses for isa cards are: # 0x220, 0x240 and 0x260 #eqnx0 at eisa? iomem 0xd0000 #eqnx0 at isa? port 0x220 iomem 0xd0000 # Aironet Wireless Communications radio network card #ar0 at isa? iomem 0xce000 # Comtrol Rocketport #rp0 at isa? port 0x180 pseudo-device loop pseudo-device pty pseudo-device sl 1 pseudo-device appp 1 # requires options PPP pseudo-device bpfilter 10 #pseudo-device gwscreen # requires option GWSCREEN pseudo-device snd pseudo-device apm pseudo-device ss 4 pseudo-device cs pseudo-device gif 4 pseudo-device dummy 1