reduce size...

This commit is contained in:
nonaka 2004-03-12 15:18:33 +00:00
parent 788def892f
commit 57c768218b
2 changed files with 87 additions and 88 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: GENERIC,v 1.73 2004/01/18 16:08:15 he Exp $
# $NetBSD: GENERIC,v 1.74 2004/03/12 15:18:33 nonaka Exp $
#
# GENERIC machine description file
#
@ -22,7 +22,9 @@ include "arch/prep/conf/std.prep"
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
#ident "GENERIC-$Revision: 1.73 $"
makeoptions COPTS="-Os -mmultiple" # -Os -mmultiple to reduce size.
#ident "GENERIC-$Revision: 1.74 $"
maxusers 32
@ -62,7 +64,7 @@ options USERCONF # userconf(4) support
#options NEW_BUFQ_STRATEGY
# Diagnostic/debugging support options
options DIAGNOSTIC # cheap kernel consistency checks
#options DIAGNOSTIC # cheap kernel consistency checks
#options DEBUG # expensive debugging checks/support
#options KMEMSTATS # kernel memory statistics (vmstat -m)
options DDB # in-kernel debugger
@ -81,25 +83,25 @@ options COMPAT_43 # and 4.3BSD
# File systems
file-system FFS # UFS
file-system EXT2FS # second extended file system (linux)
file-system LFS # log-structured file system
#file-system LFS # log-structured file system
file-system MFS # memory file system
file-system NFS # Network File System client
file-system NTFS # Windows/NT file system (experimental)
#file-system NTFS # Windows/NT file system (experimental)
file-system CD9660 # ISO 9660 + Rock Ridge file system
file-system MSDOSFS # MS-DOS file system
file-system FDESC # /dev/fd
#file-system FDESC # /dev/fd
file-system KERNFS # /kern
file-system NULLFS # loopback file system
file-system OVERLAY # overlay file system
file-system PORTAL # portal filesystem (still experimental)
#file-system OVERLAY # overlay file system
#file-system PORTAL # portal filesystem (still experimental)
file-system PROCFS # /proc
file-system UMAPFS # NULLFS + uid and gid remapping
#file-system UMAPFS # NULLFS + uid and gid remapping
file-system UNION # union file system
#file-system CODA # Coda File System; also needs vcoda (below)
# File system options
options QUOTA # UFS quotas
options FFS_EI # FFS Endian Independant support
#options FFS_EI # FFS Endian Independant support
options SOFTDEP # FFS soft updates support.
options NFSSERVER # Network File System server
#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
@ -113,7 +115,7 @@ options INET6 # IPv6
#options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
#options IPSEC_DEBUG # debug for IP security
#options MROUTING # IP multicast routing
options NETATALK # AppleTalk networking protocols
#options NETATALK # AppleTalk networking protocols
options PPP_BSDCOMP # BSD-Compress compression support for PPP
options PPP_DEFLATE # Deflate compression support for PPP
options PPP_FILTER # Active filter support for PPP (requires bpf)
@ -124,15 +126,15 @@ options IPFILTER_LOG # ipmon(8) log support
# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
options MIIVERBOSE # verbose PHY autoconfig messages
#options MIIVERBOSE # verbose PHY autoconfig messages
options PCIVERBOSE # verbose PCI device autoconfig messages
#options PCI_CONFIG_DUMP # verbosely dump PCI config space
options PCMCIAVERBOSE # verbose PCMCIA configuration messages
#options PCMCIAVERBOSE # verbose PCMCIA configuration messages
options SCSIVERBOSE # human readable SCSI error messages
#options USBVERBOSE # verbose USB device autoconfig messages
#options RESIDUAL_DATA_DUMP # verbosely dump residual data
options NFS_BOOT_BOOTP
#options NFS_BOOT_BOOTP
options NFS_BOOT_BOOTPARAM
options NFS_BOOT_DHCP
@ -154,7 +156,7 @@ options PCDISPLAY_SOFTCURSOR
# Kernel root file system and dump configuration.
config netbsd root on ? type ?
#config netbsd root on tlp0 type nfs
#config netbsd root on le0 type nfs
#config netbsd root on pcn0 type nfs
#
@ -193,7 +195,7 @@ pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
#options PCIC_ISA_ALLOC_IOSIZE=0x0100
# ISA Plug-and-Play bus support
isapnp0 at isa?
#isapnp0 at isa?
# on-board I/O for IBM Personal Power Series 830 IDE controller
obio0 at mainbus0
@ -233,8 +235,8 @@ com1 at isa? port 0x2f8 irq 3
# PCMCIA serial interfaces
com* at pcmcia? function ? # Modems and serial cards
pcmcom* at pcmcia? function ? # PCMCIA multi-port serial cards
com* at pcmcom? slave ? # ...and the slave devices
#pcmcom* at pcmcia? function ? # PCMCIA multi-port serial cards
#com* at pcmcom? slave ? # ...and the slave devices
# Parallel Printer Interfaces
@ -246,10 +248,10 @@ lpt0 at isa? port 0x3bc irq 7 # standard PC parallel ports
# SCSI Controllers and Devices
# PCI SCSI controllers
adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
#adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI
#iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
#pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI
siop* at pci? dev ? function ? # Symbios 53c8xx SCSI
esiop* at pci? dev ? function ? # Symbios 53c875 SCSI and newer
@ -257,11 +259,11 @@ esiop* at pci? dev ? function ? # Symbios 53c875 SCSI and newer
aic* at pcmcia? function ? # Adaptec APA-1460 SCSI
# SCSI bus support
scsibus* at adw?
#scsibus* at adw?
scsibus* at ahc?
scsibus* at aic?
scsibus* at iha?
scsibus* at pcscp?
#scsibus* at iha?
#scsibus* at pcscp?
scsibus* at siop?
scsibus* at esiop?
@ -269,8 +271,8 @@ scsibus* at esiop?
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
ss* at scsibus? target ? lun ? # SCSI scanners
#ch* at scsibus? target ? lun ? # SCSI autochangers
#ss* at scsibus? target ? lun ? # SCSI scanners
uk* at scsibus? target ? lun ? # SCSI unknown
@ -281,7 +283,7 @@ wdc0 at obio? port 0x1f0 irq 13
wdc1 at obio? port 0x170 irq 13
# ISA Plug-and-Play IDE controllers
wdc* at isapnp?
#wdc* at isapnp?
# PCMCIA IDE controllers
wdc* at pcmcia? function ?
@ -314,8 +316,8 @@ uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
# Miscellaneous mass storage devices
# ISA Floppy
fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard ISA floppy controller
fd0 at fdc0 drive ?
#fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard ISA floppy controller
#fd0 at fdc0 drive ?
# Network Interfaces
@ -331,15 +333,15 @@ tlp* at pci? dev ? function ? # DECchip 21x4x and clones
vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
# ISA network interfaces
ep* at isa? port ? irq ? # 3Com 3c509 Ethernet
ne0 at isa? port 0x280 irq 9 # NE2000-compatible Ethernet
ne1 at isa? port 0x300 irq 10
we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet
we1 at isa? port 0x300 iomem 0xe4000 irq 11
#ep* at isa? port ? irq ? # 3Com 3c509 Ethernet
#ne0 at isa? port 0x280 irq 9 # NE2000-compatible Ethernet
#ne1 at isa? port 0x300 irq 10
#we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet
#we1 at isa? port 0x300 iomem 0xe4000 irq 11
# ISA Plug-and-Play network intefaces
ep* at isapnp? # 3Com 3c509 Ethernet
ne* at isapnp? # NE2000-compatible Ethernet
#ep* at isapnp? # 3Com 3c509 Ethernet
#ne* at isapnp? # NE2000-compatible Ethernet
# PCMCIA network interfaces
ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
@ -455,16 +457,16 @@ ukphy* at mii? phy ? # generic unknown PHYs
#audio* at wss?
# MIDI support
midi* at pcppi? # MIDI interface to the PC speaker
#midi* at pcppi? # MIDI interface to the PC speaker
# The spkr driver provides a simple tone interface to the built in speaker.
spkr0 at pcppi? # PC speaker
#spkr0 at pcppi? # PC speaker
# Joysticks
# ISA Plug-and-Play joysticks
joy* at isapnp? # Game ports (usually on audio cards)
#joy* at isapnp? # Game ports (usually on audio cards)
# ISA joysticks. Probe is a little strange; add only if you have one.
#joy0 at isa? port 0x201
@ -511,7 +513,7 @@ pseudo-device bridge # simple inter-network bridging
# miscellaneous pseudo-devices
pseudo-device pty # pseudo-terminals
pseudo-device tb 1 # tablet line discipline
pseudo-device sequencer 1 # MIDI sequencer
#pseudo-device sequencer 1 # MIDI sequencer
pseudo-device rnd # /dev/random and in-kernel generator
#options RND_COM # use "com" randomness as well
pseudo-device clockctl # user control of clock subsystem

View File

@ -1,4 +1,4 @@
# $NetBSD: INSTALL,v 1.26 2003/10/19 22:00:01 kleink Exp $
# $NetBSD: INSTALL,v 1.27 2004/03/12 15:18:33 nonaka Exp $
#
# INSTALL -- Installation kernel
#
@ -26,11 +26,11 @@ options PLATFORM_MOTOROLA_ULMB60XA # Motorola ULMB60xA (?)
options OPENPIC # OpenPIC support (7043-140)
# Compatibility options
options COMPAT_13 # NetBSD 1.3,
options COMPAT_14 # NetBSD 1.4,
options COMPAT_15 # NetBSD 1.5,
options COMPAT_16 # NetBSD 1.6,
options COMPAT_43 # and 4.3BSD
#options COMPAT_13 # NetBSD 1.3,
#options COMPAT_14 # NetBSD 1.4,
#options COMPAT_15 # NetBSD 1.5,
#options COMPAT_16 # NetBSD 1.6,
#options COMPAT_43 # and 4.3BSD
# File systems
file-system FFS # UFS
@ -46,7 +46,7 @@ options VNODE_OP_NOINLINE # Not inlining vnode op calls saves mem
#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
# immutable) behave as system flags.
options USERCONF # userconf(4) support
#options USERCONF # userconf(4) support
options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
options MALLOC_NOINLINE # Not inlining MALLOC saves memory
@ -100,17 +100,17 @@ ppb* at pci? dev ? function ? # PCI-PCI bridges
isa* at pcib? # ISA on PCI-ISA bridge
# PCMCIA bus support
pcmcia* at pcic? controller ? socket ?
#pcmcia* at pcic? controller ? socket ?
# ISA PCMCIA controllers
pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
#pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
#options PCIC_ISA_INTR_ALLOC_MASK=0x4a00 # free irq 9,11,14
#options PCIC_ISA_ALLOC_IOBASE=0x0400
#options PCIC_ISA_ALLOC_IOSIZE=0x0100
# ISA Plug-and-Play bus support
isapnp0 at isa?
#isapnp0 at isa?
# on-board I/O for IBM Personal Power Series 830 IDE controller
obio0 at mainbus0
@ -121,14 +121,11 @@ obio0 at mainbus0
# wscons
pckbc0 at isa? # pc keyboard controller
pckbd* at pckbc? # PC keyboard
pms* at pckbc? # PS/2 mouse for wsmouse
#pms* at pckbc? # PS/2 mouse for wsmouse
vga* at pci?
wsdisplay* at vga? console ?
wskbd* at pckbd? console ?
wsmouse* at pms? mux 0
pcppi0 at isa? # PC prog. periph. interface
isabeep0 at pcppi? # "keyboard" beep
#wsmouse* at pms? mux 0
mcclock0 at isa? port 0x70 # mc146818 and compatible
mkclock0 at isa? port 0x74 # mk48t18 and compatible
@ -143,29 +140,29 @@ com1 at isa? port 0x2f8 irq 3
# Parallel Printer Interfaces
# ISA parallel printer interfaces
lpt0 at isa? port 0x3bc irq 7 # standard PC parallel ports
#lpt0 at isa? port 0x3bc irq 7 # standard PC parallel ports
# SCSI Controllers and Devices
# PCI SCSI controllers
adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
esiop* at pci? dev ? function ? # Symbios 53c825/875 and newer chips
iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI
#adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
#ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
#esiop* at pci? dev ? function ? # Symbios 53c825/875 and newer chips
#iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
#pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI
siop* at pci? dev ? function ? # Symbios 53c8xx SCSI
# PCMCIA SCSI controllers
aic* at pcmcia? function ? # Adaptec APA-1460 SCSI
#aic* at pcmcia? function ? # Adaptec APA-1460 SCSI
# SCSI bus support
scsibus* at adw?
scsibus* at ahc?
scsibus* at aic?
scsibus* at esiop?
scsibus* at iha?
scsibus* at pcscp?
#scsibus* at adw?
#scsibus* at ahc?
#scsibus* at aic?
#scsibus* at esiop?
#scsibus* at iha?
#scsibus* at pcscp?
scsibus* at siop?
# SCSI devices
@ -181,10 +178,10 @@ wdc0 at obio? port 0x1f0 irq 13
wdc1 at obio? port 0x170 irq 13
# ISA Plug-and-Play IDE controllers
wdc* at isapnp?
#wdc* at isapnp?
# PCMCIA IDE controllers
wdc* at pcmcia? function ?
#wdc* at pcmcia? function ?
# ATA (IDE) bus support
atabus* at ata?
@ -213,39 +210,39 @@ sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
# Miscellaneous mass storage devices
# ISA floppy
fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
fd* at fdc? drive ?
#fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
#fd* at fdc? drive ?
# Network Interfaces
# PCI network interfaces
ep* at pci? dev ? function ? # 3Com 3c59x
ex* at pci? dev ? function ? # 3Com 3c90x[BC]
fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
ne* at pci? dev ? function ? # NE2000-compatible Ethernet
#ep* at pci? dev ? function ? # 3Com 3c59x
#ex* at pci? dev ? function ? # 3Com 3c90x[BC]
#fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
#ne* at pci? dev ? function ? # NE2000-compatible Ethernet
pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet
rtk* at pci? dev ? function ? # Realtek 8129/8139
sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet
#rtk* at pci? dev ? function ? # Realtek 8129/8139
#sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet
tlp* at pci? dev ? function ? # DECchip 21x4x and clones
vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
#vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
# ISA network interfaces
ep* at isa? port ? irq ? # 3Com 3c509 Ethernet
#ep* at isa? port ? irq ? # 3Com 3c509 Ethernet
# ISA Plug-and-Play network intefaces
ep* at isapnp? # 3Com 3c509 Ethernet
ne* at isapnp? # NE2000-compatible Ethernet
#ep* at isapnp? # 3Com 3c509 Ethernet
#ne* at isapnp? # NE2000-compatible Ethernet
# PCMCIA network interfaces
ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
ne* at pcmcia? function ? # NE2000-compatible Ethernet
#ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
#ne* at pcmcia? function ? # NE2000-compatible Ethernet
# MII/PHY support
exphy* at mii? phy ? # 3Com internal PHYs
inphy* at mii? phy ? # Intel 82555 PHYs
#exphy* at mii? phy ? # 3Com internal PHYs
#inphy* at mii? phy ? # Intel 82555 PHYs
nsphy* at mii? phy ? # NS83840 PHYs
qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
#qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
#sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
ukphy* at mii? phy ? # generic unknown PHYs