GENERIC revision 53541
1# 2# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks 3# 4# For more information on this file, please read the handbook section on 5# Kernel Configuration Files: 6# 7# http://www.freebsd.org/handbook/kernelconfig-config.html 8# 9# The handbook is also available locally in /usr/share/doc/handbook 10# if you've installed the doc distribution, otherwise always see the 11# FreeBSD World Wide Web server (http://www.FreeBSD.ORG/) for the 12# latest information. 13# 14# An exhaustive list of options and more detailed explanations of the 15# device lines is also present in the ./LINT configuration file. If you are 16# in doubt as to the purpose or necessity of a line, check first in LINT. 17# 18# $FreeBSD: head/sys/amd64/conf/GENERIC 53541 1999-11-22 02:45:11Z shin $ 19 20machine i386 21cpu I386_CPU 22cpu I486_CPU 23cpu I586_CPU 24cpu I686_CPU 25ident GENERIC 26maxusers 32 27 28#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 29 30options MATH_EMULATE #Support for x87 emulation 31options INET #InterNETworking 32#options "INET6" #IPv6 33options FFS #Berkeley Fast Filesystem 34options FFS_ROOT #FFS usable as root device [keep this!] 35options MFS #Memory Filesystem 36options MFS_ROOT #MFS usable as root device, "MFS" req'ed 37options NFS #Network Filesystem 38options NFS_ROOT #NFS usable as root device, "NFS" req'ed 39options MSDOSFS #MSDOS Filesystem 40options CD9660 #ISO 9660 Filesystem 41options CD9660_ROOT #CD-ROM usable as root. "CD9660" req'ed 42options PROCFS #Process filesystem 43options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] 44options SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device 45options UCONSOLE #Allow users to grab the console 46options USERCONFIG #boot -c editor 47options VISUAL_USERCONFIG #visual boot -c editor 48options KTRACE #ktrace(1) syscall trace support 49options SYSVSHM #SYSV-style shared memory 50options SYSVMSG #SYSV-style message queues 51options SYSVSEM #SYSV-style semaphores 52 53# To make an SMP kernel, the next two are needed 54#options SMP # Symmetric MultiProcessor Kernel 55#options APIC_IO # Symmetric (APIC) I/O 56# Optionally these may need tweaked, (defaults shown): 57#options NCPU=2 # number of CPUs 58#options NBUS=4 # number of busses 59#options NAPIC=1 # number of IO APICs 60#options NINTR=24 # number of INTs 61 62controller isa0 63controller pnp0 # PnP support for ISA 64controller eisa0 65controller pci0 66 67# Floppy drives 68controller fdc0 at isa? port IO_FD1 irq 6 drq 2 69device fd0 at fdc0 drive 0 70device fd1 at fdc0 drive 1 71 72# IDE controller and disks 73controller wdc0 at isa? port IO_WD1 irq 14 74device wd0 at wdc0 drive 0 75device wd1 at wdc0 drive 1 76 77controller wdc1 at isa? port IO_WD2 irq 15 78device wd2 at wdc1 drive 0 79device wd3 at wdc1 drive 1 80 81# ATAPI devices on wdc? 82device wcd0 #IDE CD-ROM 83device wfd0 #IDE Floppy (e.g. LS-120) 84device wst0 #IDE Tape (e.g. Travan) 85 86# SCSI Controllers 87# A single entry for any of these controllers (ncr, ahb, ahc) is 88# sufficient for any number of installed devices. 89controller ncr0 # NCR/Symbios Logic 90controller ahb0 # EISA AHA1742 family 91controller ahc0 # AHA2940 and onboard AIC7xxx devices 92controller amd0 # AMD 53C974 (Teckram DC-390(T)) 93controller isp0 # Qlogic family 94controller dpt0 # DPT Smartcache - See LINT for options! 95 96controller adv0 at isa? port ? irq ? 97controller adw0 98controller bt0 at isa? port ? irq ? 99controller aha0 at isa? port ? irq ? 100 101# SCSI peripherals 102# Only one of each of these is needed, they are dynamically allocated. 103controller scbus0 # SCSI bus (required) 104device da0 # Direct Access (disks) 105device sa0 # Sequential Access (tape etc) 106device cd0 # CD 107device pass0 # Passthrough device (direct SCSI access) 108 109# Proprietary or custom CD-ROM Interfaces 110device wt0 at isa? port 0x300 irq 5 drq 1 111device mcd0 at isa? port 0x300 irq 10 112device matcd0 at isa? port 0x230 113device scd0 at isa? port 0x230 114 115# atkbdc0 controls both the keyboard and the PS/2 mouse 116controller atkbdc0 at isa? port IO_KBD 117device atkbd0 at atkbdc? irq 1 118device psm0 at atkbdc? irq 12 119 120device vga0 at isa? port ? conflicts 121 122# splash screen/screen saver 123pseudo-device splash 124 125# syscons is the default console driver, resembling an SCO console 126device sc0 at isa? 127 128# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver 129#device vt0 at isa? 130#options XSERVER # support for X server 131#options FAT_CURSOR # start with block cursor 132# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines 133#options PCVT_SCANSET=2 # IBM keyboards are non-std 134 135# Floating point support - do not disable. 136device npx0 at nexus? port IO_NPX irq 13 137 138# Power management support (see LINT for more options) 139device apm0 at nexus? disable flags 0x31 # Advanced Power Management 140 141# PCCARD (PCMCIA) support 142#controller card0 143#device pcic0 at isa? 144#device pcic1 at isa? 145 146# Serial (COM) ports 147device sio0 at isa? port IO_COM1 flags 0x10 irq 4 148device sio1 at isa? port IO_COM2 irq 3 149device sio2 at isa? disable port IO_COM3 irq 5 150device sio3 at isa? disable port IO_COM4 irq 9 151 152# Parallel port 153device ppc0 at isa? port? flags 0x40 irq 7 154controller ppbus0 # Parallel port bus (required) 155device lpt0 # Printer 156device plip0 # TCP/IP over parallel 157device ppi0 # Parallel port interface device 158#controller vpo0 # Requires scbus and da0 159 160 161# PCI Ethernet NICs. 162device ax0 # ASIX AX88140A 163device de0 # DEC/Intel DC21x4x (``Tulip'') 164device fxp0 # Intel EtherExpress PRO/100B (82557, 82558) 165device pn0 # Lite-On 82c168/82c169 (``PNIC'') 166device tx0 # SMC 9432TX (83c170 ``EPIC'') 167device vx0 # 3Com 3c590, 3c595 (``Vortex'') 168 169# PCI Ethernet NICs that use the common MII bus controller code. 170controller miibus0 # MII bus support 171device al0 # ADMtek AL981/AN985 (``Comet''/``Centaur'') 172device dm0 # Davicom DM9100/DM9102 173device mx0 # Macronix 98713/98715/98725 (``PMAC'') 174device rl0 # RealTek 8129/8139 175device sf0 # Adaptec AIC-6915 (``Starfire'') 176device sis0 # Silicon Integrated Systems SiS 900/SiS 7016 177device ste0 # Sundance ST201 (D-Link DFE-550TX) 178device tl0 # Texas Instruments ThunderLAN 179device vr0 # VIA Rhine, Rhine II 180device wb0 # Winbond W89C840F 181device xl0 # 3Com 3c90x (``Boomerang'', ``Cyclone'') 182 183# ISA Ethernet NICs. 184device ed0 at isa? port 0x280 irq 10 iomem 0xd8000 185device ex0 at isa? port? irq? 186device ep0 187# The probe order of these is presently determined by i386/isa/isa_compat.c. 188device ie0 at isa? port 0x300 irq 10 iomem 0xd0000 189device fe0 at isa? port 0x300 irq ? 190device le0 at isa? port 0x300 irq 5 iomem 0xd0000 191device lnc0 at isa? port 0x280 irq 10 drq 0 192device cs0 at isa? port 0x300 irq ? 193# requires PCCARD (PCMCIA) support to be activated 194#device xe0 at isa? port? irq ? 195 196# PCCARD NIC drivers. 197# ze and zp take over the pcic and cannot coexist with generic pccard 198# support, nor the ed and ep drivers they replace. 199#device ze0 at isa? port 0x300 irq 10 iomem 0xd8000 200#device zp0 at isa? port 0x300 irq 10 iomem 0xd8000 201 202# Pseudo devices - the number indicates how many units to allocated. 203pseudo-device loop # Network loopback 204pseudo-device ether # Ethernet support 205pseudo-device sl 1 # Kernel SLIP 206pseudo-device ppp 1 # Kernel PPP 207pseudo-device tun # Packet tunnel. 208pseudo-device pty # Pseudo-ttys (telnet etc) 209pseudo-device gzip # Exec gzipped a.out's 210 211# The `bpf' pseudo-device enables the Berkeley Packet Filter. 212# Be aware of the administrative consequences of enabling this! 213pseudo-device bpf #Berkeley packet filter 214 215# USB support 216#controller uhci0 # UHCI PCI->USB interface 217#controller ohci0 # OHCI PCI->USB interface 218#controller usb0 # USB Bus (required) 219#device ugen0 # Generic 220#device uhid0 # "Human Interface Devices" 221#device ukbd0 # Keyboard 222#device ulpt0 # Printer 223#controller umass0 # Disks/Mass storage - Requires scbus and da0 224#device ums0 # Mouse 225