make this usable as INSTALL-like kernel suitable for boot floppy

enable supported stuff, add also SCSI devices (only sd* and cd* uncommented)
This commit is contained in:
jdolecek 2000-08-13 21:55:33 +00:00
parent 8c412633ff
commit 47b371580e
1 changed files with 27 additions and 10 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: PS2,v 1.4 2000/07/27 14:34:07 mrg Exp $
# $NetBSD: PS2,v 1.5 2000/08/13 21:55:33 jdolecek Exp $
#
# Sample kernel config for PS/2 with MCA bus
#
@ -20,7 +20,16 @@
include "arch/i386/conf/std.i386"
maxusers 32 # estimated number of users
# Enable the hooks used for initializing the root memory-disk.
options MEMORY_DISK_HOOKS
options MEMORY_DISK_IS_ROOT # force root on memory disk
options MEMORY_DISK_SERVER=0 # no userspace memory disk support
options MINIROOTSIZE=3072 # size of memory disk, in blocks
#options MINIROOTSIZE=2880 # 1.44M, same as a floppy
makeoptions COPTS="-Os" # generates smaller code than -O2, -O1
maxusers 2 # estimated number of users
options I386_CPU
options I486_CPU
@ -47,9 +56,10 @@ options DDB_HISTORY_SIZE=512 # enable history editing in DDB
file-system FFS # UFS
#file-system NFS # Network File System client
#file-system MSDOSFS # MS-DOS file system
file-system MSDOSFS # MS-DOS file system
#file-system FDESC # /dev/fd
#file-system KERNFS # /kern
file-system KERNFS # /kern
file-system MFS # memory file system
#options QUOTA # UFS quotas
#options NFSSERVER # Network File System server
@ -57,9 +67,6 @@ options FIFO # FIFOs; RECOMMENDED
options INET # IP + ICMP + TCP + UDP
options COMPAT_13
options COMPAT_14
options MCAVERBOSE # verbose MCA device autoconfig messages
#options NFS_BOOT_BOOTP
@ -98,14 +105,24 @@ 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
#tr* at mca? slot ? # IBM Token Ring adapter
tr* at mca? slot ? # IBM Token Ring adapter
# MCA SCSI controllers
#aha* at mca? slot ? # Adaptec AHA-1640
aha* at mca? slot ? # Adaptec AHA-1640
# SCSI bus support
#scsibus* at aha?
scsibus* at aha?
# SCSI devices
sd* at scsibus? target ? lun ? # SCSI disk drives
#st* at scsibus? target ? lun ? # SCSI tape drives
cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
#ch* at scsibus? target ? lun ? # SCSI autochangers
#ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices
#ss* at scsibus? target ? lun ? # SCSI scanners
#uk* at scsibus? target ? lun ? # SCSI unknown
#pseudo-device bpfilter 4 # Berkeley packet filter
pseudo-device loop # network loopback
pseudo-device pty 16 # pseudo-terminals
pseudo-device md 1 # memory disk device (ramdisk)