ADM5120-NB revision 1.22 1 # $NetBSD: ADM5120-NB,v 1.22 2017/07/29 12:28:27 maxv 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.22 $"
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 options MEMSIZE="(16*1024*1024)"
18
19 #options LOCKDEBUG
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 DDB # kernel dynamic debugger
32 options DDB_HISTORY_SIZE=100 # enable history editing in DDB
33 makeoptions DEBUG="-g" # compile full symbol table
34 makeoptions CPUFLAGS="-march=4kc"
35 makeoptions COPY_SYMTAB=1 # size for embedded symbol table
36
37 #options MEMORY_DISK_HOOKS
38 #options MEMORY_DISK_IS_ROOT # Force root on ram-disk
39 #options MEMORY_DISK_ROOT_SIZE=16384 # 2 Megabytes
40
41 # Compatibility options
42 #options COMPAT_43 # compatibility with 4.3BSD binaries
43 #options COMPAT_09 # NetBSD 0.9,
44 #options COMPAT_10 # NetBSD 1.0,
45 #options COMPAT_11 # NetBSD 1.1,
46 #options COMPAT_12 # NetBSD 1.2,
47 #options COMPAT_13 # NetBSD 1.3,
48 #options COMPAT_14 # NetBSD 1.4,
49 #options COMPAT_16 # NetBSD 1.6,
50 #options COMPAT_20 # NetBSD 2.0,
51 #options COMPAT_30 # NetBSD 3.0, and
52 #options COMPAT_40 # NetBSD 4.0 binary compatibility
53 #options EXEC_ECOFF # exec ECOFF binaries
54 #options COMPAT_ULTRIX # binary compatibility with Ultrix
55
56 # File systems
57 file-system FFS # Berkeley Fast Filesystem
58 #file-system MFS # memory-based filesystem
59 #file-system EXT2FS # second extended file system (linux)
60 file-system NFS # Sun NFS-compatible filesystem client
61 #file-system KERNFS # kernel data-structure filesystem
62 #file-system NULLFS # NULL layered filesystem
63 #file-system OVERLAY # overlay file system
64 #file-system FDESC # user file descriptor filesystem
65 #file-system UMAPFS # uid/gid remapping filesystem
66 #file-system LFS # Log-based filesystem (still experimental)
67 #file-system PROCFS # /proc
68 #file-system CD9660 # ISO 9660 + Rock Ridge file system
69 #file-system UNION # union file system
70 #file-system MSDOSFS # MS-DOS FAT filesystem(s).
71 #file-system CODA # Coda File System; also needs vcoda (below)
72
73 # File system options
74 #options NFSSERVER # Sun NFS-compatible filesystem server
75 #options QUOTA # legacy UFS quotas
76 #options QUOTA2 # new, in-filesystem UFS quotas
77 #options DISKLABEL_EI # disklabel Endian Independent support
78 #options FFS_EI # FFS Endian Independent support
79 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
80 # immutable) behave as system flags.
81
82 # Networking options
83 options GATEWAY # IP packet forwarding
84 options INET # Internet protocols
85 options NETGRAPH # Netgraph
86 options NETGRAPH_ASYNC
87 options NETGRAPH_BPF
88 options NETGRAPH_CISCO
89 options NETGRAPH_ECHO
90 options NETGRAPH_EIFACE
91 options NETGRAPH_ETF
92 options NETGRAPH_ETHER
93 options NETGRAPH_FRAME_RELAY
94 options NETGRAPH_HOLE
95 options NETGRAPH_HUB
96 options NETGRAPH_IFACE
97 options NETGRAPH_KSOCKET
98 options NETGRAPH_L2TP
99 options NETGRAPH_LMI
100 options NETGRAPH_ONE2MANY
101 options NETGRAPH_PPP
102 options NETGRAPH_PPPOE
103 options NETGRAPH_PPTPGRE
104 options NETGRAPH_RFC1490
105 options NETGRAPH_TEE
106 options NETGRAPH_UI
107 options NETGRAPH_VJC
108 options NETGRAPH_VLAN
109 #options INET6 # IPV6
110 #options IPSEC # IP security
111 #options IPSEC_DEBUG # debug for IP security
112 #options MROUTING # packet forwarding of multicast packets
113 #options NETATALK # AppleTalk (over Ethernet) protocol
114 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
115 #options PPP_DEFLATE # Deflate compression support for PPP
116 #options PPP_FILTER # Active filter support for PPP (requires bpf)
117 #options IPFILTER_LOG # ipmon(8) log support
118
119 # JIT compiler for bpfilter
120 #options SLJIT
121 #options BPFJIT
122
123 # These options enable verbose messages for several subsystems.
124 # Warning, these may compile large string tables into the kernel!
125 #options MIIVERBOSE # verbose PHY autoconfig messages
126 #options PCIVERBOSE # verbose PCI device autoconfig messages
127 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
128 #options SCSIVERBOSE # human readable SCSI error messages
129 #options USBVERBOSE # verbose USB device autoconfig messages
130
131 options NFS_BOOT_DHCP
132
133 # Pretty much only one device to use for the root file system.
134 config netbsd-admsw0 root on admsw0 type nfs
135
136 mainbus0 at root
137
138 cpu0 at mainbus?
139
140 # Network pseudo-devices
141 pseudo-device bpfilter # Berkeley packet filter
142 pseudo-device loop # network loopback
143 #pseudo-device ppp # Point-to-Point Protocol
144 #pseudo-device sl # Serial Line IP
145 #pseudo-device strip # Starmode Radio IP (Metricom)
146 #pseudo-device tun # network tunneling over tty
147 #pseudo-device gre # generic L3 over IP tunnel
148 #pseudo-device ipip # RFC 2003 IP Encapsulation
149 #pseudo-device gif # RFC1933 tunnel
150 #pseudo-device faith # IPv[46] tcp relay translation
151 # Miscellaneous pseudo-devices
152 pseudo-device pty # pseudo-terminals
153 #pseudo-device sequencer # MIDI sequencer
154
155 # A pseudo device needed for Coda # also needs CODA (above)
156 #pseudo-device vcoda # coda minicache <-> venus comm.
157 pseudo-device ksyms
158
159 obio* at mainbus?
160 extio* at mainbus?
161 gpio* at mainbus?
162
163 uart* at obio? addr ?
164 admsw* at obio? addr ?
165 #admflash* at obio? addr ?
166 #options VND_COMPRESSION
167