GENERIC revision 1.75 1 # $NetBSD: GENERIC,v 1.75 2020/09/27 13:48:50 roy Exp $
2 #
3 # GENERIC machine description file
4 #
5 # This machine description file is used to generate the default NetBSD
6 # kernel. The generic kernel does not include all options, subsystems
7 # and device drivers, but should be useful for most applications.
8 #
9 # The machine description file can be customised for your specific
10 # machine to reduce the kernel size and improve its performance.
11 #
12 # For further information on compiling NetBSD kernels, see the config(8)
13 # man page.
14 #
15 # For further information on hardware support for this architecture, see
16 # the intro(4) man page. For further information about kernel options
17 # for this architecture, see the options(4) man page. For an explanation
18 # of each device driver in this file see the section 4 man page for the
19 # device.
20
21 include "arch/cesfic/conf/std.cesfic"
22
23 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24
25 makeoptions COPTS="-O2 -fno-reorder-blocks -fno-omit-frame-pointer"
26 # See share/mk/sys.mk. -fno-omit-frame-pointer is necessary for
27 # backtraces in DDB.
28
29 # Need to set locally
30 maxusers 32
31
32 #options LEDEBUG
33
34 options FPSP
35
36 # Standard system options
37 options USERCONF # userconf(4) support
38 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
39 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
40
41 # Alternate buffer queue strategies for better responsiveness under high
42 # disk I/O load.
43 #options BUFQ_READPRIO
44 options BUFQ_PRIOCSCAN
45
46 include "conf/compat_netbsd09.config"
47
48 #options SYSVSHM # System V-style shared memory
49 #options SYSVSEM # System V-style semaphores
50 #options SYSVMSG # System V-style message queues
51 options KTRACE # system call tracing support
52 #options NKMEMCLUSTERS=1024 # 4K pages in kernel malloc pool
53 options COMPAT_SUNOS
54
55 # Filesystems
56 #file-system FFS # fast filesystem
57 #file-system CD9660 # CD-ROM ISO-9660 filesystem
58 file-system NFS # Network filesystem client
59 #file-system UNION # Union filesystem (req. for FDESC)
60 #file-system KERNFS # kernel data-structure filesystem
61 #file-system FDESC # user file descriptor filesystem
62 #file-system PROCFS # /proc filesystem
63 #file-system MFS # Memory-based filesystem
64 file-system PTYFS # /dev/pts/N support
65 #file-system TMPFS # Efficient memory file-system
66 #file-system UDF # experimental - OSTA UDF CD/DVD file-system
67
68 # Filesystem options
69 options FIFO # POSIX fifo support (in all filesystems)
70 #options QUOTA # legacy UFS quotas
71 #options QUOTA2 # new, in-filesystem UFS quotas
72 #options NFSSERVER # Network filesystem server
73 #options UFS_EXTATTR # Extended attribute support for UFS1
74
75 # Networking options
76 options INET # Internet protocols
77 #options GATEWAY # IP forwarding
78 #options MROUTING # Multicast routing
79 #options PIM # Protocol Independent Multicast
80 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
81
82 #options ALTQ # Manipulate network interfaces' output queues
83 #options ALTQ_BLUE # Stochastic Fair Blue
84 #options ALTQ_CBQ # Class-Based Queueing
85 #options ALTQ_CDNR # Diffserv Traffic Conditioner
86 #options ALTQ_FIFOQ # First-In First-Out Queue
87 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
88 #options ALTQ_HFSC # Hierarchical Fair Service Curve
89 #options ALTQ_LOCALQ # Local queueing discipline
90 #options ALTQ_PRIQ # Priority Queueing
91 #options ALTQ_RED # Random Early Detection
92 #options ALTQ_RIO # RED with IN/OUT
93 #options ALTQ_WFQ # Weighted Fair Queueing
94
95 options COMPAT_M68K4K # compat. with NetBSD/m68k4k binaries
96 options COMPAT_AOUT_M68K # support for NetBSD a.out executables
97
98 # Debugging options
99 #options DIAGNOSTIC # Extra kernel sanity checks
100 #options DEBUG # Enable misc. kernel debugging code
101 options DDB # Kernel Dynamic Debugger
102 #options KGDB
103 makeoptions DEBUG="-g" # netbsd.gdb with full debugging symbols
104
105 options NFS_BOOT_DHCP
106
107 config netbsd root on ? type ?
108
109 mainbus0 at root # root "bus"
110
111 zsc* at mainbus0
112 zstty* at zsc? channel ?
113
114 le* at mainbus0 # LANCE ethernet interfaces
115
116 #
117 # accept filters
118 pseudo-device accf_data # "dataready" accept filter
119 pseudo-device accf_http # "httpready" accept filter
120
121 pseudo-device pty # pseudo ptys
122 #pseudo-device sl # SLIP network interfaces
123 #pseudo-device ppp # PPP network interfaces
124 #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
125 #pseudo-device bpfilter # Berkeley packet filter
126 pseudo-device carp # Common Address Redundancy Protocol
127 #pseudo-device bridge # simple inter-network bridging
128 #pseudo-device vether # Virtual Ethernet for bridge
129 #pseudo-device vnd # vnode pseudo-disks
130 #options VND_COMPRESSION # compressed vnd(4)
131 #pseudo-device ccd # concatenated disk devices
132 #pseudo-device cgd # cryptographic disk devices
133 pseudo-device loop # loopback network interface
134 #pseudo-device npf # NPF packet filter
135 pseudo-device clockctl # user control of clock subsystem
136 pseudo-device ksyms # /dev/ksyms
137
138 include "dev/veriexec.config"
139