168 lines
6.0 KiB
Plaintext
168 lines
6.0 KiB
Plaintext
# $NetBSD: ADM5120-USB,v 1.2 2007/04/03 21:54:01 dyoung Exp $
|
|
#
|
|
# Kernel config for the Alchemy Semiconductor (AMD) PB1000, PB1500,
|
|
# DBAu1000 and DBAu1500 evaluation boards.
|
|
|
|
include "arch/evbmips/conf/std.adm5120"
|
|
|
|
#ident "GENERIC-$Revision: 1.2 $"
|
|
|
|
maxusers 32
|
|
|
|
options MIPS32
|
|
options NOFPU # No FPU
|
|
options SOFTFLOAT # emulate FPU insn
|
|
options CONSPEED=115200 # YAMON default
|
|
options HZ=512 # for profiling
|
|
|
|
#options LOCKDEBUG
|
|
options SOSEND_LOAN
|
|
options SOSEND_COUNTERS
|
|
options INET_CSUM_COUNTERS
|
|
options TCP_CSUM_COUNTERS
|
|
options UDP_CSUM_COUNTERS
|
|
options TCP_OUTPUT_COUNTERS
|
|
|
|
#options NTP # network time protocol
|
|
|
|
# Debugging options
|
|
##options DIAGNOSTIC # extra kernel sanity checking
|
|
##options DEBUG # extra kernel debugging support
|
|
#options KMEMSTATS # kernel memory statistics (vmstat -m)
|
|
options DDB # kernel dynamic debugger
|
|
options DDB_HISTORY_SIZE=100 # enable history editing in DDB
|
|
makeoptions DEBUG="-g" # compile full symbol table
|
|
makeoptions CPUFLAGS="-march=4kc" # compile full symbol table
|
|
options SYMTAB_SPACE=180000 # size for embedded symbol table
|
|
|
|
#options MEMORY_DISK_HOOKS
|
|
#options MEMORY_DISK_IS_ROOT # Force root on ram-disk
|
|
#options MEMORY_DISK_ROOT_SIZE=16384 # 2 Megabytes
|
|
|
|
# Compatibility options
|
|
#options COMPAT_43 # compatibility with 4.3BSD binaries
|
|
#options COMPAT_10 # NetBSD 0.9 binary compatibility
|
|
#options COMPAT_10 # NetBSD 1.0 binary compatibility
|
|
#options COMPAT_11 # NetBSD 1.1 binary compatibility
|
|
#options COMPAT_12 # NetBSD 1.2 binary compatibility
|
|
#options COMPAT_13 # NetBSD 1.3 binary compatibility
|
|
#options COMPAT_14 # NetBSD 1.4 binary compatibility
|
|
#options COMPAT_16 # NetBSD 1.6 binary compatibility
|
|
#options EXEC_ECOFF # exec ECOFF binaries
|
|
#options COMPAT_ULTRIX # binary compatibility with Ultrix
|
|
|
|
# File systems
|
|
file-system FFS # Berkeley Fast Filesystem
|
|
file-system MFS # memory-based filesystem
|
|
#file-system EXT2FS # second extended file system (linux)
|
|
file-system NFS # Sun NFS-compatible filesystem client
|
|
#file-system KERNFS # kernel data-structure filesystem
|
|
#file-system NULLFS # NULL layered filesystem
|
|
#file-system OVERLAY # overlay file system
|
|
#file-system FDESC # user file descriptor filesystem
|
|
#file-system UMAPFS # uid/gid remapping filesystem
|
|
#file-system LFS # Log-based filesystem (still experimental)
|
|
#file-system PORTAL # portal filesystem (still experimental)
|
|
#file-system PROCFS # /proc
|
|
#file-system CD9660 # ISO 9660 + Rock Ridge file system
|
|
#file-system UNION # union file system
|
|
#file-system MSDOSFS # MS-DOS FAT filesystem(s).
|
|
#file-system CODA # Coda File System; also needs vcoda (below)
|
|
|
|
# File system options
|
|
#options NFSSERVER # Sun NFS-compatible filesystem server
|
|
#options QUOTA # FFS quotas
|
|
#options FFS_EI # FFS Endian Independant support
|
|
#options SOFTDEP # FFS soft updates support.
|
|
#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
|
|
# immutable) behave as system flags.
|
|
|
|
# Networking options
|
|
#options GATEWAY # IP packet forwarding
|
|
options INET # Internet protocols
|
|
#options INET6 # IPV6
|
|
#options IPSEC # IP security
|
|
#options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
|
|
#options IPSEC_DEBUG # debug for IP security
|
|
#options MROUTING # packet forwarding of multicast packets
|
|
#options NS # Xerox NS networking
|
|
#options NSIP # Xerox NS tunneling over IP
|
|
#options ISO,TPIP # OSI networking
|
|
#options EON # OSI tunneling over IP
|
|
#options CCITT,LLC,HDLC # X.25
|
|
#options NETATALK # AppleTalk (over Ethernet) protocol
|
|
#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
|
|
|
|
# Compatibility with 4.2BSD implementation of TCP/IP. Not recommended.
|
|
#options TCP_COMPAT_42
|
|
|
|
# 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 PCIVERBOSE # verbose PCI device 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
|
|
|
|
options NFS_BOOT_DHCP
|
|
|
|
# Pretty much only one device to use for the root file system.
|
|
#config netbsd root on ? type ?
|
|
config netbsd-admsw0 root on admsw0 type nfs
|
|
|
|
mainbus0 at root
|
|
|
|
cpu0 at mainbus?
|
|
|
|
# Network pseudo-devices
|
|
#pseudo-device bpfilter 8 # Berkeley packet filter
|
|
pseudo-device loop # network loopback
|
|
#pseudo-device ppp 2 # Point-to-Point Protocol
|
|
#pseudo-device sl 2 # Serial Line IP
|
|
#pseudo-device strip 2 # Starmode Radio IP (Metricom)
|
|
#pseudo-device tun 2 # network tunneling over tty
|
|
#pseudo-device gre 2 # generic L3 over IP tunnel
|
|
#pseudo-device ipip 2 # RFC 2003 IP Encapsulation
|
|
#pseudo-device gif 4 # RFC1933 tunnel
|
|
#pseudo-device faith 1 # IPv[46] tcp relay translation
|
|
# Miscellaneous pseudo-devices
|
|
pseudo-device pty # pseudo-terminals
|
|
#pseudo-device tb 1 # tablet line discipline
|
|
#pseudo-device sequencer 1 # MIDI sequencer
|
|
# rnd works; RND_COM does not on port i386 yet.
|
|
pseudo-device rnd # /dev/random & kernel generator
|
|
#options RND_COM # use "com" randomness (BROKEN)
|
|
|
|
# A pseudo device needed for Coda # also needs CODA (above)
|
|
#pseudo-device vcoda 4 # coda minicache <-> venus comm.
|
|
pseudo-device md 1 # memory disk device (ramdisk)
|
|
pseudo-device ksyms
|
|
|
|
obio* at mainbus?
|
|
gpio* at mainbus?
|
|
extio* at mainbus?
|
|
|
|
uart* at obio? addr ?
|
|
admsw* at obio? addr ?
|
|
|
|
#USB
|
|
options USB_DEBUG
|
|
options UHUB_DEBUG
|
|
ahci* at obio? addr ?
|
|
usb* at ahci?
|
|
uhub* at usb?
|
|
uhub* at uhub? port ? configuration ? interface ?
|
|
ugen* at uhub? port ?
|
|
umass* at uhub? port ?
|
|
wd* at umass?
|
|
|
|
options MSGBUFSIZE=65536
|
|
|
|
scsibus* at scsi?
|
|
sd* at scsibus? target ? lun ? # SCSI disk drives
|
|
|