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.
|
|
|
|
#
|
1997-10-31 22:10:09 +00:00
|
|
|
# $Id: GENERIC,v 1.100 1997/10/28 07:24:30 joerg 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
|
|
|
|
|
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
|
|
|
|
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
|
|
|
|
1997-03-13 19:03:58 +00:00
|
|
|
options "CMD640" # work around CMD640 chip deficiency
|
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
|
|
|
|
|
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
|
|
|
|
device wcd0 #IDE CD-ROM
|
1995-08-18 11:26:35 +00:00
|
|
|
|
1996-12-21 02:09:04 +00:00
|
|
|
# A single entry for any of these controllers (ncr, ahb, ahc, amd) is
|
|
|
|
# sufficient for any number of installed devices.
|
1994-10-17 21:10:20 +00:00
|
|
|
controller ncr0
|
1996-12-21 02:09:04 +00:00
|
|
|
controller amd0
|
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
|
1997-06-06 12:24:43 +00:00
|
|
|
#options XSERVER # support for X server
|
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
|
|
|
|
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)
|
|
|
|
#
|
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
|
|
|
|
1997-09-14 18:57:01 +00:00
|
|
|
device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 vector siointr
|
1994-10-17 21:10:20 +00:00
|
|
|
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
|
1997-09-22 00:37:08 +00:00
|
|
|
device mse0 at isa? port 0x23c tty irq 5 vector mseintr
|
1994-10-17 21:10:20 +00:00
|
|
|
|
1997-10-08 17:05:03 +00:00
|
|
|
device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr
|
1996-04-18 04:02:30 +00:00
|
|
|
|
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.
|
1997-09-22 00:37:08 +00:00
|
|
|
device de0
|
|
|
|
device fxp0
|
|
|
|
device vx0
|
1996-03-20 10:42:56 +00:00
|
|
|
|
1997-09-22 00:37:08 +00: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 19:33:05 +00:00
|
|
|
device ep0 at isa? port 0x300 net irq 10 vector epintr
|
1997-09-22 00:37:08 +00: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
|
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
|
1997-10-31 22:10:09 +00:00
|
|
|
# iijppp uses tun instead of ppp device
|
1995-06-11 19:33:05 +00:00
|
|
|
#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
|
|
|
|
|
1997-07-15 04:04:45 +00:00
|
|
|
# This provides support for System V shared memory.
|
|
|
|
#
|
|
|
|
options SYSVSHM
|