2000-05-27 00:59:07 +04:00
|
|
|
# $NetBSD: PS2,v 1.2 2000/05/26 20:59:07 jdolecek Exp $
|
2000-05-11 20:38:10 +04:00
|
|
|
#
|
|
|
|
# Sample kernel config for PS/2 with MCA bus
|
|
|
|
#
|
2000-05-27 00:59:07 +04:00
|
|
|
# WARNING: DO NOT USE UNLESS YOU ARE PREPARED TO DEAL WITH PROBLEMS.
|
|
|
|
#
|
|
|
|
# BEWARE:
|
|
|
|
# MCA support in NetBSD is still very experimental at this
|
|
|
|
# stage and should be used with extreme caution. MCA-enabled
|
|
|
|
# kernels won't currently work on non-MCA machines and it's
|
|
|
|
# not wise to try even try it unless you are prepared to deal
|
|
|
|
# wish strange hardware failures. Please note that MCA
|
|
|
|
# support doesn't yet reach standard NetBSD quality,
|
|
|
|
# should be really used only for experimentation and is provided
|
|
|
|
# specially and only to make access to the code easier for people
|
|
|
|
# who wish to help with PS/2 development.
|
|
|
|
# See also sys/dev/mca/TODO for list of problems and current list of
|
|
|
|
# projects. If you try this out and encounter any problems, please
|
|
|
|
# let us know via send-pr(1) or ask on port-i386@NetBSD.org.
|
2000-05-11 20:38:10 +04:00
|
|
|
|
|
|
|
include "arch/i386/conf/std.i386"
|
|
|
|
|
|
|
|
maxusers 32 # estimated number of users
|
|
|
|
|
|
|
|
options I386_CPU
|
|
|
|
options I486_CPU
|
|
|
|
|
|
|
|
options MATH_EMULATE # floating point emulation
|
|
|
|
#options XSERVER # X server support in console drivers
|
|
|
|
|
|
|
|
#options UCONSOLE # users can use TIOCCONS (for xconsole)
|
|
|
|
options INSECURE # disable kernel security levels
|
|
|
|
|
|
|
|
options RTC_OFFSET=-600 # hardware clock is this many mins. west of GMT
|
2000-05-27 00:59:07 +04:00
|
|
|
#options KTRACE # system call tracing via ktrace(1)
|
2000-05-11 20:38:10 +04:00
|
|
|
|
2000-05-27 00:59:07 +04:00
|
|
|
#options SYSVMSG # System V-like message queues
|
|
|
|
#options SYSVSEM # System V-like semaphores
|
|
|
|
#options SYSVSHM # System V-like memory sharing
|
2000-05-11 20:38:10 +04:00
|
|
|
#options SHMMAXPGS=1024 # 1024 pages is the default
|
|
|
|
|
|
|
|
options DIAGNOSTIC # cheap kernel consistency checks
|
|
|
|
options DEBUG # expensive debugging checks/support
|
2000-05-27 00:59:07 +04:00
|
|
|
#options KMEMSTATS # kernel memory statistics (vmstat -m)
|
2000-05-11 20:38:10 +04:00
|
|
|
options DDB # in-kernel debugger
|
|
|
|
|
|
|
|
file-system FFS # UFS
|
|
|
|
#file-system NFS # Network File System client
|
2000-05-27 00:59:07 +04:00
|
|
|
#file-system MSDOSFS # MS-DOS file system
|
2000-05-11 20:38:10 +04:00
|
|
|
#file-system FDESC # /dev/fd
|
|
|
|
#file-system KERNFS # /kern
|
|
|
|
|
|
|
|
#options QUOTA # UFS quotas
|
|
|
|
#options NFSSERVER # Network File System server
|
|
|
|
options FIFO # FIFOs; RECOMMENDED
|
|
|
|
|
|
|
|
options INET # IP + ICMP + TCP + UDP
|
|
|
|
|
|
|
|
options COMPAT_AOUT
|
|
|
|
options COMPAT_13
|
|
|
|
options COMPAT_14
|
|
|
|
|
|
|
|
options MCAVERBOSE # verbose MCA device autoconfig messages
|
|
|
|
|
|
|
|
#options NFS_BOOT_BOOTP
|
|
|
|
|
|
|
|
options WSEMUL_VT100 # VT100 / VT220 emulation
|
|
|
|
options WS_KERNEL_FG=WSCOL_GREEN
|
|
|
|
|
|
|
|
config netbsd root on ? type ?
|
|
|
|
#config netbsd root on ? type nfs
|
|
|
|
|
|
|
|
#
|
|
|
|
# Device Configuration
|
|
|
|
#
|
|
|
|
|
|
|
|
mainbus0 at root
|
|
|
|
mca0 at mainbus0
|
|
|
|
isa0 at mainbus0
|
|
|
|
|
2000-05-27 00:59:07 +04:00
|
|
|
#npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor
|
2000-05-11 20:38:10 +04:00
|
|
|
|
|
|
|
#pc0 at isa? port 0x60 irq 1
|
|
|
|
|
|
|
|
# wscons
|
|
|
|
pckbc0 at isa? # pc keyboard controller
|
2000-05-27 00:59:07 +04:00
|
|
|
options PCKBCDEBUG
|
2000-05-11 20:38:10 +04:00
|
|
|
#pcconskbd* at pckbc?
|
2000-05-27 00:59:07 +04:00
|
|
|
#pms* at pckbc? # PS/2 mouse for wsmouse
|
|
|
|
#wsmouse* at pms?
|
2000-05-11 20:38:10 +04:00
|
|
|
pckbd* at pckbc? # PC keyboard
|
|
|
|
wskbd* at pckbd? console ?
|
|
|
|
vga0 at isa?
|
|
|
|
wsdisplay* at vga? console ?
|
|
|
|
options WSDISPLAY_DEFAULTSCREENS=4
|
|
|
|
|
|
|
|
com0 at isa? port 0x3f8 irq 4 # "SERIAL_!"
|
|
|
|
lpt0 at isa? port 0x3bc irq 7 # "PARALLEL_1"
|
|
|
|
fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
|
|
|
|
fd* at fdc? drive ? # the drives themselves
|
2000-05-27 00:59:07 +04:00
|
|
|
#tr* at mca? slot ? # IBM Token Ring adapter
|
|
|
|
|
|
|
|
# MCA SCSI controllers
|
|
|
|
#aha* at mca? slot ? # Adaptec AHA-1640
|
|
|
|
|
|
|
|
# SCSI bus support
|
|
|
|
#scsibus* at aha?
|
2000-05-11 20:38:10 +04:00
|
|
|
|
2000-05-27 00:59:07 +04:00
|
|
|
#pseudo-device bpfilter 4 # Berkeley packet filter
|
2000-05-11 20:38:10 +04:00
|
|
|
pseudo-device loop # network loopback
|
|
|
|
pseudo-device pty 16 # pseudo-terminals
|