# # Tatsuya TANIKAWA # # for SS-R 575 # # # This directive is mandatory; it defines the architecture to be # configured for; in this case, the 386 family based IBM-PC and # compatibles. # machine "i386" # # This is the ``identification'' of the kernel. Usually this should # be the same as the name of your kernel. # ident TANIKAWA # # The `maxusers' parameter controls the static sizing of a number of # internal system tables by a complicated formula defined in param.c. # maxusers 10 # When this is set, be extra conservative in various parts of the kernel # and choose functionality over speed (on the widest variety of systems). # # (Note that one of the effects of removing this option is to enable # tagged commands in the `ncr' driver. See the comments to # AHC_TAGENABLE for a note of warning.) options FAILSAFE # This allows you to actually store this configuration file into # the kernel binary itself, where it may be later read by saying: # strings /kernel | grep ^___ | sed -e 's/^___//' > MYKERNEL # #options INCLUDE_CONFIG_FILE # Include this file in kernel # # This directive defines a number of things: # - The compiled kernel is to be called `kernel' # - The root filesystem might be on partition wd0a # - Crash dumps will be written to wd0b, if possible. Specifying the # dump device here is not recommended. Use dumpon(8). # config kernel root on wd0 dumps on wd0 ##################################################################### # CPU OPTIONS # # You must specify at least one CPU (the one you intend to run on); # deleting the specification for CPUs you don't need to use may make # parts of the system run faster. This is especially true removing # I386_CPU. # #cpu "I386_CPU" cpu "I486_CPU" cpu "I586_CPU" # aka Pentium(tm) cpu "I686_CPU" # aka Pentium Pro(tm) # # A math emulator is mandatory if you wish to run on hardware which # does not have a floating-point processor. Pick either the original, # bogus (but freely-distributable) math emulator, or a much more # fully-featured but GPL-licensed emulator taken from Linux. # #options MATH_EMULATE #Support for x87 emulation # Don't enable both of these in a real config. #options GPL_MATH_EMULATE #Support for x87 emulation via #new math emulator ##################################################################### # COMPATIBILITY OPTIONS # # Implement system calls compatible with 4.3BSD and older versions of # FreeBSD. You probably do NOT want to remove this as much current code # still relies on the 4.3 emulation. # options "COMPAT_43" # # Allow user-mode programs to manipulate their local descriptor tables. # This option is required for the WINE Windows(tm) emulator, and is # not used by anything else (that we know of). # options USER_LDT #allow user-level control of i386 ldt # # These three options provide support for System V Interface # Definition-style interprocess communication, in the form of shared # memory, semaphores, and message queues, respectively. # options SYSVSHM options SYSVSEM options SYSVMSG # # This option includes a MD5 routine in the kernel, this is used for # various authentication and privacy uses. # options "MD5" ##################################################################### # DEBUGGING OPTIONS # # Enable the kernel debugger. # #options DDB # # Don't drop into DDB for a panic. Intended for unattended operation # where you may want to drop to DDB from the console, but still want # the machine to recover from a panic # #options DDB_UNATTENDED # # KTRACE enables the system-call tracing facility ktrace(2). # options KTRACE #kernel tracing # # The DIAGNOSTIC option is used in a number of source files to enable # extra sanity checking of internal structures. This support is not # enabled by default because of the extra time it would take to check # for these conditions, which can only occur as a result of # programming errors. # #options DIAGNOSTIC # # PERFMON causes the driver for Pentium/Pentium Pro performance counters # to be compiled. See perfmon(4) for more information. # options PERFMON # XXX - this doesn't belong here. # Allow ordinary users to take the console - this is useful for X. options UCONSOLE # XXX - this doesn't belong here either options USERCONFIG #boot -c editor #options USERCONFIG_BOOT #imply -c and parse info area options VISUAL_USERCONFIG #visual boot -c editor ##################################################################### # NETWORKING OPTIONS # # Protocol families: # Only the INET (Internet) family is officially supported in FreeBSD. # Source code for the NS (Xerox Network Service) is provided for amusement # value. # options INET #Internet communications protocols # # Network interfaces: # pseudo-device ether #Generic Ethernet pseudo-device loop #Network loopback device #pseudo-device sl 1 #Serial Line IP #pseudo-device ppp 1 #Point-to-point protocol pseudo-device bpfilter 4 #Berkeley packet filter #pseudo-device disc #Discard device pseudo-device tun 1 #Tunnel driver(user process ppp) # # Internet family options: # options MROUTING # Multicast routing ##################################################################### # FILESYSTEM OPTIONS # One of these is mandatory: options FFS #Fast filesystem options NFS #Network File System # The rest are optional: # options NFS_NOSERVER #Disable the NFS-server code. #options "CD9660" #ISO 9660 filesystem #options MFS #Memory filesystem options MSDOSFS #MS DOS filesystem options PROCFS #Process filesystem # Make space in the kernel for a MFS root filesystem. Define to the number # of kilobytes to reserve for the filesystem. #options MFS_ROOT=10 # Allow the MFS_ROOT code to load the MFS image from floppy if it is missing. #options MFS_AUTOLOAD # Disk quotas are supported when this option is enabled. If you # change the value of this option, you must do a `make clean' in your # kernel compile directory in order to get a working kernel. # #options QUOTA #enable disk quotas # In particular multi-session CD-Rs might require a huge amount of # time in order to "settle". If we are about mounting them as the # root f/s, we gotta wait a little. # # The number is supposed to be in seconds. #options "CD9660_ROOTDELAY=20" ##################################################################### # SCSI DEVICES # SCSI DEVICE CONFIGURATION controller scbus0 #base SCSI code device ch0 #SCSI media changers device sd0 #SCSI disks device st0 #SCSI tapes device cd0 #SCSI CD-ROMs device od0 #SCSI optical disk # SCSI OPTIONS: # SCSIDEBUG: When defined enables debugging macros # NO_SCSI_SENSE: When defined disables sense descriptions (about 4k) # SCSI_REPORT_GEOMETRY: Always report disk geometry at boot up instead # of only when booting verbosely. #options SCSIDEBUG #options NO_SCSI_SENSE #options SCSI_REPORT_GEOMETRY # Options for the `od' optical disk driver: # # If drive returns sense key as 0x02 with vendor specific additional # sense code (ASC) and additional sense code qualifier (ASCQ), or # illegal ASC and ASCQ. This cause an error (NOT READY) and retrying. # To suppress this, use the following option. # #options OD_BOGUS_NOT_READY # # For an automatic spindown, try this. Again, preferrably as an # option in your config file. # WARNING! Use at your own risk. Joerg's ancient SONY SMO drive # groks it fine, while Shunsuke's Fujitsu chokes on it and times # out. # #options OD_AUTO_TURNOFF ##################################################################### # MISCELLANEOUS DEVICES AND OPTIONS pseudo-device pty 32 #Pseudo ttys - can go as high as 256 pseudo-device speaker #Play IBM BASIC-style noises out your speaker pseudo-device log #Kernel syslog interface (/dev/klog) pseudo-device gzip #Exec gzipped a.out's pseudo-device vn #Vnode driver (turns a file into a device) #pseudo-device snp 3 #Snoop device - to look at pty/vty/etc.. #pseudo-device ccd 4 #Concatenated disk driver ##################################################################### # HARDWARE DEVICE CONFIGURATION # # Mandatory ISA devices: isa, sc or vt, npx # controller isa0 # # Options for `isa': # #options "AUTO_EOI_1" #options "AUTO_EOI_2" #options BOUNCE_BUFFERS #options "MAXMEM=(128*1024)" #options "TUNE_1542" #options BROKEN_KEYBOARD_RESET #options PAS_JOYSTICK_ENABLE # Enable PnP support in the kernel. This allows you to automaticly # attach to PnP cards for drivers that support it and allows you to # configure cards from USERCONFIG. See pnp(4) for more info. #controller pnp0 # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver #device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint #options XSERVER # support for running an X server. #options FAT_CURSOR # start with block cursor # This PCVT option is for keyboards such as those used on IBM ThinkPad laptops #options PCVT_SCANSET=2 # IBM keyboards are non-std # The syscons console driver (sco color console compatible). device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr options MAXCONS=4 # number of virtual consoles #options SLOW_VGA # do byte-wide i/o's to TS and GDC regs #options SC_HISTORY_SIZE=200 # number of history buffer lines options SC_DISABLE_REBOOT # disable reboot key sequence # # This device is mandatory. # # The Numeric Processing eXtension is used to either enable the # coprocessor or enable math emulation. If your machine doesn't contain # a math co-processor, you must *also* add the option "MATH_EMULATE". # THIS IS NOT AN OPTIONAL ENTRY, DO NOT REMOVE IT device npx0 at isa? port "IO_NPX" iosiz 0x0 flags 0x0 irq 13 vector npxintr # # Optional ISA and EISA devices: # # # SCSI host adapters: `aha', `aic', `bt', `nca' # #controller aha0 at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr controller aic0 at isa? disable port 0x340 bio irq 11 vector aicintr # # ST-506, ESDI, and IDE hard disks: `wdc' and `wd' # controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr disk wd0 at wdc0 drive 0 #disk wd1 at wdc0 drive 1 controller wdc1 at isa? disable port "IO_WD2" bio irq 15 vector wdintr disk wd2 at wdc1 drive 0 #disk wd3 at wdc1 drive 1 # # ATAPI enables the support for ATAPI-compatible IDE devices # #options ATAPI #Enable ATAPI support for IDE bus #options ATAPI_STATIC #Don't do it as an LKM # IDE CD-ROM driver - requires wdc controller and ATAPI option #device wcd0 # IDE floppy driver - requires wdc controller and ATAPI option #device wfd0 # # Standard floppy disk controllers and floppy tapes: `fdc', `fd', and `ft' # controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr disk fd0 at fdc0 drive 0 disk fd1 at fdc0 drive 1 tape ft0 at fdc0 drive 2 # # Other standard PC hardware: `lpt', `mse', `psm', `sio', etc. # device lpt0 at isa? port? tty irq 7 vector lptintr #device lpt1 at isa? port "IO_LPT3" tty irq 5 vector lptintr device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr # Options for psm: #options PSM_HOOKAPM #hook the APM resume event, useful #for some laptops #options PSM_RESETAFTERSUSPEND #reset the device at the resume event device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr device sio1 at isa? disable port "IO_COM2" tty irq 3 vector siointr device sio2 at isa? disable port "IO_COM3" tty irq 10 vector siointr # # Network interfaces: `cx', `ed', `el', `ep', `ie', `is', `le', `lnc' # device ed0 at isa? disable port 0x280 net irq 5 iomem 0xd8000 vector edintr device ep0 at isa? disable port 0x300 net irq 10 vector epintr device fe0 at isa? disable port 0x300 net irq ? vector feintr # # Audio drivers: `snd', `sb', `pas', `gus', `pca' # controller snd0 device sb0 at isa? port 0x220 irq 5 drq 1 vector sbintr #device sbxvi0 at isa? drq 5 #device sbmidi0 at isa? port 0x330 # For normal case use next line device opl0 at isa? port 0x388 options SBC_IRQ=5 #PAS-16. Must match irq on sb0 line. # Not controlled by `snd' device pca0 at isa? port IO_TIMER1 tty # # Miscellaneous hardware: # options APM_IDLE_CPU # Tell APM to idle rather than halt'ing the cpu device apm0 at isa? #options APM_BROKEN_STATCLOCK # # PCCARD/PCMCIA # # card: slot controller # pcic: slots controller card0 controller pcic0 at card? #controller pcic1 at card? # # Laptop/Notebook options: # #options POWERFAIL_NMI # make it beep instead of panicing # More undocumented options for linting. #options COMPAT_LINUX #options "EXT2FS" options SCSI_DELAY=5 # Be pessimistic about Joe SCSI device ##################################################################### # PAO CONFIGURATION # laptop-specific configuration #options LAPTOP # If your laptop have not had Windoze95-Ready BIOS, please update it. # Such old BIOS'es sometimes have critical bugs at 32-bit protected # mode APM BIOS interface (which have not used by Windoze 3.1). # PC-card suspend/resume support (experimental) options APM_PCCARD_RESUME options PCIC_RESUME_RESET # Keep power for serial cards when the system suspends # (If your machine hangs up when you try to suspend the system with # FAX/Modem PCMCIA card, uncomment this option). #options SIO_SUSP_KEEP_PWR # Detach SCSI devices when the SCSI card is removed options SCSI_DETACH # Japanese version of WaveLAN PCMCIA uses 2.4GHz band instead of 915MHz # band that US version uses. If you want to use Japanese version of # WaveLAN, uncomment this line, or edit the corresponding config entry # of /etc/pccard.conf. #options "WAVELAN_PCMCIA_24" # Suspend the system when the battery status is "Low" options "APM_BATT_LOW_SUSPEND" # If you want to use NTP on laptop machines, uncomment the following # option. Current APM implementation affects NTP client. #options "APM_NO_CLOCK_ADJUST" # Some X-servers cannot survive suspend/resume on laptop. # This option kicks her when the system is resumed from suspended mode. #options SYSCONS_VTY_RESUME # This option is totally untested, but it's necessary for Mitsubishi # AMiTY CN. # (This breaks Chandra's CardBus slot support, so it is commented out # by default) #options "PCIC_TI113X_FUNC" # Dont remove these two lines! pseudo-device card 1 device pcic0 at isa? port 0x3e0 irq 3 vector pcicintr #device pcic1 at isa? port 0x3e2 # for HiNote Ultra II #device pcic1 at isa? port 0x3e4 # If your machine says that PC-cards are inserted and removed frequently # even if you don't insert or remove the cards, please try to specify # the IRQ of PCIC explicitly. #options "PCIC_IRQ=12" # for machines with serial trackball #options "PCIC_IRQ=0" # zero means no IRQ mode # Some PCMCIA-PCI bridge has peculiar I/O address (default: 0x3e0). # If you want to specify I/O address explicitly, uncomment and edit the # following line (for example, I/O address of PCMCIA bridge of SOTEC # Winbook Quattro/V is 0x3000). To know this value, please read the # manual of your laptop or device property of PCMCIA bridge from # Windows95's device control panel. #options "PCIC_IO=0x3000" # for Sotec Winbook Quattro/V # This option might be usefule for those who has a PCI-ISA bridge that # is capable of IRQ routing and BIOS that properly configures it. # Assumes this condition, one could possibly use IRQ9 and IRQ10, which # CLPD6701 Interrupt Deserializer cannot handle. # We can't blindly assume this condition, this option is turned off by # default. #options "PCIC_CLPD6832_NO_EXPLICIT_ISA_IRQ" # IBM Smart Capture PCMCIA card #device scc0 at isa? port 0x240 irq 10 iomem 0xd4000 vector sccintr #device scc1 at isa? disable port 0x244 irq 11 iomem 0xd8000 vector sccintr # Hitachi microcomputer system Speach Synthesizer card #device hss0 at isa? port? #device hss1 at isa? port? # PCMCIA Joystick #device joy0 at isa? port "IO_GAME"