1996-06-14 10:04:54 +00:00
|
|
|
#
|
|
|
|
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
|
|
|
|
#
|
1996-08-31 15:07:42 +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/>
|
1996-06-14 10:04:54 +00:00
|
|
|
#
|
1996-08-31 15:07:42 +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-04-18 14:42:20 +00:00
|
|
|
# $Id: GENERIC98,v 1.70 1999/04/01 13:39:27 kato Exp $
|
1996-06-14 10:04:54 +00:00
|
|
|
|
1996-12-07 12:59:36 +00:00
|
|
|
# GENERIC98 -- Generic PC98 machine with WD/SCSI disks
|
1996-06-14 10:04:54 +00:00
|
|
|
|
|
|
|
machine "pc98"
|
|
|
|
cpu "I386_CPU"
|
|
|
|
cpu "I486_CPU"
|
|
|
|
cpu "I586_CPU"
|
|
|
|
cpu "I686_CPU"
|
|
|
|
ident "GENERIC98"
|
1998-09-05 02:20:52 +00:00
|
|
|
maxusers 32
|
1996-06-14 10:04:54 +00:00
|
|
|
|
1999-04-18 14:42:20 +00:00
|
|
|
#makeoptions DEBUG="-g" #Build kernel with gdb(1) debug symbols
|
|
|
|
|
1996-06-14 10:04:54 +00:00
|
|
|
options "PC98" #PC98
|
|
|
|
options MATH_EMULATE #Support for x87 emulation
|
|
|
|
options INET #InterNETworking
|
|
|
|
options FFS #Berkeley Fast Filesystem
|
1998-10-08 12:10:07 +00:00
|
|
|
options FFS_ROOT #FFS usable as root device [keep this!]
|
1998-10-11 15:00:24 +00:00
|
|
|
options MFS #Memory Filesystem
|
|
|
|
options MFS_ROOT #MFS usable as root device, "MFS" req'ed
|
1996-06-14 10:04:54 +00:00
|
|
|
options NFS #Network Filesystem
|
1998-10-08 12:10:07 +00:00
|
|
|
options NFS_ROOT #NFS usable as root device, "NFS" req'ed
|
1996-06-14 10:04:54 +00:00
|
|
|
options MSDOSFS #MSDOS Filesystem
|
|
|
|
options "CD9660" #ISO 9660 Filesystem
|
1998-10-08 12:10:07 +00:00
|
|
|
options "CD9660_ROOT" #CD-ROM usable as root. "CD9660" req'ed
|
1996-06-14 10:04:54 +00:00
|
|
|
options PROCFS #Process filesystem
|
|
|
|
options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!]
|
1998-09-15 14:10:56 +00:00
|
|
|
options SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device
|
1996-06-14 10:04:54 +00:00
|
|
|
options EPSON_BOUNCEDMA #use bounce buufer for 15-16M
|
|
|
|
#options EPSON_MEMWIN #EPSON memory window support
|
1996-10-09 21:47:16 +00:00
|
|
|
options UCONSOLE #Allow users to grab the console
|
1999-01-18 08:38:08 +00:00
|
|
|
#options "LINE30"
|
1996-10-09 21:47:16 +00:00
|
|
|
options FAILSAFE #Be conservative
|
|
|
|
options USERCONFIG #boot -c editor
|
|
|
|
options VISUAL_USERCONFIG #visual boot -c editor
|
|
|
|
|
1996-06-14 10:04:54 +00:00
|
|
|
options COM_MULTIPORT
|
|
|
|
|
|
|
|
#
|
|
|
|
# IBM-PC HDD support
|
|
|
|
#options COMPAT_ATDISK
|
|
|
|
|
|
|
|
config kernel root on wd0
|
|
|
|
|
1998-12-30 07:46:23 +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
|
|
|
|
|
1999-04-18 14:42:20 +00:00
|
|
|
controller isa0 at nexus?
|
|
|
|
#controller pnp0 # PnP support for ISA
|
|
|
|
controller pci0 at nexus?
|
1996-06-14 10:04:54 +00:00
|
|
|
|
1998-10-22 16:16:02 +00:00
|
|
|
controller fdc0 at isa? port "IO_FD1" bio irq 11 drq 2
|
1996-06-14 10:04:54 +00:00
|
|
|
disk fd0 at fdc0 drive 0
|
|
|
|
disk fd1 at fdc0 drive 1
|
|
|
|
disk fd2 at fdc0 drive 2
|
|
|
|
disk fd3 at fdc0 drive 3
|
|
|
|
|
1997-03-15 15:58:43 +00:00
|
|
|
# options "CMD640" # work around CMD640 chip deficiency
|
1998-10-22 16:16:02 +00:00
|
|
|
controller wdc0 at isa? port "IO_WD1" bio irq 9
|
1996-06-14 10:04:54 +00:00
|
|
|
disk wd0 at wdc0 drive 0
|
|
|
|
#disk wd1 at wdc0 drive 1
|
|
|
|
#disk wd2 at wdc0 drive 2
|
|
|
|
#disk wd3 at wdc0 drive 3
|
|
|
|
|
1999-03-17 08:56:28 +00:00
|
|
|
device wcd0 #IDE CD-ROM
|
1999-04-18 14:42:20 +00:00
|
|
|
#device wfd0 #IDE Floppy (e.g. LS-120)
|
1996-06-14 10:04:54 +00:00
|
|
|
|
1998-11-13 08:18:44 +00:00
|
|
|
# A single entry for any of these controllers (ncr, ahb, ahc) is
|
1999-02-16 11:15:21 +00:00
|
|
|
# sufficient for any number of installed devices.
|
1996-09-07 02:14:47 +00:00
|
|
|
controller ncr0
|
1996-06-14 10:04:54 +00:00
|
|
|
controller ahc0
|
1998-04-25 04:27:15 +00:00
|
|
|
controller isp0
|
1999-02-25 13:53:13 +00:00
|
|
|
controller adv0
|
1996-10-09 21:47:16 +00:00
|
|
|
|
1996-12-04 04:32:52 +00:00
|
|
|
#
|
|
|
|
# WD33C93 SCSI card (55/92 like board)
|
|
|
|
#
|
|
|
|
|
|
|
|
options BS_TARG_SAFEMODE
|
|
|
|
|
|
|
|
# PC-9801-92
|
1999-02-16 11:15:21 +00:00
|
|
|
controller bs0 at isa? port IO_SCSI bio irq 5 drq 3 flags 0
|
1996-12-04 04:32:52 +00:00
|
|
|
# SC-98
|
1998-10-22 16:16:02 +00:00
|
|
|
# controller bs0 at isa? port IO_SCSI bio irq 5 drq 3 flags 0x10000
|
1996-12-04 04:32:52 +00:00
|
|
|
# HA-55BS2 and later
|
1998-10-22 16:16:02 +00:00
|
|
|
#controller bs0 at isa? port IO_SCSI bio irq 5 drq 3 flags 0x20000
|
1996-12-04 04:32:52 +00:00
|
|
|
# ELECOM type
|
1998-10-22 16:16:02 +00:00
|
|
|
#controller bs0 at isa? port IO_SCSI bio irq 5 drq 3 flags 0x30000
|
1996-12-04 04:32:52 +00:00
|
|
|
# SMIT
|
1998-10-22 16:16:02 +00:00
|
|
|
#controller bs0 at isa? port IO_SCSI bio irq 5 drq 3 iomem 0xdd000 iosiz 0x1000 flags 0x40000
|
1997-01-04 09:01:57 +00:00
|
|
|
# Logitec LHA-20x
|
1998-10-22 16:16:02 +00:00
|
|
|
#controller bs0 at isa? port IO_SCSI bio irq 5 drq 3 flags 0x50000
|
1996-12-04 04:32:52 +00:00
|
|
|
|
1996-06-14 10:04:54 +00:00
|
|
|
controller scbus0
|
|
|
|
|
1998-09-15 14:10:56 +00:00
|
|
|
device da0
|
1996-06-14 10:04:54 +00:00
|
|
|
|
1998-09-15 14:10:56 +00:00
|
|
|
device sa0
|
1996-10-23 07:25:35 +00:00
|
|
|
|
1998-09-15 14:10:56 +00:00
|
|
|
device pass0
|
1996-06-14 10:04:54 +00:00
|
|
|
|
|
|
|
device cd0 #Only need one of these, the code dynamically grows
|
|
|
|
|
1996-09-07 02:14:47 +00:00
|
|
|
controller matcd0 at isa? port? bio
|
1996-06-14 10:04:54 +00:00
|
|
|
|
1999-01-18 08:38:08 +00:00
|
|
|
# keyboard driver
|
|
|
|
device pckbd0 at isa? port IO_KBD tty irq 1
|
|
|
|
#options KBD_INSTALL_CDEV
|
|
|
|
|
|
|
|
device gdc0 at isa?
|
|
|
|
|
1999-04-18 14:42:20 +00:00
|
|
|
# splash screen/screen saver
|
|
|
|
pseudo-device splash
|
1999-01-18 08:38:08 +00:00
|
|
|
|
|
|
|
device sc0 at isa? tty
|
1996-06-14 10:04:54 +00:00
|
|
|
|
1999-04-18 14:42:20 +00:00
|
|
|
device npx0 at nexus? port IO_NPX irq 8
|
1996-06-14 10:04:54 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Laptop support (see LINT for more options)
|
|
|
|
#
|
1999-04-18 14:42:20 +00:00
|
|
|
device apm0 at nexus? disable flags 0x31 # Advanced Power Management
|
1997-03-31 08:27:05 +00:00
|
|
|
|
1996-06-14 10:04:54 +00:00
|
|
|
# PCCARD (PCMCIA) support
|
1997-10-27 10:57:58 +00:00
|
|
|
#controller card0
|
|
|
|
#device pcic0 at card?
|
|
|
|
#device pcic1 at card?
|
1996-06-14 10:04:54 +00:00
|
|
|
|
1999-01-16 13:20:42 +00:00
|
|
|
#
|
|
|
|
# Serial Interface
|
|
|
|
#
|
|
|
|
# COM1
|
1998-10-22 16:16:02 +00:00
|
|
|
device sio0 at isa? port "IO_COM1" tty irq 4
|
1999-01-16 13:20:42 +00:00
|
|
|
# COM2 (2nd CCU)
|
|
|
|
device sio1 at isa? port 0x238 tty irq 5 flags 0x12000000
|
|
|
|
# PC-9861K, PC-9801-101, MDC-926Rs
|
|
|
|
#device sio1 at isa? port "IO_COM2" tty irq 5 flags 0x01000000
|
|
|
|
#device sio2 at isa? port "IO_COM3" tty irq 6 flags 0x02000000
|
|
|
|
# PC-9801-120 (PnP off)
|
|
|
|
#device sio1 at isa? port 0x8b0 tty irq 5 flags 0x11000000
|
|
|
|
# MC-16550II, MC-RS98
|
|
|
|
#device sio1 at isa? port 0xd2 tty irq 5 flags 0x14000101
|
|
|
|
#device sio2 at isa? port 0x8d2 tty flags 0x14000101
|
|
|
|
# RSB-2000, RSB-3000, B98-02
|
|
|
|
#device sio1 at isa? port 0xb0 tty flags 0x15000101
|
|
|
|
#device sio2 at isa? port 0xb1 tty flags 0x15000101
|
|
|
|
# RSB-384
|
|
|
|
#device sio1 at isa? port 0xb0 tty flags 0x16000000
|
|
|
|
#device sio2 at isa? port 0xb1 tty flags 0x16000000
|
|
|
|
# RSA-98III
|
|
|
|
#device sio1 at isa? port 0x50e0 tty irq 5 flags 0x18000101
|
|
|
|
#device sio2 at isa? port 0x51e0 tty flags 0x18000101
|
|
|
|
# ESP98
|
|
|
|
#options COM_ESP
|
|
|
|
#device sio1 at isa? port 0x18b0 tty irq 5 flags 0x19000000
|
1996-06-14 10:04:54 +00:00
|
|
|
|
1999-02-25 13:41:54 +00:00
|
|
|
#device lpt0 at isa? port IO_LPT tty
|
1998-10-22 16:16:02 +00:00
|
|
|
device mse0 at isa? port IO_MSE tty irq 13
|
1996-06-14 10:04:54 +00:00
|
|
|
|
1999-04-18 14:42:20 +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'')
|
1996-06-14 10:04:54 +00:00
|
|
|
|
1996-09-07 02:14:47 +00:00
|
|
|
#
|
|
|
|
# DP8390 NIC
|
1998-10-08 17:16:41 +00:00
|
|
|
#
|
|
|
|
# ed0: generic driver
|
1996-09-07 02:14:47 +00:00
|
|
|
# ed1: LANEED LD-BDN
|
|
|
|
# ed2: EGY-98
|
|
|
|
# ed3: LGY-98
|
|
|
|
# ed4: ICM-IF-2766/EN-2298-T
|
|
|
|
# ed5: SIC-98
|
|
|
|
# ed6: PC-9801-108
|
|
|
|
# ed7: LA-98
|
1996-10-09 21:47:16 +00:00
|
|
|
# ed8: C-NET(98)
|
|
|
|
# ed9: C-NET(98)E/L
|
1999-02-25 13:59:47 +00:00
|
|
|
# fe0: RE1000/1000Plus/AccessPC N98C+/LAC-98
|
1998-01-15 08:12:23 +00:00
|
|
|
# fe1: C-NET(98)P2/C-NET(9N)E
|
1996-09-07 02:14:47 +00:00
|
|
|
#
|
1999-02-25 13:59:47 +00:00
|
|
|
# FE_8BIT_SUPPORT is needed to support LAC-98
|
|
|
|
#
|
1998-10-22 16:16:02 +00:00
|
|
|
device ed0 at isa? port 0x00d0 net irq 6
|
1998-11-25 11:00:31 +00:00
|
|
|
device ed5 at isa? port 0x00d0 net irq 6 iomem 0xd0000 iosiz 16384 flags 0x600000
|
1998-10-22 16:16:02 +00:00
|
|
|
device ed1 at isa? port 0x00d8 net irq 6 flags 0x200000
|
|
|
|
device ed3 at isa? port 0x00d0 net irq 6 flags 0x400000
|
|
|
|
device ed4 at isa? port 0x56d0 net irq 5 flags 0x500000
|
1998-11-25 11:00:31 +00:00
|
|
|
device ed2 at isa? port 0x00d8 net irq 6 flags 0x300000
|
1998-10-22 16:16:02 +00:00
|
|
|
device ed7 at isa? port 0x00d0 net irq 6 flags 0x900000
|
1998-11-25 11:00:31 +00:00
|
|
|
device ed6 at isa? port 0x0770 net irq 6 flags 0x800000
|
1998-10-22 16:16:02 +00:00
|
|
|
device ed9 at isa? port 0x03d0 net irq 6 flags 0xb00000
|
1998-11-25 11:00:31 +00:00
|
|
|
device ed8 at isa? port 0xa3d0 net irq 6 iomem 0xd0000 iosiz 16384 flags 0xa00000
|
1998-10-22 16:16:02 +00:00
|
|
|
device ep0 at isa? port 0x40d0 net irq 3
|
|
|
|
device fe0 at isa? port 0x00d0 net irq 3
|
|
|
|
device fe1 at isa? port 0x73d0 net irq 5
|
|
|
|
device lnc0 at isa? port 0x03d0 net irq 6
|
1999-04-18 14:42:20 +00:00
|
|
|
#device zp0 at isa? port 0x00d0 net irq 10 iomem 0xe0000
|
1996-06-14 10:04:54 +00:00
|
|
|
|
1999-02-25 13:59:47 +00:00
|
|
|
options "FE_8BIT_SUPPORT" # LAC-98 support
|
|
|
|
|
1996-06-14 10:04:54 +00:00
|
|
|
#controller snd0
|
1998-10-22 16:16:02 +00:00
|
|
|
#device sb0 at isa? port 0x20d2 irq 10 conflicts drq 3
|
1996-09-07 02:14:47 +00:00
|
|
|
#device sbxvi0 at isa? drq 3
|
|
|
|
#device sbmidi0 at isa? port 0x80d2
|
|
|
|
#device opl0 at isa? port 0x28d2
|
1998-10-22 16:16:02 +00:00
|
|
|
#device pcm0 at isa? port 0xa460 irq 12
|
|
|
|
#device mss0 at isa? port 0xf40 irq 12 drq 1
|
1996-06-14 10:04:54 +00:00
|
|
|
|
|
|
|
pseudo-device loop
|
|
|
|
pseudo-device ether
|
1998-01-12 15:37:38 +00:00
|
|
|
pseudo-device sl 1
|
|
|
|
pseudo-device ppp 1
|
1996-06-14 10:04:54 +00:00
|
|
|
pseudo-device tun 1
|
|
|
|
pseudo-device pty 16
|
|
|
|
pseudo-device gzip # Exec gzipped a.out's
|
1996-07-23 07:46:59 +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-04-18 14:42:20 +00:00
|
|
|
# This provides support for System V shared memory and message queues.
|
|
|
|
#
|
|
|
|
options SYSVSHM
|
|
|
|
options SYSVMSG
|
|
|
|
options SYSVSEM
|
|
|
|
|
|
|
|
|
1998-11-25 10:53:21 +00:00
|
|
|
# The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be
|
|
|
|
# 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.
|
|
|
|
#pseudo-device bpfilter 4 #Berkeley packet filter
|