GENERIC98 (PC9801BX) FreeBSD(98) 2.2.6-Rev02
※ このファイルをそのまま使用しないでください。
戻る
#
# 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.
#
# : GENERIC98,v 1.8.2.19 1998/03/15 15:22:06 kato Exp
# GENERIC98 -- Generic PC98 machine with WD/SCSI disks
machine "pc98"
cpu "I386_CPU"
cpu "I486_CPU"
cpu "I586_CPU"
cpu "I686_CPU"
ident "PC9801BX" # ← このファイル名
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!]
# ↓SCSIが正常に認識するならここを5秒ぐらいにする
options SCSI_DELAY=15 #Be pessimistic about Joe SCSI device
# ↓16MB以上でDMAを使用しない
#options BOUNCE_BUFFERS #include support for DMA bounce buffers
# ↓EPSON機ではないのでコメント
#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 USERCONFIG #boot -c editor
options VISUAL_USERCONFIG #visual boot -c editor
#
# CPU_BROKEN_INVLPG solves invlpg bug of PentiumPro processor.
# PC-9821 Ra20 user *MUST* uncomment following line:
# options CPU_BROKEN_INVLPG # Use invltlb instead of invlpg
options FAILSAFE #Be conservative
options SYSVSHM
options SYSVSEM
options SYSVMSG
options AUTO_CLOCK
options COM_MULTIPORT
# ↓メルコのハイパーメモリCPU(EUB-H)上に16MB積んでいるので最大メモリサイズを32MBにする
# (HUB-HPではメモリを認識しないようです。)
# MAX MEMORY SIZE
options "MAXMEM=(32*1024)"
↓Cyrix 5x86を使用するためのオプション
#
# Cyrix 5x86 Option
#
options "CPU_BLUELIGHTNING_FPU_OP_CACHE"
options "CPU_BLUELIGHTNING_3X"
options "CPU_FASTER_5X86_FPU"
options FPU_ERROR_BROKEN
#
# IBM-PC HDD support
#options COMPAT_ATDISK
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
device wfd0 #IDE floppy (LS-120)
# A single entry for any of these controllers (ncr, ahb, ahc) is sufficient
# for any number of installed devices.
#
# Note: The dpt driver is present in this release but was left disabled
# due to its relatively late entry (it's almost certainly benign to enable
# it but we didn't want to risk any chance of destabilizing 2.2.6). To
# enable DPT support, uncomment the dpt0 controller entry and the two
# options DPTOPT and DPT_MEASURE_PERFORMANCE entries below.
controller ncr0
controller ahc0
#controller dpt0
#
# WD33C93 SCSI card (55/92 like board)
#
options BS_TARG_SAFEMODE
# SCSIはSMIT以外はコメントにする
# PC-9801-92
#controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0 vector bsintr
# SC-98
# controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0x10000 vector bsintr
# HA-55BS2 and later
#controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0x20000 vector bsintr
# ELECOM type
#controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0x30000 vector bsintr
# SMIT
controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 iomem 0xdd000 iosiz 0x1000 flags 0x40000 vector bsintr
# Logitec LHA-20x
#controller bs0 at isa? port "IO_SCSI" bio irq 5 drq 3 flags 0x50000 vector bsintr
#controller aic0 at isa? port 0x1840 bio irq 5 flags 0x10000 vector aicintr
#options DPTOPT # will go away soon
#options DPT_MEASURE_PERFORMANCE # just enable for now
#options DPT_VERIFY_HINTR # Some hardware must have it!
#options DPT_TRACK_CCB_STATES # Some hardware must have it!
#options DPT_HANDLE_TIMEOUTS # Some hardware must have it!
#options DPT_TIMEOUT_FACTOR=4 # Some hardware needs more
controller scbus0
device sd0
device od0 #See LINT for possible `od' options.
options "OD_BOGUS_NOT_READY"
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 flags 0x1 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 card0
#device pcic0 at card?
#device pcic1 at card?
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 tx0
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
# fe0: RE1000/1000Plus
# fe1: C-NET(98)P2/C-NET(9N)E
#
# NICはLGY-98なのでed3以外はコメントにする
#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 0x00d0 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 0x0770 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 0xa3d0 net irq 6 iomem 0xd0000 iosiz 16384 flags 0xa00000 vector edintr
#device ed9 at isa? port 0x03d0 net irq 6 flags 0xb00000 vector edintr
#device ep0 at isa? port 0x40d0 net irq 3 vector epintr
#device fe0 at isa? port 0x00d0 net irq 3 vector feintr
#device fe1 at isa? port 0x73d0 net irq 5 vector feintr
#device lnc0 at isa? port 0x03d0 net irq 6 vector lncintr
#device zp0 at isa? port 0x00d0 net irq 10 iomem 0xe0000 vector zpintr
# メルコのWSN-A2FについているPCMを使用。ただし、そのままでは認識しないので、カーネルソースをいじる必要あり。
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 irq 12 drq 1 vector adintr
pseudo-device loop
pseudo-device ether
pseudo-device log
pseudo-device sl 2
pseudo-device ppp 1
pseudo-device vn 1
pseudo-device tun 1
pseudo-device pty 16
pseudo-device gzip # Exec gzipped a.out's