NetBSD/sys/arch/sandpoint/conf/GENERIC
2012-04-29 15:59:32 +00:00

354 lines
12 KiB
Plaintext

# $NetBSD: GENERIC,v 1.73 2012/04/29 15:59:32 phx Exp $
#
# machine description file for GENERIC NAS
#
# This machine description file is used to generate the default NetBSD
# kernel. The generic kernel does not include all options, subsystems
# and device drivers, but should be useful for most applications.
#
# The machine description file can be customised for your specific
# machine to reduce the kernel size and improve its performance.
#
# For further information on compiling NetBSD kernels, see the config(8)
# man page.
#
# For further information on hardware support for this architecture, see
# the intro(4) man page. For further information about kernel options
# for this architecture, see the options(4) man page. For an explanation
# of each device driver in this file see the section 4 man page for the
# device.
include "arch/sandpoint/conf/std.sandpoint"
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
#ident "GENERIC-$Revision: 1.73 $"
maxusers 32
#options ALTIVEC # Include AltiVec support
# Standard system options
#options INSECURE # disable kernel security levels
options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
options KTRACE
#options SYSVMSG # System V message queues
#options SYSVSEM # System V semaphores
#options SYSVSHM # System V shared memory
#options MODULAR # module(7) support
#options USERCONF # userconf(4) support
#options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
# Enable experimental buffer queue strategy for better responsiveness under
# high disk I/O load. Use it with caution - it's not proven to be stable yet.
#options BUFQ_READPRIO
#options BUFQ_PRIOCSCAN
# Diagnostic/debugging support options
#options DIAGNOSTIC # cheap kernel consistency checks
#options DEBUG # expensive debugging checks/support
options DDB
#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
#options TRAP_PANICWAIT
#options PMAPCHECK
#options PMAPDEBUG
options MSGBUFSIZE=65536
#makeoptions DEBUG="-g"
# Compatibility options
options COMPAT_NOMID # NetBSD 0.8, 386BSD, and BSDI
options COMPAT_09 # NetBSD 0.9
options COMPAT_10 # NetBSD 1.0
options COMPAT_11 # NetBSD 1.1
options COMPAT_12 # NetBSD 1.2, 386BSD, and BSDI
options COMPAT_13 # NetBSD 1.3, 386BSD, and BSDI
options COMPAT_14 # NetBSD 1.4
options COMPAT_15 # NetBSD 1.5
options COMPAT_16 # NetBSD 1.6
options COMPAT_20 # NetBSD 2.0
options COMPAT_30 # NetBSD 3.0
options COMPAT_40 # NetBSD 4.0
options COMPAT_50 # NetBSD 5.0 compatibility.
options COMPAT_43 # 4.3BSD, 386BSD, and BSDI
#options COMPAT_386BSD_MBRPART # recognize old partition ID
#options COMPAT_LINUX # binary compatibility with Linux
#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
# Wedge support
#options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances
#options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges
# The following two options can break /etc/fstab, so handle with care
#options DKWEDGE_METHOD_BSDLABEL # Support disklabel entries as wedges
#options DKWEDGE_METHOD_MBR # Support MBR partitions as wedges
# File systems
file-system FFS # UFS
file-system EXT2FS # second extended file system (linux)
#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 CD9660 # ISO 9660 + Rock Ridge file system
file-system MSDOSFS # MS-DOS file system
file-system FDESC # /dev/fd
file-system KERNFS # /kern
file-system NULLFS # loopback file system
#file-system OVERLAY # overlay file system
file-system PROCFS # /proc
#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 SMBFS # experimental - CIFS; also needs nsmb (below)
file-system PTYFS # /dev/ptm support
file-system TMPFS # Efficient memory file-system
# File system options
options QUOTA # legacy UFS quotas
options QUOTA2 # new, in-filesystem UFS quotas
#options FFS_EI # FFS Endian Independent support
options WAPBL # File system journaling support
options NFSSERVER # Network File System server
#options FFS_NO_SNAPSHOT # No FFS snapshot support
#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
#options NFS_BOOT_DHCP
options NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP
# Networking options
#options GATEWAY # packet forwarding
options INET # IP + ICMP + TCP + UDP
options INET6 # IPV6
#options IPSEC # IP security
#options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
#options IPSEC_DEBUG # debug for IP security
#options MROUTING # IP multicast routing
#options PIM # Protocol Independent Multicast
#options ISO,TPIP # OSI
#options EON # OSI tunneling over IP
#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)
#options PFIL_HOOKS # pfil(9) packet filter hooks
#options IPFILTER_LOG # ipmon(8) log support
#options IPFILTER_LOOKUP # ippool(8) support
#options IPFILTER_COMPAT # Compat for IP-Filter
#options IPFILTER_DEFAULT_BLOCK # block all packets by default
#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
#options ALTQ # Manipulate network interfaces' output queues
#options ALTQ_BLUE # Stochastic Fair Blue
#options ALTQ_CBQ # Class-Based Queueing
#options ALTQ_CDNR # Diffserv Traffic Conditioner
#options ALTQ_FIFOQ # First-In First-Out Queue
#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
#options ALTQ_HFSC # Hierarchical Fair Service Curve
#options ALTQ_LOCALQ # Local queueing discipline
#options ALTQ_PRIQ # Priority Queueing
#options ALTQ_RED # Random Early Detection
#options ALTQ_RIO # RED with IN/OUT
#options ALTQ_WFQ # Weighted Fair Queueing
# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
#options PCIVERBOSE # verbose PCI device autoconfig messages
#options MIIVERBOSE # verbose PHY autoconfig messages
#options PCI_CONFIG_DUMP # verbosely dump PCI config space
#options SCSIVERBOSE # human readable SCSI error messages
#options USBVERBOSE # verbose USB device autoconfig messages
# Kernel root file system and dump configuration
config netbsd root on ? type ?
#
# Device configuration
#
mainbus0 at root
cpu* at mainbus0
#cfi0 at mainbus0
#nor* at cfi?
#flash* at nor?
nhpow0 at mainbus0 # NH230/231 power,LED,buttons
#options PCI_NETBSD_CONFIGURE
pci* at mainbus0 bus ?
pchb* at pci? dev ? function ? # PCI host bridge
eumb* at mainbus0
com0 at eumb? unit 0 # console at 0x4500
#com1 at eumb? unit 1
satmgr0 at eumb? unit 1 # satmgr at 0x4600
ociic* at eumb?
iic* at ociic?
rs5c372rtc* at iic? addr 0x32
s390rtc* at iic? addr 0x30
pcf8563rtc* at iic? addr 0x51
dsrtc* at iic? addr 0x68
strtc* at iic? addr 0x68
options STRTC_NO_WATCHDOG
options STRTC_NO_USERRAM
# PCI IDE controllers - see pciide(4) for supported hardware.
acardide* at pci? dev ? function ? # Acard IDE controllers
cmdide* at pci? dev ? function ? # CMD tech IDE controllers
iteide* at pci? dev ? function ? # IT Express IDE controllers
satalink* at pci? dev ? function ? # SiI SATALink controllers
viaide* at pci? dev ? function ? # VIA IDE controllers
# ATA (IDE) bus support
atabus* at ata?
# IDE drives
wd* at atabus? drive ? flags 0x0000 # the drives themselves
# PCI network interfaces
ral* at pci? dev ? function ? # Ralink Technology RT25x0 802.11a/b/g
re* at pci? dev ? function ? # Realtek 8139C+/8169/8169S/8110S
skc* at pci? dev ? function ? # Marvell Yukon Gigabit Ethernet
sk* at skc? # Marvell Yukon Gigabit Ethernet
stge* at pci? dev ? function ? # Sundance ST1023 Gigabit
tlp* at pci? dev ? function ? # DEC Tulip and similar
wm* at pci? dev ? function ? # Intel 8254x Gigabit Ethernet
inphy* at mii? phy ? # Intel 82555 PHYs
nsphy* at mii? phy ? # NS83840 PHYs
rgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs
makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
ukphy* at mii? phy ? # generic unknown PHYs
# GPIO devices
gpio* at gpiobus?
# USB Controller and Devices
ehci* at pci? dev ? function ? # Enhanced Host Controller
ohci* at pci? dev ? function ? # Open Host Controller
# USB bus support
usb* at ehci?
usb* at ohci?
# USB Hubs
uhub* at usb?
uhub* at uhub? port ?
# USB HID devices
uhidev* at uhub? port ? configuration ? interface ? # USB HID device
uthum* at uhidev? reportid ? # TEMPerHUM sensors
uhid* at uhidev? reportid ? # USB Generic HID
# USB video
uvideo* at uhub? # USB Video Class capture devices
video* at videobus?
# USB printer
ulpt* at uhub? port ? configuration ? interface ? # USB Printer
# USB Mass Storage
umass* at uhub? port ? configuration ? interface ?
wd* at umass?
scsibus* at umass?
sd* at scsibus? target ? lun ? # SCSI disk drives
cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
atapibus* at atapi?
sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
#
# Pseudo-Devices
#
#pseudo-device crypto # /dev/crypto device
#pseudo-device swcrypto # software crypto implementation
# disk/mass storage pseudo-devices
#pseudo-device ccd 4 # concatenated/striped disk devices
#pseudo-device cgd 4 # cryptographic disk devices
pseudo-device fss # file system snapshot device
#pseudo-device putter # for puffs and pud
pseudo-device raid 8 # RAIDframe disk driver
options RAID_AUTOCONFIG # auto-configuration of RAID components
# Options to enable various other RAIDframe RAID types.
#options RF_INCLUDE_EVENODD=1
#options RF_INCLUDE_RAID5_RS=1
#options RF_INCLUDE_PARITYLOGGING=1
#options RF_INCLUDE_CHAINDECLUSTER=1
#options RF_INCLUDE_INTERDECLUSTER=1
#options RF_INCLUDE_PARITY_DECLUSTERING=1
#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
pseudo-device vnd
#options VND_COMPRESSION # compressed vnd(4)
# network pseudo-devices
pseudo-device loop
pseudo-device bpfilter # packet filter
#pseudo-device carp # Common Address Redundancy Protocol
#pseudo-device ppp # Point-to-Point Protocol
#pseudo-device pppoe # PPP over Ethernet (RFC 2516)
#pseudo-device ipfilter
#pseudo-device pf # PF packet filter
#pseudo-device pflog # PF log if
#pseudo-device sl # Serial Line IP
#pseudo-device vlan # IEEE 802.1q encapsulation
#pseudo-device tun # network tunneling over tty
#pseudo-device tap # virtual Ethernet
#pseudo-device gre # generic L3 over IP tunnel
#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
#pseudo-device faith # IPv[46] tcp relay translation i/f
#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
#pseudo-device vlan # IEEE 802.1q encapsulation
#pseudo-device bridge # simple inter-network bridging
#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
#pseudo-device agr # IEEE 802.3ad link aggregation
#
# accept filters
#pseudo-device accf_data # "dataready" accept filter
#pseudo-device accf_http # "httpready" accept filter
# miscellaneous pseudo-devices
pseudo-device pty
pseudo-device clockctl # user control of clock subsystem
pseudo-device ksyms # /dev/ksyms
#pseudo-device lockstat # lock profiling
# a pseudo device needed for Coda # also needs CODA (above)
#pseudo-device vcoda 4 # coda minicache <-> venus comm.
# a pseudo device needed for SMBFS
#pseudo-device nsmb # experimental - SMB requester
# userland interface to drivers, including autoconf and properties retrieval
pseudo-device drvctl
# Veriexec
#
# a pseudo device needed for veriexec
#pseudo-device veriexec 1
#
# Uncomment the fingerprint methods below that are desired. Note that
# removing fingerprint methods will have almost no impact on the kernel
# code size.
#
#options VERIFIED_EXEC_FP_RMD160
#options VERIFIED_EXEC_FP_SHA256
#options VERIFIED_EXEC_FP_SHA384
#options VERIFIED_EXEC_FP_SHA512
#options VERIFIED_EXEC_FP_SHA1
#options VERIFIED_EXEC_FP_MD5
#options PAX_MPROTECT=0 # PaX mprotect(2) restrictions
#options PAX_ASLR=0 # PaX Address Space Layout Randomization