1#         $NetBSD: ADM5120-USB,v 1.34 2024/01/29 18:27:11 christos Exp $
2#
3# Kernel config for the ADM5120 based boards and routers,
4# including the RouterBOARD 100 series.
5
6include   "arch/evbmips/conf/std.adm5120"
7
8#ident              "GENERIC-$Revision: 1.34 $"
9
10maxusers  32
11
12options   MIPS32
13options   NOFPU               # No FPU
14options   FPEMUL              # emulate FPU insn
15options             CONSPEED=115200     # YAMON default
16#options  HZ=512              # for profiling
17
18#options  LOCKDEBUG
19options   SOSEND_COUNTERS
20options   INET_CSUM_COUNTERS
21options   TCP_CSUM_COUNTERS
22options   UDP_CSUM_COUNTERS
23options   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
30options   DDB                 # kernel dynamic debugger
31options   DDB_HISTORY_SIZE=100 # enable history editing in DDB
32makeoptions         DEBUG="-g"          # compile full symbol table
33makeoptions         CPUFLAGS="-march=4kc"         # compile full symbol table
34makeoptions         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   # size of memory disk, in blocks
39
40# Compatibility options
41#include  "conf/compat_netbsd10.config"
42#options  EXEC_ECOFF          # exec ECOFF binaries
43#options  COMPAT_ULTRIX       # binary compatibility with Ultrix
44
45# File systems
46file-system         FFS                 # Berkeley Fast Filesystem
47file-system         MFS                 # memory-based filesystem
48#file-system        EXT2FS              # second extended file system (linux)
49file-system         NFS                 # Sun NFS-compatible filesystem client
50#file-system        KERNFS              # kernel data-structure filesystem
51#file-system        NULLFS              # NULL layered filesystem
52#file-system        OVERLAY             # overlay file system
53#file-system        FDESC               # user file descriptor filesystem
54#file-system        UMAPFS              # uid/gid remapping filesystem
55#file-system        LFS                 # Log-based filesystem (still experimental)
56#file-system        PROCFS              # /proc
57#file-system        CD9660              # ISO 9660 + Rock Ridge file system
58#file-system        UNION               # union file system
59#file-system        MSDOSFS             # MS-DOS FAT filesystem(s).
60#file-system        CODA                # Coda File System; also needs vcoda (below)
61
62# File system options
63#options  FFS_EI              # FFS Endian Independent support
64#options  QUOTA               # legacy UFS quotas
65#options  QUOTA2              # new, in-filesystem UFS quotas
66#options  UFS_DIRHASH         # UFS Large Directory Hashing
67#options  UFS_EXTATTR         # Extended attribute support for UFS1
68#options  DISKLABEL_EI        # disklabel Endian Independent support
69#options  NFSSERVER # Network File System server
70
71# Alternate buffer queue strategies for better responsiveness under high
72# disk I/O load.
73#options  BUFQ_READPRIO
74options   BUFQ_PRIOCSCAN
75
76# Networking options
77#options  GATEWAY             # IP packet forwarding
78options   INET                # Internet protocols
79#options  INET6               # IPV6
80#options  IPSEC               # IP security
81#options  IPSEC_DEBUG         # debug for IP security
82#options  MROUTING  # packet forwarding of multicast packets
83#options  NETATALK  # AppleTalk (over Ethernet) protocol
84#options  PPP_BSDCOMP         # BSD-Compress compression support for PPP
85#options  PPP_DEFLATE         # Deflate compression support for PPP
86#options  PPP_FILTER          # Active filter support for PPP (requires bpf)
87
88# JIT compiler for bpfilter
89#options  SLJIT
90#options  BPFJIT
91
92# These options enable verbose messages for several subsystems.
93# Warning, these may compile large string tables into the kernel!
94#options  MIIVERBOSE          # verbose PHY autoconfig messages
95#options  PCIVERBOSE          # verbose PCI device autoconfig messages
96#options  PCI_CONFIG_DUMP     # verbosely dump PCI config space
97#options         SCSIVERBOSE     # human readable SCSI error messages
98#options  USBVERBOSE          # verbose USB device autoconfig messages
99
100options   NFS_BOOT_DHCP
101
102# Pretty much only one device to use for the root file system.
103#config             netbsd              root on ? type ?
104config              netbsd-admsw0       root on admsw0 type nfs
105
106mainbus0  at root
107
108cpu0                at mainbus?
109
110# Network pseudo-devices
111#pseudo-device      bpfilter                      # Berkeley packet filter
112pseudo-device       carp                                    # Common Address Redundancy Protocol
113pseudo-device       loop                                    # network loopback
114#pseudo-device      ppp                                     # Point-to-Point Protocol
115#pseudo-device      sl                                      # Serial Line IP
116#pseudo-device      tun                                     # network tunneling over tty
117#pseudo-device      gre                                     # generic L3 over IP tunnel
118#pseudo-device      ipip                                    # RFC 2003 IP Encapsulation
119#pseudo-device      gif                                     # RFC1933  tunnel
120#pseudo-device      faith                                   # IPv[46] tcp relay translation
121# Miscellaneous pseudo-devices
122pseudo-device       pty                                     # pseudo-terminals
123#pseudo-device      tb                  1                   # tablet line discipline
124#pseudo-device      sequencer                     # MIDI sequencer
125#options  RND_COM                                 # use "com" randomness (BROKEN)
126
127# A pseudo device needed for Coda                 # also needs CODA (above)
128#pseudo-device      vcoda                                   # coda minicache <-> venus comm.
129pseudo-device       md                                      # memory disk device (ramdisk)
130pseudo-device       ksyms
131
132obio*               at mainbus?
133gpio*               at mainbus?
134extio*              at mainbus?
135
136uart*               at obio? addr ?
137admsw*              at obio? addr ?
138
139#USB
140options             USB_DEBUG
141options             UHUB_DEBUG
142ahci*               at obio? addr ?
143usb*            at ahci?
144uhub*           at usb?
145uhub*           at uhub? port ? configuration ? interface ?
146ugen*           at uhub? port ?
147umass*          at uhub? port ?
148
149options       MSGBUFSIZE=65536
150
151scsibus* at scsi?
152sd*     at scsibus? target ? lun ?      # SCSI disk drives
153
154include "dev/veriexec.config"
155