AP30 revision 1.41 1 # $NetBSD: AP30,v 1.41 2020/09/27 13:48:50 roy Exp $
2
3 include "arch/evbmips/conf/std.atheros"
4
5 #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
6
7 #ident "AP30-$Revision: 1.41 $"
8
9 maxusers 32
10
11 makeoptions COPTS="-Os" # Optimise for space. Implies -O2
12 makeoptions ATH_MACHINE_HAL=ap30
13
14 options MIPS32
15 options NOFPU # No FPU
16 options FPEMUL # emulate FPU insn
17 options WISOC_AR5312 # WiSoC select
18
19 # Options for necessary to use MD
20 #options MEMORY_DISK_HOOKS
21 #options MEMORY_DISK_IS_ROOT # force root on memory disk
22 #options MEMORY_DISK_SERVER=0 # no userspace memory disk support
23 #options MEMORY_DISK_ROOT_SIZE=6144 # size of memory disk, in blocks
24 #options MEMORY_DISK_ROOT_SIZE=16384 # size of memory disk, in blocks
25 #options MEMORY_DISK_ROOT_SIZE=7300
26
27 # Size reduction options
28 options VNODE_OP_NOINLINE
29 options PIPE_SOCKETPAIR
30 options SOSEND_NO_LOAN
31
32 # Standard system options
33 #options KTRACE # system call tracing support
34 #options SYSVMSG # System V message queues
35 #options SYSVSEM # System V semaphores
36 #options SYSVSHM # System V shared memory
37 options NTP # network time protocol
38
39 # Debugging options
40 options DIAGNOSTIC # extra kernel sanity checking
41 #options DEBUG # extra kernel debugging support
42 #options USERCONF # userconf(4) support
43 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
44 options DDB # kernel dynamic debugger
45 options DDB_HISTORY_SIZE=100 # enable history editing in DDB
46 makeoptions DEBUG="-g" # compile full symbol table
47 makeoptions COPY_SYMTAB=1 # size for embedded symbol table
48
49 # Compatibility options
50 include "conf/compat_netbsd16.config"
51
52 #options EXEC_ECOFF # exec ECOFF binaries
53 #options COMPAT_ULTRIX # binary compatibility with Ultrix
54
55 # File systems
56 file-system FFS # Berkeley Fast Filesystem
57 file-system MFS # memory-based filesystem
58 #file-system EXT2FS # second extended file system (linux)
59 file-system NFS # Sun NFS-compatible filesystem client
60 #file-system KERNFS # kernel data-structure filesystem
61 #file-system NULLFS # NULL layered filesystem
62 #file-system OVERLAY # overlay file system
63 #file-system FDESC # user file descriptor filesystem
64 #file-system UMAPFS # uid/gid remapping filesystem
65 #file-system LFS # Log-based filesystem (still experimental)
66 #file-system PROCFS # /proc
67 #file-system CD9660 # ISO 9660 + Rock Ridge file system
68 #file-system UNION # union file system
69 #file-system MSDOSFS # MS-DOS FAT filesystem(s).
70 #file-system CODA # Coda File System; also needs vcoda (below)
71 #file-system PTYFS # /dev/pts/N support
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 FFS_EI # FFS Endian Independent support
78 options WAPBL # File system journaling support
79 options FFS_NO_SNAPSHOT # No FFS snapshot support
80 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
81 # immutable) behave as system flags.
82
83 # Alternate buffer queue strategies for better responsiveness under high
84 # disk I/O load.
85 #options BUFQ_READPRIO
86 options BUFQ_PRIOCSCAN
87
88 # Networking options
89 #options GATEWAY # IP packet forwarding
90 options INET # Internet protocols
91 #options INET6 # IPV6
92 #options IPSEC # IP security
93 #options IPSEC_DEBUG # debug for IP security
94 #options MROUTING # packet forwarding of multicast packets
95 #options PIM # Protocol Independent Multicast
96 #options NETATALK # AppleTalk (over Ethernet) protocol
97 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
98 #options PPP_DEFLATE # Deflate compression support for PPP
99 #options PPP_FILTER # Active filter support for PPP (requires bpf)
100
101 # JIT compiler for bpfilter
102 #options SLJIT
103 #options BPFJIT
104
105 # These options enable verbose messages for several subsystems.
106 # Warning, these may compile large string tables into the kernel!
107 options MIIVERBOSE # verbose PHY autoconfig messages
108
109 # Bitmask for enabling the PCI IDE channels in the southbridge.
110 # Set bit 0 (0x01) for channel 0, bit 1 (0x02) for channel 1.
111 #
112 # Do this if your firmware (usually PMON and YAMON) doens't enable the IDE
113 # channels for you (thus causing the NetBSD `pciide' driver to ignore them).
114 #options PCI_NETBSD_ENABLE_IDE=0x1
115
116 options NFS_BOOT_DHCP
117 options NFS_V2_ONLY
118
119 config netbsd root on ? type ?
120
121
122 mainbus0 at root
123 cpu0 at mainbus?
124 wdog0 at mainbus?
125 arbus0 at mainbus?
126
127 com* at arbus? addr ?
128 ae* at arbus? addr ?
129 ath* at arbus? addr ?
130 athflash* at arbus? addr ?
131 argpio* at arbus? addr ?
132 gpio* at argpio?
133
134 # no RTC! so fake with a stub (required to prevent evbmips panic)
135
136
137 # MII/PHY support
138 #acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs
139 #amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs
140 #dmphy* at mii? phy ? # Davicom DM9101 PHYs
141 #glxtphy* at mii? phy ? # Level One LXT-1000 PHYs
142 #gphyter* at mii? phy ? # NS83861 Gig-E PHY
143 #icsphy* at mii? phy ? # Integrated Circuit Systems ICS1890
144 #lxtphy* at mii? phy ? # Level One LXT-970 PHYs
145 #makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
146 #nsphy* at mii? phy ? # NS83840 PHYs
147 #nsphyter* at mii? phy ? # NS83843 PHYs
148 #pnaphy* at mii? phy ? # generic HomePNA PHYs
149 #qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
150 #sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
151 #tlphy* at mii? phy ? # ThunderLAN PHYs
152 #tqphy* at mii? phy ? # TDK Semiconductor PHYs
153 rlphy* at mii? phy ? # RealTek PHYs
154 ukphy* at mii? phy ? # generic unknown PHYs
155
156
157 # Pseudo-devices
158
159 # Disk/mass storage pseudo-devices
160 #pseudo-device ccd # concatenated disk devices
161 #pseudo-device raid # RAIDframe disk driver
162 #pseudo-device fss # file system snapshot device
163 #pseudo-device md # memory disk device (ramdisk)
164 #pseudo-device vnd # disk-like interface to files
165
166 # Network pseudo-devices
167 pseudo-device bpfilter # Berkeley packet filter
168 pseudo-device carp # Common Address Redundancy Protocol
169 #pseudo-device npf # NPF packet filter
170 pseudo-device loop # network loopback
171 #pseudo-device ppp # Point-to-Point Protocol
172 #pseudo-device sl # Serial Line IP
173 #pseudo-device tun # network tunneling over tty
174 #pseudo-device tap # virtual Ethernet
175 #pseudo-device gre # generic L3 over IP tunnel
176 #pseudo-device ipip # RFC 2003 IP Encapsulation
177 #pseudo-device gif # RFC1933 tunnel
178 #pseudo-device faith # IPv[46] tcp relay translation
179 #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
180 #pseudo-device vlan # IEEE 802.1q encapsulation
181 #pseudo-device bridge # simple inter-network bridging
182 #pseudo-device vether # Virtual Ethernet for bridge
183
184 # Miscellaneous pseudo-devices
185 pseudo-device pty # pseudo-terminals
186 pseudo-device clockctl # user control of clock subsystem
187 pseudo-device ksyms # /dev/ksyms
188
189 # A pseudo device needed for Coda # also needs CODA (above)
190 #pseudo-device vcoda # coda minicache <-> venus comm.
191
192 include "dev/veriexec.config"
193