ADM5120-USB revision 1.7 1 # $NetBSD: ADM5120-USB,v 1.7 2011/03/06 17:08:23 bouyer Exp $
2 #
3 # Kernel config for the Alchemy Semiconductor (AMD) PB1000, PB1500,
4 # DBAu1000 and DBAu1500 evaluation boards.
5
6 include "arch/evbmips/conf/std.adm5120"
7
8 #ident "GENERIC-$Revision: 1.7 $"
9
10 maxusers 32
11
12 options MIPS32
13 options NOFPU # No FPU
14 options FPEMUL # emulate FPU insn
15 options CONSPEED=115200 # YAMON default
16 options HZ=512 # for profiling
17
18 #options LOCKDEBUG
19 options SOSEND_LOAN
20 options SOSEND_COUNTERS
21 options INET_CSUM_COUNTERS
22 options TCP_CSUM_COUNTERS
23 options UDP_CSUM_COUNTERS
24 options TCP_OUTPUT_COUNTERS
25
26 #options NTP # network time protocol
27
28 # Debugging options
29 ##options DIAGNOSTIC # extra kernel sanity checking
30 ##options DEBUG # extra kernel debugging support
31 #options KMEMSTATS # kernel memory statistics (vmstat -m)
32 options DDB # kernel dynamic debugger
33 options DDB_HISTORY_SIZE=100 # enable history editing in DDB
34 makeoptions DEBUG="-g" # compile full symbol table
35 makeoptions CPUFLAGS="-march=4kc" # compile full symbol table
36 options SYMTAB_SPACE=180000 # size for embedded symbol table
37
38 #options MEMORY_DISK_HOOKS
39 #options MEMORY_DISK_IS_ROOT # Force root on ram-disk
40 #options MEMORY_DISK_ROOT_SIZE=16384 # 2 Megabytes
41
42 # Compatibility options
43 #options COMPAT_43 # compatibility with 4.3BSD binaries
44 #options COMPAT_10 # NetBSD 0.9 binary compatibility
45 #options COMPAT_10 # NetBSD 1.0 binary compatibility
46 #options COMPAT_11 # NetBSD 1.1 binary compatibility
47 #options COMPAT_12 # NetBSD 1.2 binary compatibility
48 #options COMPAT_13 # NetBSD 1.3 binary compatibility
49 #options COMPAT_14 # NetBSD 1.4 binary compatibility
50 #options COMPAT_16 # NetBSD 1.6 binary compatibility
51 #options EXEC_ECOFF # exec ECOFF binaries
52 #options COMPAT_ULTRIX # binary compatibility with Ultrix
53
54 # File systems
55 file-system FFS # Berkeley Fast Filesystem
56 file-system MFS # memory-based filesystem
57 #file-system EXT2FS # second extended file system (linux)
58 file-system NFS # Sun NFS-compatible filesystem client
59 #file-system KERNFS # kernel data-structure filesystem
60 #file-system NULLFS # NULL layered filesystem
61 #file-system OVERLAY # overlay file system
62 #file-system FDESC # user file descriptor filesystem
63 #file-system UMAPFS # uid/gid remapping filesystem
64 #file-system LFS # Log-based filesystem (still experimental)
65 #file-system PROCFS # /proc
66 #file-system CD9660 # ISO 9660 + Rock Ridge file system
67 #file-system UNION # union file system
68 #file-system MSDOSFS # MS-DOS FAT filesystem(s).
69 #file-system CODA # Coda File System; also needs vcoda (below)
70
71 # File system options
72 #options NFSSERVER # Sun NFS-compatible filesystem server
73 #options QUOTA # legacy UFS quotas
74 #options QUOTA2 # new, in-filesystem UFS quotas
75 #options FFS_EI # FFS Endian Independant support
76 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
77 # immutable) behave as system flags.
78
79 # Networking options
80 #options GATEWAY # IP packet forwarding
81 options INET # Internet protocols
82 #options INET6 # IPV6
83 #options IPSEC # IP security
84 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
85 #options IPSEC_DEBUG # debug for IP security
86 #options MROUTING # packet forwarding of multicast packets
87 #options NS # Xerox NS networking
88 #options NSIP # Xerox NS tunneling over IP
89 #options ISO,TPIP # OSI networking
90 #options EON # OSI tunneling over IP
91 #options CCITT,LLC,HDLC # X.25
92 #options NETATALK # AppleTalk (over Ethernet) protocol
93 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
94 #options PPP_DEFLATE # Deflate compression support for PPP
95 #options PPP_FILTER # Active filter support for PPP (requires bpf)
96 #options PFIL_HOOKS # pfil(9) packet filter hooks
97 #options IPFILTER_LOG # ipmon(8) log support
98
99 # Compatibility with 4.2BSD implementation of TCP/IP. Not recommended.
100 #options TCP_COMPAT_42
101
102 # These options enable verbose messages for several subsystems.
103 # Warning, these may compile large string tables into the kernel!
104 #options MIIVERBOSE # verbose PHY autoconfig messages
105 #options PCIVERBOSE # verbose PCI device autoconfig messages
106 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
107 #options SCSIVERBOSE # human readable SCSI error messages
108 #options USBVERBOSE # verbose USB device autoconfig messages
109
110 options NFS_BOOT_DHCP
111
112 # Pretty much only one device to use for the root file system.
113 #config netbsd root on ? type ?
114 config netbsd-admsw0 root on admsw0 type nfs
115
116 mainbus0 at root
117
118 cpu0 at mainbus?
119
120 # Network pseudo-devices
121 #pseudo-device bpfilter 8 # Berkeley packet filter
122 pseudo-device loop # network loopback
123 #pseudo-device ppp 2 # Point-to-Point Protocol
124 #pseudo-device sl 2 # Serial Line IP
125 #pseudo-device strip 2 # Starmode Radio IP (Metricom)
126 #pseudo-device tun 2 # network tunneling over tty
127 #pseudo-device gre 2 # generic L3 over IP tunnel
128 #pseudo-device ipip 2 # RFC 2003 IP Encapsulation
129 #pseudo-device gif 4 # RFC1933 tunnel
130 #pseudo-device faith 1 # IPv[46] tcp relay translation
131 # Miscellaneous pseudo-devices
132 pseudo-device pty # pseudo-terminals
133 #pseudo-device tb 1 # tablet line discipline
134 #pseudo-device sequencer 1 # MIDI sequencer
135 # rnd works; RND_COM does not on port i386 yet.
136 pseudo-device rnd # /dev/random & kernel generator
137 #options RND_COM # use "com" randomness (BROKEN)
138
139 # A pseudo device needed for Coda # also needs CODA (above)
140 #pseudo-device vcoda 4 # coda minicache <-> venus comm.
141 pseudo-device md # memory disk device (ramdisk)
142 pseudo-device ksyms
143
144 obio* at mainbus?
145 gpio* at mainbus?
146 extio* at mainbus?
147
148 uart* at obio? addr ?
149 admsw* at obio? addr ?
150
151 #USB
152 options USB_DEBUG
153 options UHUB_DEBUG
154 ahci* at obio? addr ?
155 usb* at ahci?
156 uhub* at usb?
157 uhub* at uhub? port ? configuration ? interface ?
158 ugen* at uhub? port ?
159 umass* at uhub? port ?
160 wd* at umass?
161
162 options MSGBUFSIZE=65536
163
164 scsibus* at scsi?
165 sd* at scsibus? target ? lun ? # SCSI disk drives
166
167