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.
|
|
|
|
#
|
1996-09-11 19:53:45 +00:00
|
|
|
# $Id: GENERIC,v 1.75 1996/08/27 16:25:53 wosch 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
|
|
|
|
maxusers 10
|
|
|
|
|
|
|
|
options MATH_EMULATE #Support for x87 emulation
|
|
|
|
options INET #InterNETworking
|
1994-11-05 07:38:50 +00:00
|
|
|
options FFS #Berkeley Fast Filesystem
|
|
|
|
options NFS #Network Filesystem
|
|
|
|
options MSDOSFS #MSDOS Filesystem
|
1994-11-05 07:41:08 +00:00
|
|
|
options "CD9660" #ISO 9660 Filesystem
|
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!]
|
1995-12-14 14:35:36 +00:00
|
|
|
options SCSI_DELAY=15 #Be pessimistic about Joe SCSI device
|
1994-10-17 21:10:20 +00:00
|
|
|
options BOUNCE_BUFFERS #include support for DMA bounce buffers
|
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
|
|
|
|
|
|
|
controller isa0
|
1995-11-05 17:02:54 +00:00
|
|
|
controller eisa0
|
1994-10-17 21:10:20 +00: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
|
1994-11-10 23:46:31 +00:00
|
|
|
tape ft0 at fdc0 drive 2
|
1994-10-17 21:10:20 +00: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
|
|
|
|
|
1996-04-29 20:03:41 +00:00
|
|
|
options ATAPI #Enable ATAPI support for IDE bus
|
|
|
|
options ATAPI_STATIC #Don't do it as an LKM
|
1995-12-10 22:14:15 +00:00
|
|
|
device wcd0 #IDE CD-ROM
|
1995-08-18 11:26:35 +00:00
|
|
|
|
1996-01-07 19:19:38 +00:00
|
|
|
# A single entry for any of these controllers (ncr, ahb, ahc) is 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
|
1994-10-17 21:10:20 +00:00
|
|
|
|
1995-12-12 08:46:40 +00:00
|
|
|
controller bt0 at isa? port "IO_BT0" bio irq ? vector bt_isa_intr
|
1994-11-17 20:20:54 +00:00
|
|
|
controller uha0 at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr
|
1994-10-20 00:53:30 +00:00
|
|
|
controller aha0 at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr
|
1995-12-10 22:14:15 +00:00
|
|
|
controller aic0 at isa? port 0x340 bio irq 11 vector aicintr
|
1995-01-27 07:49:19 +00: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 22:18:12 +00:00
|
|
|
controller sea0 at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr
|
1995-01-14 02:39:22 +00:00
|
|
|
|
1994-10-17 21:10:20 +00:00
|
|
|
controller scbus0
|
|
|
|
|
|
|
|
device sd0
|
|
|
|
|
1996-06-16 20:04:47 +00:00
|
|
|
device od0 #See LINT for possible `od' options.
|
1995-10-31 17:00:03 +00:00
|
|
|
|
1994-10-17 21:10:20 +00: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 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
|
|
|
|
|
1995-02-15 20:38:36 +00:00
|
|
|
# syscons is the default console driver, resembling an SCO console
|
1994-10-17 21:10:20 +00:00
|
|
|
device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
|
1995-02-15 20:38:36 +00:00
|
|
|
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
|
|
|
|
#device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint
|
1995-12-14 14:35:36 +00:00
|
|
|
#options PCVT_FREEBSD=210 # pcvt running on FreeBSD >= 2.0.5
|
1995-03-05 22:23:35 +00:00
|
|
|
#options XSERVER # include code for XFree86
|
1995-12-10 22:14:15 +00:00
|
|
|
#options FAT_CURSOR # start with block cursor
|
1995-11-29 20:07:49 +00:00
|
|
|
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
|
1995-12-14 14:35:36 +00:00
|
|
|
#options PCVT_SCANSET=2 # IBM keyboards are non-std
|
1995-02-15 20:38:36 +00:00
|
|
|
|
1996-01-20 06:14:33 +00:00
|
|
|
# Mandatory, don't remove
|
1994-10-17 21:10:20 +00:00
|
|
|
device npx0 at isa? port "IO_NPX" irq 13 vector npxintr
|
|
|
|
|
1996-04-22 19:40:28 +00:00
|
|
|
#
|
|
|
|
# Laptop support (see LINT for more options)
|
|
|
|
#
|
|
|
|
device apm0 at isa? disable # Advanced Power Management
|
|
|
|
options APM_BROKEN_STATCLOCK # Workaround some buggy APM BIOS
|
1996-05-13 04:29:14 +00:00
|
|
|
# PCCARD (PCMCIA) support
|
|
|
|
#controller crd0
|
|
|
|
#device pcic0 at crd?
|
|
|
|
#device pcic1 at crd?
|
1996-04-22 19:40:28 +00:00
|
|
|
|
1994-10-17 21:10:20 +00:00
|
|
|
device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr
|
|
|
|
device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr
|
1996-07-11 11:18:45 +00: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 21:10:20 +00:00
|
|
|
|
|
|
|
device lpt0 at isa? port? tty irq 7 vector lptintr
|
|
|
|
device lpt1 at isa? port? tty
|
1996-04-09 09:00:41 +00:00
|
|
|
device mse0 at isa? port 0x23c tty irq 5 vector mseintr
|
1994-10-17 21:10:20 +00:00
|
|
|
|
1996-04-18 04:02:30 +00:00
|
|
|
device psm0 at isa? disable port "IO_KBD" conflicts tty irq 12 vector psmintr
|
|
|
|
|
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.
|
1994-11-11 05:48:49 +00:00
|
|
|
device de0
|
1995-12-24 08:13:23 +00:00
|
|
|
device fxp0
|
1996-03-20 10:42:56 +00:00
|
|
|
device vx0
|
|
|
|
|
1994-10-17 21:10:20 +00:00
|
|
|
device ed0 at isa? port 0x280 net irq 5 iomem 0xd8000 vector edintr
|
|
|
|
device ed1 at isa? port 0x300 net irq 5 iomem 0xd8000 vector edintr
|
|
|
|
device ie0 at isa? port 0x360 net irq 7 iomem 0xd0000 vector ieintr
|
1995-06-11 19:33:05 +00:00
|
|
|
device ep0 at isa? port 0x300 net irq 10 vector epintr
|
1996-03-17 08:39:51 +00:00
|
|
|
device fe0 at isa? port 0x300 net irq ? vector feintr
|
1995-03-30 00:20:08 +00:00
|
|
|
device ix0 at isa? port 0x300 net irq 10 iomem 0xd0000 iosiz 32768 vector ixintr
|
1995-04-10 19:13:51 +00:00
|
|
|
device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr
|
1995-04-10 19:12:29 +00:00
|
|
|
device lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr
|
1994-11-08 07:39:28 +00:00
|
|
|
device ze0 at isa? port 0x300 net irq 5 iomem 0xd8000 vector zeintr
|
1995-04-08 09:36:04 +00:00
|
|
|
device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr
|
1994-10-17 21:10:20 +00:00
|
|
|
|
|
|
|
pseudo-device loop
|
|
|
|
pseudo-device ether
|
|
|
|
pseudo-device log
|
1995-02-09 11:21:07 +00:00
|
|
|
pseudo-device sl 1
|
1995-06-11 19:33:05 +00:00
|
|
|
# ijppp uses tun instead of ppp device
|
|
|
|
#pseudo-device ppp 1
|
|
|
|
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
|
|
|
|
|