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