GENERIC98 (PC9801BX) FreeBSD(98) 2.2.1R-RELEASE
※ このファイルをそのまま使用しないでください。
戻る
#
# 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.5 1997/02/12 13:35:52 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!]
options SCSI_DELAY=5 #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
# ↓ メルコのハイパーメモリCPU(EUB-H)上に16MB積んでいるので32MBを指定
options "MAXMEM=32768" # over 16mb memory support
#
# non-Intel CPU support
#
#options "IBM_486SLC" # IBM486SLC/SLC2 support
#options "CYRIX_486DLC" # Cyrix 486DLC/SLC/DLC2/SLC2 support
# ↓ Cyrix 5x86 を使用しているのでコメントをはずす
options "CYRIX_5X86" # Cyrix 5x86 support
#options SUSP_HLT # CPU enters suspend mode when HALT
#options "DISABLE_5X86_LSSER" # Load-Store reordering enable
# ↓ Cyrix 5x86 のI/Oウェイトを0にする
options "CX586IO=0"
#
# 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
# A single entry for any of these controllers (ncr, ahb, ahc) is sufficient
# for any number of installed devices.
controller ncr0
controller ahc0
#
# 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
# ↓SCSIはSMIT方式なのでここのコメントをはずす。iomemは0xdd000にすること
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
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" flags 0x1 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
device lnc0
#
# 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
#
# ↓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 0x03d0 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 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
# ijppp uses tun instead of ppp device
#pseudo-device ppp 1
pseudo-device vn 1
pseudo-device tun 1
pseudo-device pty 16
pseudo-device bpfilter 4 # berkeley packet filter
pseudo-device gzip # Exec gzipped a.out's