1994-10-17 17:10:20 -04:00
|
|
|
#
|
1994-11-02 20:46:59 -05:00
|
|
|
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
|
1994-10-17 17:10:20 -04:00
|
|
|
#
|
1996-08-27 12:25:53 -04:00
|
|
|
# For more information read the handbook part System Administration ->
|
|
|
|
|
# Configuring the FreeBSD Kernel -> The Configuration File.
|
|
|
|
|
# The handbook is available in /usr/share/doc/handbook or online as
|
|
|
|
|
# latest version from the FreeBSD World Wide Web server
|
|
|
|
|
# <URL:http://www.FreeBSD.ORG/>
|
1994-10-17 17:10:20 -04:00
|
|
|
#
|
1996-08-27 12:25:53 -04:00
|
|
|
# An exhaustive list of options and more detailed explanations of the
|
|
|
|
|
# device lines is present in the ./LINT configuration file. If you are
|
|
|
|
|
# in doubt as to the purpose or necessity of a line, check first in LINT.
|
|
|
|
|
#
|
1998-07-20 16:00:43 -04:00
|
|
|
# $Id: GENERIC,v 1.111 1998/07/17 06:45:26 joerg Exp $
|
1994-10-17 17:10:20 -04:00
|
|
|
|
|
|
|
|
machine "i386"
|
|
|
|
|
cpu "I386_CPU"
|
|
|
|
|
cpu "I486_CPU"
|
|
|
|
|
cpu "I586_CPU"
|
1995-12-24 03:11:46 -05:00
|
|
|
cpu "I686_CPU"
|
1994-10-17 17:10:20 -04:00
|
|
|
ident GENERIC
|
|
|
|
|
maxusers 10
|
|
|
|
|
|
1997-09-21 20:37:08 -04:00
|
|
|
options MATH_EMULATE #Support for x87 emulation
|
1994-10-17 17:10:20 -04:00
|
|
|
options INET #InterNETworking
|
1994-11-05 02:38:50 -05:00
|
|
|
options FFS #Berkeley Fast Filesystem
|
|
|
|
|
options NFS #Network Filesystem
|
|
|
|
|
options MSDOSFS #MSDOS Filesystem
|
1994-11-05 02:41:08 -05:00
|
|
|
options "CD9660" #ISO 9660 Filesystem
|
1998-01-23 21:54:56 -05:00
|
|
|
options "CD9660_ROOT" #CD-ROM usable as root device
|
|
|
|
|
options FFS_ROOT #FFS usable as root device [keep this!]
|
|
|
|
|
options NFS_ROOT #NFS usable as root device
|
1994-10-17 17:10:20 -04:00
|
|
|
options PROCFS #Process filesystem
|
1995-12-28 21:04:20 -05:00
|
|
|
options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!]
|
1995-12-14 09:35:36 -05:00
|
|
|
options SCSI_DELAY=15 #Be pessimistic about Joe SCSI device
|
1994-10-17 17:10:20 -04:00
|
|
|
options BOUNCE_BUFFERS #include support for DMA bounce buffers
|
1995-01-13 21:39:22 -05:00
|
|
|
options UCONSOLE #Allow users to grab the console
|
1996-03-11 13:47:39 -05:00
|
|
|
options FAILSAFE #Be conservative
|
1996-09-11 15:53:45 -04:00
|
|
|
options USERCONFIG #boot -c editor
|
|
|
|
|
options VISUAL_USERCONFIG #visual boot -c editor
|
1994-10-17 17:10:20 -04:00
|
|
|
|
1995-12-10 17:14:15 -05:00
|
|
|
config kernel root on wd0
|
1994-10-17 17:10:20 -04:00
|
|
|
|
|
|
|
|
controller isa0
|
1995-11-05 12:02:54 -05:00
|
|
|
controller eisa0
|
1994-10-17 17:10:20 -04:00
|
|
|
controller pci0
|
|
|
|
|
|
|
|
|
|
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
|
1998-07-17 02:45:26 -04:00
|
|
|
# Unless you know very well what you're doing, leave ft0 at drive 2, or
|
|
|
|
|
# remove the line entirely if you don't need it. Trying to configure
|
|
|
|
|
# it on another unit might cause surprises, see PR kern/7176.
|
1994-11-10 18:46:31 -05:00
|
|
|
tape ft0 at fdc0 drive 2
|
1994-10-17 17:10:20 -04:00
|
|
|
|
1997-03-13 14:03:58 -05:00
|
|
|
options "CMD640" # work around CMD640 chip deficiency
|
1994-10-17 17:10:20 -04:00
|
|
|
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? port "IO_WD2" bio irq 15 vector wdintr
|
|
|
|
|
disk wd2 at wdc1 drive 0
|
|
|
|
|
disk wd3 at wdc1 drive 1
|
|
|
|
|
|
1997-09-21 20:37:08 -04:00
|
|
|
options ATAPI #Enable ATAPI support for IDE bus
|
|
|
|
|
options ATAPI_STATIC #Don't do it as an LKM
|
1998-01-16 17:13:07 -05:00
|
|
|
device wcd0 #IDE CD-ROM
|
|
|
|
|
device wfd0 #IDE Floppy (e.g. LS-120)
|
1995-08-18 07:26:35 -04:00
|
|
|
|
1996-12-20 21:09:04 -05:00
|
|
|
# A single entry for any of these controllers (ncr, ahb, ahc, amd) is
|
|
|
|
|
# sufficient for any number of installed devices.
|
1994-10-17 17:10:20 -04:00
|
|
|
controller ncr0
|
1996-12-20 21:09:04 -05:00
|
|
|
controller amd0
|
1995-11-09 17:47:05 -05:00
|
|
|
controller ahb0
|
1995-01-12 21:23:27 -05:00
|
|
|
controller ahc0
|
1998-04-22 14:18:16 -04:00
|
|
|
controller isp0
|
1994-10-17 17:10:20 -04:00
|
|
|
|
1998-06-03 09:33:34 -04:00
|
|
|
# This controller offers a number of configuration options, too many to
|
|
|
|
|
# document here - see the LINT file in this directory and look up the
|
|
|
|
|
# dpt0 entry there for much fuller documentation on this. The options
|
|
|
|
|
# line following dpt0 here is also currently a *required* option for it.
|
|
|
|
|
controller dpt0
|
|
|
|
|
options DPT_MEASURE_PERFORMANCE
|
|
|
|
|
|
1995-12-12 03:46:40 -05:00
|
|
|
controller bt0 at isa? port "IO_BT0" bio irq ? vector bt_isa_intr
|
1994-11-17 15:20:54 -05:00
|
|
|
controller uha0 at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr
|
1994-10-19 20:53:30 -04:00
|
|
|
controller aha0 at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr
|
1995-12-10 17:14:15 -05:00
|
|
|
controller aic0 at isa? port 0x340 bio irq 11 vector aicintr
|
1995-01-27 02:49:19 -05:00
|
|
|
controller nca0 at isa? port 0x1f88 bio irq 10 vector ncaintr
|
|
|
|
|
controller nca1 at isa? port 0x350 bio irq 5 vector ncaintr
|
1994-10-24 18:18:12 -04:00
|
|
|
controller sea0 at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr
|
1995-01-13 21:39:22 -05:00
|
|
|
|
1994-10-17 17:10:20 -04:00
|
|
|
controller scbus0
|
|
|
|
|
|
|
|
|
|
device sd0
|
|
|
|
|
|
1996-06-16 16:04:47 -04:00
|
|
|
device od0 #See LINT for possible `od' options.
|
1995-10-31 12:00:03 -05:00
|
|
|
|
1994-10-17 17:10:20 -04:00
|
|
|
device st0
|
|
|
|
|
|
|
|
|
|
device cd0 #Only need one of these, the code dynamically grows
|
|
|
|
|
|
|
|
|
|
device wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr
|
|
|
|
|
device mcd0 at isa? port 0x300 bio irq 10 vector mcdintr
|
|
|
|
|
|
1995-10-25 12:43:01 -04:00
|
|
|
controller matcd0 at isa? port 0x230 bio
|
1995-03-01 23:07:03 -05:00
|
|
|
|
1995-01-28 00:01:43 -05:00
|
|
|
device scd0 at isa? port 0x230 bio
|
|
|
|
|
|
1995-02-15 15:38:36 -05:00
|
|
|
# syscons is the default console driver, resembling an SCO console
|
1994-10-17 17:10:20 -04:00
|
|
|
device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
|
1995-02-15 15:38:36 -05:00
|
|
|
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
|
|
|
|
|
#device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint
|
1997-06-06 08:24:43 -04:00
|
|
|
#options XSERVER # support for X server
|
1995-12-10 17:14:15 -05:00
|
|
|
#options FAT_CURSOR # start with block cursor
|
1995-11-29 15:07:49 -05:00
|
|
|
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
|
1995-12-14 09:35:36 -05:00
|
|
|
#options PCVT_SCANSET=2 # IBM keyboards are non-std
|
1995-02-15 15:38:36 -05:00
|
|
|
|
1994-10-17 17:10:20 -04:00
|
|
|
device npx0 at isa? port "IO_NPX" irq 13 vector npxintr
|
|
|
|
|
|
1996-04-22 15:40:28 -04:00
|
|
|
#
|
|
|
|
|
# Laptop support (see LINT for more options)
|
|
|
|
|
#
|
1997-03-29 06:07:12 -05:00
|
|
|
device apm0 at isa? disable flags 0x31 # Advanced Power Management
|
|
|
|
|
|
1996-05-13 00:29:14 -04:00
|
|
|
# PCCARD (PCMCIA) support
|
1997-10-26 00:36:24 -04:00
|
|
|
#controller card0
|
|
|
|
|
#device pcic0 at card?
|
|
|
|
|
#device pcic1 at card?
|
1996-04-22 15:40:28 -04:00
|
|
|
|
1997-09-14 14:57:01 -04:00
|
|
|
device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 vector siointr
|
1994-10-17 17:10:20 -04:00
|
|
|
device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr
|
1996-07-11 07:18:45 -04:00
|
|
|
device sio2 at isa? disable port "IO_COM3" tty irq 5 vector siointr
|
|
|
|
|
device sio3 at isa? disable port "IO_COM4" tty irq 9 vector siointr
|
1994-10-17 17:10:20 -04:00
|
|
|
|
|
|
|
|
device lpt0 at isa? port? tty irq 7 vector lptintr
|
|
|
|
|
device lpt1 at isa? port? tty
|
1997-09-21 20:37:08 -04:00
|
|
|
device mse0 at isa? port 0x23c tty irq 5 vector mseintr
|
1994-10-17 17:10:20 -04:00
|
|
|
|
1997-10-08 13:05:03 -04:00
|
|
|
device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr
|
1996-04-18 00:02:30 -04:00
|
|
|
|
1995-06-11 15:33:05 -04:00
|
|
|
# Order is important here due to intrusive probes, do *not* alphabetize
|
|
|
|
|
# this list of network interfaces until the probes have been fixed.
|
|
|
|
|
# Right now it appears that the ie0 must be probed before ep0. See
|
|
|
|
|
# revision 1.20 of this file.
|
1997-09-21 20:37:08 -04:00
|
|
|
device de0
|
|
|
|
|
device fxp0
|
1998-05-20 23:22:20 -04:00
|
|
|
device tl0
|
1998-01-21 13:34:47 -05:00
|
|
|
device tx0
|
1997-09-21 20:37:08 -04:00
|
|
|
device vx0
|
1996-03-20 05:42:56 -05:00
|
|
|
|
1997-09-21 20:37:08 -04:00
|
|
|
device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000 vector edintr
|
|
|
|
|
device ie0 at isa? port 0x300 net irq 10 iomem 0xd0000 vector ieintr
|
1995-06-11 15:33:05 -04:00
|
|
|
device ep0 at isa? port 0x300 net irq 10 vector epintr
|
1997-09-21 20:37:08 -04:00
|
|
|
device ex0 at isa? port? net irq? vector exintr
|
|
|
|
|
device fe0 at isa? port 0x300 net irq ? vector feintr
|
|
|
|
|
device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr
|
|
|
|
|
device lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr
|
|
|
|
|
device ze0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zeintr
|
|
|
|
|
device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr
|
1998-07-20 16:00:43 -04:00
|
|
|
device cs0 at isa? port 0x300 net irq ? vector csintr
|
1994-10-17 17:10:20 -04:00
|
|
|
|
|
|
|
|
pseudo-device loop
|
|
|
|
|
pseudo-device ether
|
1995-02-09 06:21:07 -05:00
|
|
|
pseudo-device sl 1
|
1998-01-10 21:16:38 -05:00
|
|
|
pseudo-device ppp 1
|
1995-06-11 15:33:05 -04:00
|
|
|
pseudo-device tun 1
|
1994-10-17 17:10:20 -04:00
|
|
|
pseudo-device pty 16
|
|
|
|
|
pseudo-device gzip # Exec gzipped a.out's
|
1996-06-30 05:39:29 -04:00
|
|
|
|
|
|
|
|
# KTRACE enables the system-call tracing facility ktrace(2).
|
|
|
|
|
# This adds 4 KB bloat to your kernel, and slightly increases
|
|
|
|
|
# the costs of each syscall.
|
|
|
|
|
options KTRACE #kernel tracing
|
|
|
|
|
|
1997-07-15 00:04:45 -04:00
|
|
|
# This provides support for System V shared memory.
|
|
|
|
|
#
|
|
|
|
|
options SYSVSHM
|