1994-10-17 21:10:20 +00:00
|
|
|
#
|
2000-01-21 20:19:18 +00:00
|
|
|
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
|
1994-10-17 21:10:20 +00:00
|
|
|
#
|
1999-06-20 03:36:46 +00:00
|
|
|
# For more information on this file, please read the handbook section on
|
|
|
|
# Kernel Configuration Files:
|
1994-10-17 21:10:20 +00:00
|
|
|
#
|
2000-05-13 11:21:19 +00:00
|
|
|
# http://www.FreeBSD.org/handbook/kernelconfig-config.html
|
1999-06-20 03:36:46 +00:00
|
|
|
#
|
|
|
|
# The handbook is also available locally in /usr/share/doc/handbook
|
|
|
|
# if you've installed the doc distribution, otherwise always see the
|
2000-05-13 11:21:19 +00:00
|
|
|
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
|
1999-06-20 03:36:46 +00:00
|
|
|
# latest information.
|
|
|
|
#
|
|
|
|
# An exhaustive list of options and more detailed explanations of the
|
|
|
|
# device lines is also present in the ./LINT configuration file. If you are
|
1996-08-27 16:25:53 +00:00
|
|
|
# in doubt as to the purpose or necessity of a line, check first in LINT.
|
|
|
|
#
|
1999-08-28 01:08:13 +00:00
|
|
|
# $FreeBSD$
|
1994-10-17 21:10:20 +00:00
|
|
|
|
1999-04-24 21:45:44 +00:00
|
|
|
machine i386
|
|
|
|
cpu I386_CPU
|
|
|
|
cpu I486_CPU
|
|
|
|
cpu I586_CPU
|
|
|
|
cpu I686_CPU
|
1994-10-17 21:10:20 +00:00
|
|
|
ident GENERIC
|
1998-09-04 19:55:51 +00:00
|
|
|
maxusers 32
|
1994-10-17 21:10:20 +00:00
|
|
|
|
1999-04-24 21:45:44 +00:00
|
|
|
#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
|
1999-04-13 20:59:36 +00:00
|
|
|
|
1999-06-29 18:55:53 +00:00
|
|
|
options MATH_EMULATE #Support for x87 emulation
|
|
|
|
options INET #InterNETworking
|
2000-02-26 22:09:31 +00:00
|
|
|
options INET6 #IPv6 communications protocols
|
1999-06-29 18:55:53 +00:00
|
|
|
options FFS #Berkeley Fast Filesystem
|
|
|
|
options FFS_ROOT #FFS usable as root device [keep this!]
|
|
|
|
options MFS #Memory Filesystem
|
1999-12-19 17:12:19 +00:00
|
|
|
options MD_ROOT #MD is a potential root device
|
1999-06-29 18:55:53 +00:00
|
|
|
options NFS #Network Filesystem
|
2000-01-24 05:38:55 +00:00
|
|
|
options NFS_ROOT #NFS usable as root device, NFS required
|
1999-06-29 18:55:53 +00:00
|
|
|
options MSDOSFS #MSDOS Filesystem
|
|
|
|
options CD9660 #ISO 9660 Filesystem
|
2000-01-24 05:38:55 +00:00
|
|
|
options CD9660_ROOT #CD-ROM usable as root, CD9660 required
|
1999-06-29 18:55:53 +00:00
|
|
|
options PROCFS #Process filesystem
|
|
|
|
options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
|
2000-01-21 20:19:18 +00:00
|
|
|
options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI
|
1999-06-29 18:55:53 +00:00
|
|
|
options UCONSOLE #Allow users to grab the console
|
|
|
|
options USERCONFIG #boot -c editor
|
|
|
|
options VISUAL_USERCONFIG #visual boot -c editor
|
2000-01-24 05:38:55 +00:00
|
|
|
options KTRACE #ktrace(1) support
|
1999-10-15 07:07:43 +00:00
|
|
|
options SYSVSHM #SYSV-style shared memory
|
|
|
|
options SYSVMSG #SYSV-style message queues
|
|
|
|
options SYSVSEM #SYSV-style semaphores
|
2000-04-15 18:46:15 +00:00
|
|
|
options P1003_1B #Posix P1003_1B real-time extensions
|
2000-01-18 07:52:12 +00:00
|
|
|
options _KPOSIX_PRIORITY_SCHEDULING
|
2000-05-12 03:05:35 +00:00
|
|
|
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
|
1994-10-17 21:10:20 +00:00
|
|
|
|
1998-12-27 13:12:59 +00:00
|
|
|
# To make an SMP kernel, the next two are needed
|
1999-06-29 18:55:53 +00:00
|
|
|
#options SMP # Symmetric MultiProcessor Kernel
|
|
|
|
#options APIC_IO # Symmetric (APIC) I/O
|
1998-12-27 13:12:59 +00:00
|
|
|
# Optionally these may need tweaked, (defaults shown):
|
1999-06-29 18:55:53 +00:00
|
|
|
#options NCPU=2 # number of CPUs
|
2000-05-31 19:01:45 +00:00
|
|
|
#options NBUS=8 # number of busses
|
1999-06-29 18:55:53 +00:00
|
|
|
#options NAPIC=1 # number of IO APICs
|
|
|
|
#options NINTR=24 # number of INTs
|
1998-12-27 13:12:59 +00:00
|
|
|
|
2000-01-23 12:18:53 +00:00
|
|
|
device isa
|
|
|
|
device eisa
|
|
|
|
device pci
|
2000-03-19 13:33:26 +00:00
|
|
|
options COMPAT_OLDISA # Old ISA driver shims
|
|
|
|
options COMPAT_OLDPCI # Old PCI driver shims
|
1994-10-17 21:10:20 +00:00
|
|
|
|
1999-06-29 18:55:53 +00:00
|
|
|
# Floppy drives
|
2000-01-08 15:59:12 +00:00
|
|
|
device fdc0 at isa? port IO_FD1 irq 6 drq 2
|
1999-11-01 04:02:58 +00:00
|
|
|
device fd0 at fdc0 drive 0
|
|
|
|
device fd1 at fdc0 drive 1
|
1994-10-17 21:10:20 +00:00
|
|
|
|
1999-12-08 09:19:37 +00:00
|
|
|
# ATA and ATAPI devices
|
2000-01-08 15:59:12 +00:00
|
|
|
device ata0 at isa? port IO_WD1 irq 14
|
|
|
|
device ata1 at isa? port IO_WD2 irq 15
|
2000-01-23 12:18:53 +00:00
|
|
|
device ata
|
|
|
|
device atadisk # ATA disk drives
|
|
|
|
device atapicd # ATAPI CDROM drives
|
|
|
|
device atapifd # ATAPI floppy drives
|
|
|
|
device atapist # ATAPI tape drives
|
1999-12-08 09:19:37 +00:00
|
|
|
options ATA_STATIC_ID #Static device numbering
|
1999-11-27 23:25:17 +00:00
|
|
|
#options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices
|
|
|
|
|
1999-06-29 18:55:53 +00:00
|
|
|
# SCSI Controllers
|
2000-01-23 12:18:53 +00:00
|
|
|
device ahb # EISA AHA1742 family
|
|
|
|
device ahc # AHA2940 and onboard AIC7xxx devices
|
|
|
|
device amd # AMD 53C974 (Teckram DC-390(T))
|
|
|
|
device dpt # DPT Smartcache - See LINT for options!
|
|
|
|
device isp # Qlogic family
|
|
|
|
device ncr # NCR/Symbios Logic
|
|
|
|
device sym # NCR/Symbios Logic (newer chipsets)
|
2000-01-08 15:59:12 +00:00
|
|
|
|
2000-01-24 08:49:24 +00:00
|
|
|
device adv0 at isa?
|
2000-01-23 12:18:53 +00:00
|
|
|
device adw
|
2000-01-24 08:49:24 +00:00
|
|
|
device bt0 at isa?
|
|
|
|
device aha0 at isa?
|
|
|
|
device aic0 at isa?
|
1995-01-14 02:39:22 +00:00
|
|
|
|
1999-06-29 18:55:53 +00:00
|
|
|
# SCSI peripherals
|
2000-01-23 12:18:53 +00:00
|
|
|
device scbus # SCSI bus (required)
|
|
|
|
device da # Direct Access (disks)
|
|
|
|
device sa # Sequential Access (tape etc)
|
|
|
|
device cd # CD
|
|
|
|
device pass # Passthrough device (direct SCSI access)
|
1994-10-17 21:10:20 +00:00
|
|
|
|
1999-12-02 02:53:08 +00:00
|
|
|
# RAID controllers
|
2000-03-09 16:32:56 +00:00
|
|
|
device ida # Compaq Smart RAID
|
2000-01-23 12:18:53 +00:00
|
|
|
device amr # AMI MegaRAID
|
|
|
|
device mlx # Mylex DAC960 family
|
1999-12-02 02:53:08 +00:00
|
|
|
|
1999-04-19 10:18:34 +00:00
|
|
|
# atkbdc0 controls both the keyboard and the PS/2 mouse
|
2000-01-08 15:59:12 +00:00
|
|
|
device atkbdc0 at isa? port IO_KBD
|
2000-05-12 03:05:35 +00:00
|
|
|
device atkbd0 at atkbdc? irq 1 flags 0x1
|
1999-04-24 16:04:16 +00:00
|
|
|
device psm0 at atkbdc? irq 12
|
1999-01-11 03:18:56 +00:00
|
|
|
|
2000-01-29 18:07:07 +00:00
|
|
|
device vga0 at isa?
|
1999-01-11 03:18:56 +00:00
|
|
|
|
|
|
|
# splash screen/screen saver
|
|
|
|
pseudo-device splash
|
|
|
|
|
1999-01-01 08:09:58 +00:00
|
|
|
# syscons is the default console driver, resembling an SCO console
|
2000-05-12 03:05:35 +00:00
|
|
|
device sc0 at isa? flags 0x100
|
1999-04-24 21:45:44 +00:00
|
|
|
|
2000-04-04 13:14:43 +00:00
|
|
|
# Enable this for the pcvt (VT220 compatible) console driver
|
1999-04-24 16:04:16 +00:00
|
|
|
#device vt0 at isa?
|
2000-02-16 04:27:04 +00:00
|
|
|
#options XSERVER # support for X server on a vt console
|
1999-06-29 18:55:53 +00:00
|
|
|
#options FAT_CURSOR # start with block cursor
|
1999-01-01 08:09:58 +00:00
|
|
|
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
|
1999-06-29 18:55:53 +00:00
|
|
|
#options PCVT_SCANSET=2 # IBM keyboards are non-std
|
1995-02-15 20:38:36 +00:00
|
|
|
|
1999-06-29 18:55:53 +00:00
|
|
|
# Floating point support - do not disable.
|
1999-04-16 21:22:55 +00:00
|
|
|
device npx0 at nexus? port IO_NPX irq 13
|
1994-10-17 21:10:20 +00:00
|
|
|
|
1999-06-29 18:55:53 +00:00
|
|
|
# Power management support (see LINT for more options)
|
1999-12-02 03:13:11 +00:00
|
|
|
device apm0 at nexus? disable flags 0x20 # Advanced Power Management
|
1997-03-29 11:07:12 +00:00
|
|
|
|
1996-05-13 04:29:14 +00:00
|
|
|
# PCCARD (PCMCIA) support
|
2000-01-23 12:18:53 +00:00
|
|
|
device card
|
2000-01-10 02:29:23 +00:00
|
|
|
device pcic0 at isa? irq 10 port 0x3e0 iomem 0xd0000
|
|
|
|
device pcic1 at isa? irq 11 port 0x3e2 iomem 0xd4000 disable
|
1996-04-22 19:40:28 +00:00
|
|
|
|
1999-06-29 18:55:53 +00:00
|
|
|
# Serial (COM) ports
|
1999-04-24 21:45:44 +00:00
|
|
|
device sio0 at isa? port IO_COM1 flags 0x10 irq 4
|
|
|
|
device sio1 at isa? port IO_COM2 irq 3
|
|
|
|
device sio2 at isa? disable port IO_COM3 irq 5
|
|
|
|
device sio3 at isa? disable port IO_COM4 irq 9
|
1994-10-17 21:10:20 +00:00
|
|
|
|
1999-02-11 06:07:27 +00:00
|
|
|
# Parallel port
|
2000-01-24 08:49:24 +00:00
|
|
|
device ppc0 at isa? irq 7
|
2000-01-23 18:30:35 +00:00
|
|
|
device ppbus # Parallel port bus (required)
|
|
|
|
device lpt # Printer
|
|
|
|
device plip # TCP/IP over parallel
|
|
|
|
device ppi # Parallel port interface device
|
|
|
|
#device vpo # Requires scbus and da
|
1999-06-29 18:55:53 +00:00
|
|
|
|
1999-08-21 18:34:58 +00:00
|
|
|
|
1999-06-29 18:55:53 +00:00
|
|
|
# PCI Ethernet NICs.
|
2000-01-23 12:18:53 +00:00
|
|
|
device de # DEC/Intel DC21x4x (``Tulip'')
|
|
|
|
device fxp # Intel EtherExpress PRO/100B (82557, 82558)
|
|
|
|
device tx # SMC 9432TX (83c170 ``EPIC'')
|
|
|
|
device vx # 3Com 3c590, 3c595 (``Vortex'')
|
|
|
|
device wx # Intel Gigabit Ethernet Card (``Wiseman'')
|
1999-09-09 18:30:58 +00:00
|
|
|
|
|
|
|
# PCI Ethernet NICs that use the common MII bus controller code.
|
2000-01-23 12:18:53 +00:00
|
|
|
device miibus # MII bus support
|
|
|
|
device dc # DEC/Intel 21143 and various workalikes
|
|
|
|
device rl # RealTek 8129/8139
|
|
|
|
device sf # Adaptec AIC-6915 (``Starfire'')
|
|
|
|
device sis # Silicon Integrated Systems SiS 900/SiS 7016
|
|
|
|
device ste # Sundance ST201 (D-Link DFE-550TX)
|
|
|
|
device tl # Texas Instruments ThunderLAN
|
|
|
|
device vr # VIA Rhine, Rhine II
|
|
|
|
device wb # Winbond W89C840F
|
|
|
|
device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'')
|
1999-06-29 18:55:53 +00:00
|
|
|
|
|
|
|
# ISA Ethernet NICs.
|
|
|
|
device ed0 at isa? port 0x280 irq 10 iomem 0xd8000
|
2000-01-23 12:18:53 +00:00
|
|
|
device ex
|
|
|
|
device ep
|
2000-05-03 00:49:57 +00:00
|
|
|
device cs0 at isa? port 0x300
|
|
|
|
device sn0 at isa? port 0x300 irq 10
|
1999-12-23 05:32:53 +00:00
|
|
|
# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
|
1999-12-19 17:12:19 +00:00
|
|
|
# exists only as a PCMCIA device, so there is no ISA attatement needed
|
|
|
|
# and resources will always be dynamically assigned by the pccard code.
|
2000-01-23 12:18:53 +00:00
|
|
|
device wi
|
2000-01-14 20:41:03 +00:00
|
|
|
# Aironet 4500/4800 802.11 wireless NICs. Note: the declaration below will
|
|
|
|
# work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP
|
|
|
|
# mode (the factory default). If you set the switches on your ISA
|
|
|
|
# card for a manually chosen I/O address and IRQ, you must specify
|
|
|
|
# those paremeters here.
|
2000-01-23 12:18:53 +00:00
|
|
|
device an
|
2000-04-06 02:48:48 +00:00
|
|
|
# BayStack 660 and others
|
|
|
|
device awi
|
2000-05-03 00:49:57 +00:00
|
|
|
# Xircom pccard ethernet
|
|
|
|
device xe
|
1999-10-27 06:30:10 +00:00
|
|
|
# The probe order of these is presently determined by i386/isa/isa_compat.c.
|
|
|
|
device ie0 at isa? port 0x300 irq 10 iomem 0xd0000
|
2000-01-24 08:49:24 +00:00
|
|
|
device fe0 at isa? port 0x300
|
1999-06-29 18:55:53 +00:00
|
|
|
device le0 at isa? port 0x300 irq 5 iomem 0xd0000
|
|
|
|
device lnc0 at isa? port 0x280 irq 10 drq 0
|
|
|
|
|
|
|
|
# Pseudo devices - the number indicates how many units to allocated.
|
|
|
|
pseudo-device loop # Network loopback
|
|
|
|
pseudo-device ether # Ethernet support
|
2000-05-30 23:01:37 +00:00
|
|
|
pseudo-device sl # Kernel SLIP
|
1999-06-29 18:55:53 +00:00
|
|
|
pseudo-device ppp 1 # Kernel PPP
|
1999-09-01 09:01:54 +00:00
|
|
|
pseudo-device tun # Packet tunnel.
|
1999-08-08 19:28:59 +00:00
|
|
|
pseudo-device pty # Pseudo-ttys (telnet etc)
|
1999-11-26 20:08:44 +00:00
|
|
|
pseudo-device md # Memory "disks"
|
2000-02-27 07:35:42 +00:00
|
|
|
pseudo-device gif 4 # IPv6 and IPv4 tunneling
|
|
|
|
pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation)
|
1996-06-30 09:39:29 +00:00
|
|
|
|
1999-07-06 19:23:32 +00:00
|
|
|
# The `bpf' pseudo-device enables the Berkeley Packet Filter.
|
1999-08-07 01:42:08 +00:00
|
|
|
# Be aware of the administrative consequences of enabling this!
|
2000-03-21 17:00:58 +00:00
|
|
|
pseudo-device bpf # Berkeley packet filter
|
1998-11-26 23:13:13 +00:00
|
|
|
|
|
|
|
# USB support
|
2000-05-12 03:05:35 +00:00
|
|
|
device uhci # UHCI PCI->USB interface
|
|
|
|
device ohci # OHCI PCI->USB interface
|
|
|
|
device usb # USB Bus (required)
|
2000-05-01 22:48:23 +00:00
|
|
|
#device udbp # USB Double Bulk Pipe devices
|
2000-05-12 03:05:35 +00:00
|
|
|
device ugen # Generic
|
|
|
|
device uhid # "Human Interface Devices"
|
|
|
|
device ukbd # Keyboard
|
|
|
|
device ulpt # Printer
|
|
|
|
device umass # Disks/Mass storage - Requires scbus and da
|
|
|
|
device ums # Mouse
|
|
|
|
device urio # Diamond Rio 500 MP3 player
|
2000-02-20 14:41:54 +00:00
|
|
|
# USB Ethernet, requires mii
|
2000-05-12 03:05:35 +00:00
|
|
|
device aue # ADMtek USB ethernet
|
|
|
|
device cue # CATC USB ethernet
|
|
|
|
device kue # Kawasaki LSI USB ethernet
|