4f3d818c12
(1) Bug fix (pass boot drive): pc98/boot/biosboot/boot2.S (2) Delete code for unsupported high-resolution modes and move old Epson notebook code to epsonio.h: pc98/boot/biosboot/io.c pc98/i386/vm_machdep.c pc98/pc98/fd.c pc98/pc98/pc98.c pc98/pc98/pc98.h pc98/pc98/epsonio.h (new) (3) Change aic driver so that PCMCIA cards (I/O port same as PC/AT) and PC-9801-100 cards can be selected with a flag in kernel config file: pc98/pc98/aic6360.c pc98/pc98/aic_98.h (new) (4) Fix wcd entry (it was broken). Delete mcd, it doesn't work on 98. Change aic entry according to above: pc98/conf/GENERIC98 (5) Move pc98_machdep.c to top of files in pc98/pc98: pc98/conf/files.pc98 (6) Delete empty lines: pc98/i386/locore.s (7) Fix (it didn't work if I586 was specified): pc98/pc98/clock.c (8) Staticize: pc98/pc98/pc98_machdep.c (9) Enable workaround for Cyrix bug for 5x86 also: pc98/i386/machdep.c pc98/i386/trap.c All the above deletes this file too: pc98/i386/pmap.c (phew!) Submitted by: The FreeBSD(98) Development Team
205 lines
6.3 KiB
Plaintext
205 lines
6.3 KiB
Plaintext
#
|
|
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
|
|
#
|
|
# 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/>
|
|
#
|
|
# 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.
|
|
#
|
|
# $Id: GENERIC98,v 1.6 1996/10/09 21:45:41 asami Exp $
|
|
|
|
# GENERIC98 -- Generic PC98 machine with WD/SBIC55 disks
|
|
|
|
machine "pc98"
|
|
cpu "I386_CPU"
|
|
cpu "I486_CPU"
|
|
cpu "I586_CPU"
|
|
cpu "I686_CPU"
|
|
ident "GENERIC98"
|
|
maxusers 10
|
|
|
|
options "PC98" #PC98
|
|
options MATH_EMULATE #Support for x87 emulation
|
|
options INET #InterNETworking
|
|
options FFS #Berkeley Fast Filesystem
|
|
options NFS #Network Filesystem
|
|
options MSDOSFS #MSDOS Filesystem
|
|
options "CD9660" #ISO 9660 Filesystem
|
|
options PROCFS #Process filesystem
|
|
options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!]
|
|
options SCSI_DELAY=15 #Be pessimistic about Joe SCSI device
|
|
options BOUNCE_BUFFERS #include support for DMA bounce buffers
|
|
options EPSON_BOUNCEDMA #use bounce buufer for 15-16M
|
|
#options EPSON_MEMWIN #EPSON memory window support
|
|
options UCONSOLE #Allow users to grab the console
|
|
options "LINE30"
|
|
options FAILSAFE #Be conservative
|
|
options USERCONFIG #boot -c editor
|
|
options VISUAL_USERCONFIG #visual boot -c editor
|
|
|
|
options SYSVSHM
|
|
options SYSVSEM
|
|
options SYSVMSG
|
|
|
|
options AUTO_CLOCK
|
|
options COM_MULTIPORT
|
|
|
|
#
|
|
# non-Intel CPU support
|
|
#
|
|
#options "IBM_486SLC" # IBM486SLC/SLC2 support
|
|
#options "CYRIX_486DLC" # Cyrix 486DLC/SLC/DLC2/SLC2 support
|
|
#options "CYRIX_5X86" # Cyrix 5x86 support
|
|
#options SUSP_HLT # CPU enters suspend mode when HALT
|
|
#options "DISABLE_5X86_LSSER" # Load-Store reordering enable
|
|
#
|
|
# sbic55.c.new
|
|
#
|
|
#options SCSI_SYNC # synchronous transfer mode
|
|
#options FORCE_BUSMASTER
|
|
#options "HA55BS_ID=0"
|
|
#
|
|
# IBM-PC HDD support
|
|
#options COMPAT_ATDISK
|
|
#
|
|
# FreeBSD(98)-current is a *TEST VERSION*.
|
|
# It is highly recomended to compile with following options, and to
|
|
# record the panic messages and the result of trace command brefore
|
|
# reporting a problem.
|
|
options DDB
|
|
options DIAGNOSTIC
|
|
|
|
config kernel root on wd0
|
|
|
|
controller isa0
|
|
controller pci0
|
|
|
|
controller fdc0 at isa? port "IO_FD1" bio irq 11 drq 2 vector fdintr
|
|
disk fd0 at fdc0 drive 0
|
|
disk fd1 at fdc0 drive 1
|
|
disk fd2 at fdc0 drive 2
|
|
disk fd3 at fdc0 drive 3
|
|
tape ft0 at fdc0 drive 4
|
|
|
|
controller wdc0 at isa? port "IO_WD1" bio irq 9 vector wdintr
|
|
disk wd0 at wdc0 drive 0
|
|
#disk wd1 at wdc0 drive 1
|
|
#disk wd2 at wdc0 drive 2
|
|
#disk wd3 at wdc0 drive 3
|
|
|
|
options ATAPI # Enable ATAPI support for IDE bus
|
|
options ATAPI_STATIC #Don't do it as an LKM
|
|
device wcd0 #IDE CD-ROM
|
|
|
|
# A single entry for any of these controllers (ncr, ahb, ahc) is sufficient
|
|
# for any number of installed devices.
|
|
controller ncr0
|
|
controller ahc0
|
|
|
|
controller sbic0 at isa? port "IO_SCSI" bio irq 5 drq 3 vector sbicintr
|
|
# sbic55.c.new
|
|
#controller sbic0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0xff vector sbicintr
|
|
controller aic0 at isa? port 0x1840 bio irq 5 flags 0x10000 vector aicintr
|
|
|
|
controller scbus0
|
|
|
|
device sd0
|
|
|
|
device od0 #See LINT for possible `od' options.
|
|
|
|
device st0
|
|
|
|
device cd0 #Only need one of these, the code dynamically grows
|
|
|
|
controller matcd0 at isa? port? bio
|
|
|
|
# syscons is the default console driver, resembling an SCO console
|
|
device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
|
|
#options XSERVER # include code for XFree86
|
|
|
|
# Mandatory, don't remove
|
|
device npx0 at isa? port "IO_NPX" irq 8 vector npxintr
|
|
|
|
#
|
|
# Laptop support (see LINT for more options)
|
|
#
|
|
device apm0 at isa? disable # Advanced Power Management
|
|
options APM_BROKEN_STATCLOCK # Workaround some buggy APM BIOS
|
|
# PCCARD (PCMCIA) support
|
|
#controller crd0
|
|
#device pcic0 at crd?
|
|
#device pcic1 at crd?
|
|
|
|
device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr
|
|
device sio1 at isa? port 0xd2 tty irq 5 flags 0x101 vector siointr
|
|
device sio2 at isa? port 0x8d2 tty flags 0x101 vector siointr
|
|
|
|
device lpt0 at isa? port "IO_LPT" tty
|
|
device mse0 at isa? port "IO_MSE" tty irq 13 vector mseintr
|
|
|
|
# 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.
|
|
device de0
|
|
device fxp0
|
|
device vx0
|
|
|
|
#
|
|
# DP8390 NIC
|
|
#
|
|
# ed0: generic driver
|
|
# 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
|
|
# ed8: C-NET(98)
|
|
# ed9: C-NET(98)E/L
|
|
#
|
|
device ed0 at isa? port 0x00d0 net irq 6 vector edintr
|
|
device ed1 at isa? port 0x00d8 net irq 6 flags 0x200000 vector edintr
|
|
device ed2 at isa? port 0x00d8 net irq 6 flags 0x300000 vector edintr
|
|
device ed3 at isa? port 0x00d8 net irq 6 flags 0x400000 vector edintr
|
|
device ed4 at isa? port 0x56d0 net irq 5 flags 0x500000 vector edintr
|
|
device ed5 at isa? port 0x00d0 net irq 6 iomem 0xd0000 iosiz 16384 flags 0x600000 vector edintr
|
|
device ed6 at isa? port 0x00d0 net irq 6 flags 0x800000 vector edintr
|
|
device ed7 at isa? port 0x00d0 net irq 6 flags 0x900000 vector edintr
|
|
device ed8 at isa? port 0x00d0 net irq 6 flags 0xa00000 vector edintr
|
|
device ed9 at isa? port 0x00d0 net irq 6 flags 0xb00000 vector edintr
|
|
|
|
device fe0 at isa? port 0x00d0 net irq 3 vector feintr
|
|
device zp0 at isa? port 0x00d0 net irq 10 iomem 0xe0000 vector zpintr
|
|
device ep0 at isa? port 0x00d0 net irq 6 vector epintr
|
|
|
|
#controller snd0
|
|
#device sb0 at isa? port 0x20d2 irq 10 conflicts drq 3 vector sbintr
|
|
#device sbxvi0 at isa? drq 3
|
|
#device sbmidi0 at isa? port 0x80d2
|
|
#device opl0 at isa? port 0x28d2
|
|
#device pcm0 at isa? port 0xa460 irq 12 vector pcmintr
|
|
#device mss0 at isa? port 0xf40 irq12 drq 1 vectro adintr
|
|
|
|
pseudo-device loop
|
|
pseudo-device ether
|
|
pseudo-device log
|
|
pseudo-device sl 2
|
|
# ijppp uses tun instead of ppp device
|
|
#pseudo-device ppp 1
|
|
pseudo-device tun 1
|
|
pseudo-device pty 16
|
|
pseudo-device gzip # Exec gzipped a.out's
|
|
|
|
# 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
|
|
|