1994-10-17 21:10:20 +00:00
|
|
|
#
|
1994-11-03 01:46:59 +00:00
|
|
|
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
|
1994-10-17 21:10:20 +00:00
|
|
|
#
|
1996-08-27 16:25:53 +00: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 21:10:20 +00:00
|
|
|
#
|
1996-08-27 16:25:53 +00: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.
|
|
|
|
#
|
1999-02-18 01:13:40 +00:00
|
|
|
# $Id: GENERIC,v 1.150 1999/02/14 20:28:38 jkh Exp $
|
1994-10-17 21:10:20 +00:00
|
|
|
|
|
|
|
machine "i386"
|
|
|
|
cpu "I386_CPU"
|
|
|
|
cpu "I486_CPU"
|
|
|
|
cpu "I586_CPU"
|
1995-12-24 08:11:46 +00:00
|
|
|
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
|
|
|
|
1997-09-22 00:37:08 +00:00
|
|
|
options MATH_EMULATE #Support for x87 emulation
|
1994-10-17 21:10:20 +00:00
|
|
|
options INET #InterNETworking
|
1994-11-05 07:38:50 +00:00
|
|
|
options FFS #Berkeley Fast Filesystem
|
1998-10-05 07:45:54 +00:00
|
|
|
options FFS_ROOT #FFS usable as root device [keep this!]
|
1998-10-10 08:13:58 +00:00
|
|
|
options MFS #Memory Filesystem
|
|
|
|
options MFS_ROOT #MFS usable as root device, "MFS" req'ed
|
1994-11-05 07:38:50 +00:00
|
|
|
options NFS #Network Filesystem
|
1998-10-05 07:45:54 +00:00
|
|
|
options NFS_ROOT #NFS usable as root device, "NFS" req'ed
|
1994-11-05 07:38:50 +00:00
|
|
|
options MSDOSFS #MSDOS Filesystem
|
1998-10-07 13:51:46 +00:00
|
|
|
options "CD9660" #ISO 9660 Filesystem
|
|
|
|
options "CD9660_ROOT" #CD-ROM usable as root. "CD9660" req'ed
|
1994-10-17 21:10:20 +00:00
|
|
|
options PROCFS #Process filesystem
|
1995-12-29 02:04:20 +00:00
|
|
|
options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!]
|
1998-09-15 10:01:14 +00:00
|
|
|
options SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device
|
1995-01-14 02:39:22 +00:00
|
|
|
options UCONSOLE #Allow users to grab the console
|
1996-03-11 18:47:39 +00:00
|
|
|
options FAILSAFE #Be conservative
|
1996-09-11 19:53:45 +00:00
|
|
|
options USERCONFIG #boot -c editor
|
|
|
|
options VISUAL_USERCONFIG #visual boot -c editor
|
1994-10-17 21:10:20 +00:00
|
|
|
|
1995-12-10 22:14:15 +00:00
|
|
|
config kernel root on wd0
|
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
|
|
|
|
#options SMP # Symmetric MultiProcessor Kernel
|
|
|
|
#options APIC_IO # Symmetric (APIC) I/O
|
|
|
|
# Optionally these may need tweaked, (defaults shown):
|
|
|
|
#options NCPU=2 # number of CPUs
|
|
|
|
#options NBUS=4 # number of busses
|
|
|
|
#options NAPIC=1 # number of IO APICs
|
|
|
|
#options NINTR=24 # number of INTs
|
|
|
|
|
1994-10-17 21:10:20 +00:00
|
|
|
controller isa0
|
1999-01-27 15:34:25 +00:00
|
|
|
controller pnp0 # PnP support for ISA
|
1995-11-05 17:02:54 +00:00
|
|
|
controller eisa0
|
1994-10-17 21:10:20 +00:00
|
|
|
controller pci0
|
|
|
|
|
1998-10-22 12:23:04 +00:00
|
|
|
controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2
|
1994-10-17 21:10:20 +00:00
|
|
|
disk fd0 at fdc0 drive 0
|
|
|
|
disk fd1 at fdc0 drive 1
|
|
|
|
|
1997-03-13 19:03:58 +00:00
|
|
|
options "CMD640" # work around CMD640 chip deficiency
|
1998-10-22 12:23:04 +00:00
|
|
|
controller wdc0 at isa? port "IO_WD1" bio irq 14
|
1994-10-17 21:10:20 +00:00
|
|
|
disk wd0 at wdc0 drive 0
|
|
|
|
disk wd1 at wdc0 drive 1
|
|
|
|
|
1998-10-22 12:23:04 +00:00
|
|
|
controller wdc1 at isa? port "IO_WD2" bio irq 15
|
1994-10-17 21:10:20 +00:00
|
|
|
disk wd2 at wdc1 drive 0
|
|
|
|
disk wd3 at wdc1 drive 1
|
|
|
|
|
1997-09-22 00:37:08 +00:00
|
|
|
options ATAPI #Enable ATAPI support for IDE bus
|
|
|
|
options ATAPI_STATIC #Don't do it as an LKM
|
1998-12-27 13:55:48 +00:00
|
|
|
device acd0 #IDE CD-ROM
|
1998-01-16 22:13:07 +00:00
|
|
|
device wfd0 #IDE Floppy (e.g. LS-120)
|
1995-08-18 11:26:35 +00:00
|
|
|
|
1998-11-12 11:29:28 +00:00
|
|
|
# A single entry for any of these controllers (ncr, ahb, ahc) is
|
1996-12-21 02:09:04 +00:00
|
|
|
# sufficient for any number of installed devices.
|
1994-10-17 21:10:20 +00:00
|
|
|
controller ncr0
|
1995-11-09 22:47:05 +00:00
|
|
|
controller ahb0
|
1995-01-13 02:23:27 +00:00
|
|
|
controller ahc0
|
1998-04-22 18:18:16 +00:00
|
|
|
controller isp0
|
1994-10-17 21:10:20 +00:00
|
|
|
|
1998-06-03 13:33:34 +00: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
|
1998-10-03 17:09:00 +00:00
|
|
|
# dpt0 entry there for much fuller documentation on this.
|
|
|
|
controller dpt0
|
1998-09-15 10:01:14 +00:00
|
|
|
|
|
|
|
controller adv0 at isa? port ? cam irq ?
|
1998-10-07 03:42:44 +00:00
|
|
|
controller adw0
|
1998-09-15 10:01:14 +00:00
|
|
|
controller bt0 at isa? port ? cam irq ?
|
|
|
|
controller aha0 at isa? port ? cam irq ?
|
1998-10-22 12:23:04 +00:00
|
|
|
#controller aic0 at isa? port 0x340 bio irq 11
|
1995-01-14 02:39:22 +00:00
|
|
|
|
1994-10-17 21:10:20 +00:00
|
|
|
controller scbus0
|
|
|
|
|
1998-09-15 10:01:14 +00:00
|
|
|
device da0
|
1994-10-17 21:10:20 +00:00
|
|
|
|
1998-09-15 10:01:14 +00:00
|
|
|
device sa0
|
1995-10-31 17:00:03 +00:00
|
|
|
|
1998-09-15 10:01:14 +00:00
|
|
|
device pass0
|
1994-10-17 21:10:20 +00:00
|
|
|
|
|
|
|
device cd0 #Only need one of these, the code dynamically grows
|
|
|
|
|
1998-10-22 12:23:04 +00:00
|
|
|
device wt0 at isa? port 0x300 bio irq 5 drq 1
|
|
|
|
device mcd0 at isa? port 0x300 bio irq 10
|
1994-10-17 21:10:20 +00:00
|
|
|
|
1995-10-25 16:43:01 +00:00
|
|
|
controller matcd0 at isa? port 0x230 bio
|
1995-03-02 04:07:03 +00:00
|
|
|
|
1995-01-28 05:01:43 +00:00
|
|
|
device scd0 at isa? port 0x230 bio
|
|
|
|
|
1999-01-11 03:18:56 +00:00
|
|
|
# atkbdc0 controlls both the keyboard and the PS/2 mouse
|
|
|
|
controller atkbdc0 at isa? port IO_KBD tty
|
|
|
|
device atkbd0 at isa? tty irq 1
|
|
|
|
device psm0 at isa? tty irq 12
|
|
|
|
|
|
|
|
device vga0 at isa? port ? conflicts
|
|
|
|
|
|
|
|
# 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
|
1999-01-11 03:18:56 +00:00
|
|
|
device sc0 at isa? tty
|
1999-01-01 08:09:58 +00:00
|
|
|
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
|
1999-01-11 03:18:56 +00:00
|
|
|
#device vt0 at isa? tty
|
1999-01-01 08:09:58 +00:00
|
|
|
#options XSERVER # support for X server
|
|
|
|
#options FAT_CURSOR # start with block cursor
|
|
|
|
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
|
|
|
|
#options PCVT_SCANSET=2 # IBM keyboards are non-std
|
1995-02-15 20:38:36 +00:00
|
|
|
|
1998-10-22 13:49:51 +00:00
|
|
|
device npx0 at isa? port IO_NPX irq 13
|
1994-10-17 21:10:20 +00:00
|
|
|
|
1996-04-22 19:40:28 +00:00
|
|
|
#
|
|
|
|
# Laptop support (see LINT for more options)
|
|
|
|
#
|
1997-03-29 11:07:12 +00:00
|
|
|
device apm0 at isa? disable flags 0x31 # Advanced Power Management
|
|
|
|
|
1996-05-13 04:29:14 +00:00
|
|
|
# PCCARD (PCMCIA) support
|
1997-10-26 04:36:24 +00:00
|
|
|
#controller card0
|
|
|
|
#device pcic0 at card?
|
|
|
|
#device pcic1 at card?
|
1996-04-22 19:40:28 +00:00
|
|
|
|
1998-10-22 12:23:04 +00:00
|
|
|
device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4
|
|
|
|
device sio1 at isa? port "IO_COM2" tty irq 3
|
|
|
|
device sio2 at isa? disable port "IO_COM3" tty irq 5
|
|
|
|
device sio3 at isa? disable port "IO_COM4" tty irq 9
|
1994-10-17 21:10:20 +00:00
|
|
|
|
1999-02-11 06:07:27 +00:00
|
|
|
# Parallel port
|
1999-02-14 12:00:00 +00:00
|
|
|
device ppc0 at isa? port? tty irq 7
|
1999-02-11 06:07:27 +00:00
|
|
|
controller ppbus0
|
1999-02-10 02:18:31 +00:00
|
|
|
device nlpt0 at ppbus?
|
|
|
|
device plip0 at ppbus?
|
|
|
|
device ppi0 at ppbus?
|
|
|
|
#controller vpo0 at ppbus?
|
1994-10-17 21:10:20 +00:00
|
|
|
|
1999-02-18 01:13:40 +00:00
|
|
|
#
|
|
|
|
# The following Ethernet NICs are all PCI devices.
|
|
|
|
#
|
|
|
|
device ax0 # ASIX AX88140A
|
|
|
|
device de0 # DEC/Intel DC21x4x (``Tulip'')
|
|
|
|
device fxp0 # Intel EtherExpress PRO/100B (82557, 82558)
|
|
|
|
device mx0 # Macronix 98713/98715/98725 (``PMAC'')
|
|
|
|
device pn0 # Lite-On 82c168/82c169 (``PNIC'')
|
|
|
|
device rl0 # RealTek 8129/8139
|
|
|
|
device tl0 # Texas Instruments ThunderLAN
|
|
|
|
device tx0 # SMC 9432TX (83c170 ``EPIC'')
|
|
|
|
device vr0 # VIA Rhine, Rhine II
|
|
|
|
device vx0 # 3Com 3c590, 3c595 (``Vortex'')
|
|
|
|
device wb0 # Winbond W89C840F
|
|
|
|
device xl0 # 3Com 3c90x (``Boomerang'', ``Cyclone'')
|
|
|
|
|
1995-06-11 19:33:05 +00: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.
|
1998-10-22 12:23:04 +00:00
|
|
|
device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000
|
|
|
|
device ie0 at isa? port 0x300 net irq 10 iomem 0xd0000
|
|
|
|
device ep0 at isa? port 0x300 net irq 10
|
|
|
|
device ex0 at isa? port? net irq?
|
|
|
|
device fe0 at isa? port 0x300 net irq ?
|
|
|
|
device le0 at isa? port 0x300 net irq 5 iomem 0xd0000
|
|
|
|
device lnc0 at isa? port 0x280 net irq 10 drq 0
|
|
|
|
device ze0 at isa? port 0x300 net irq 10 iomem 0xd8000
|
|
|
|
device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000
|
|
|
|
device cs0 at isa? port 0x300 net irq ?
|
1994-10-17 21:10:20 +00:00
|
|
|
|
|
|
|
pseudo-device loop
|
|
|
|
pseudo-device ether
|
1995-02-09 11:21:07 +00:00
|
|
|
pseudo-device sl 1
|
1998-01-11 02:16:38 +00:00
|
|
|
pseudo-device ppp 1
|
1995-06-11 19:33:05 +00:00
|
|
|
pseudo-device tun 1
|
1994-10-17 21:10:20 +00:00
|
|
|
pseudo-device pty 16
|
|
|
|
pseudo-device gzip # Exec gzipped a.out's
|
1996-06-30 09:39:29 +00: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
|
|
|
|
|
1999-02-14 20:28:38 +00:00
|
|
|
# This provides support for System V shared memory and message queues.
|
1997-07-15 04:04:45 +00:00
|
|
|
#
|
1999-02-14 20:28:38 +00:00
|
|
|
options SYSVSHM
|
|
|
|
options SYSVMSG
|
|
|
|
|
1998-10-16 01:30:11 +00:00
|
|
|
|
1998-11-03 22:01:22 +00:00
|
|
|
# The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be
|
1998-10-16 01:30:11 +00:00
|
|
|
# aware of the legal and administrative consequences of enabling this
|
|
|
|
# option. The number of devices determines the maximum number of
|
|
|
|
# simultaneous BPF clients programs runnable.
|
1998-11-03 22:01:22 +00:00
|
|
|
#pseudo-device bpfilter 4 #Berkeley packet filter
|
1998-11-26 23:13:13 +00:00
|
|
|
|
|
|
|
|
|
|
|
# USB support
|
|
|
|
#controller uhci0
|
1998-12-09 23:28:43 +00:00
|
|
|
#controller ohci0
|
1998-11-26 23:13:13 +00:00
|
|
|
#controller usb0
|
|
|
|
#
|
|
|
|
# for the moment we have to specify the priorities of the device
|
|
|
|
# drivers explicitly by the ordering in the list below. This will
|
|
|
|
# be changed in the future.
|
|
|
|
#
|
|
|
|
#device ums0
|
|
|
|
#device ukbd0
|
|
|
|
#device ulpt0
|
|
|
|
#device uhub0
|
1998-12-13 23:04:35 +00:00
|
|
|
#device ucom0
|
|
|
|
#device umodem0
|
1998-11-26 23:13:13 +00:00
|
|
|
#device hid0
|
|
|
|
#device ugen0
|
1998-12-13 23:04:35 +00:00
|
|
|
|
1998-11-26 23:13:13 +00:00
|
|
|
#
|
|
|
|
#options USB_DEBUG
|
|
|
|
#options USBVERBOSE
|