]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/riscv/conf/GENERIC
Make 'device crypto' lines more consistent.
[FreeBSD/FreeBSD.git] / sys / riscv / conf / GENERIC
1 #
2 # GENERIC -- Generic kernel configuration file for FreeBSD/RISC-V
3 #
4 # For more information on this file, please read the config(5) manual page,
5 # and/or the handbook section on Kernel Configuration Files:
6 #
7 #    https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8 #
9 # The handbook is also available locally in /usr/share/doc/handbook
10 # if you've installed the doc distribution, otherwise always see the
11 # FreeBSD World Wide Web server (https://www.FreeBSD.org/) for the
12 # latest information.
13 #
14 # An exhaustive list of options and more detailed explanations of the
15 # device lines is also present in the ../../conf/NOTES and NOTES files.
16 # If you are in doubt as to the purpose or necessity of a line, check first
17 # in NOTES.
18 #
19 # $FreeBSD$
20
21 cpu             RISCV
22 ident           GENERIC
23
24 makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
25 # makeoptions   WITH_CTF=1              # Run ctfconvert(1) for DTrace support
26
27 # FIXME: linker error. "--relax and -r may not be used together"
28 makeoptions     WITHOUT_MODULES="usb otusfw mwlfw ispfw mwlfw ralfw rtwnfw"
29 # makeoptions   NO_MODULES
30
31 options         SCHED_ULE               # ULE scheduler
32 options         PREEMPTION              # Enable kernel thread preemption
33 # options       VIMAGE                  # Subsystem virtualization, e.g. VNET
34 options         INET                    # InterNETworking
35 options         INET6                   # IPv6 communications protocols
36 options         TCP_HHOOK               # hhook(9) framework for TCP
37 options         IPSEC                   # IP (v4/v6) security
38 options         IPSEC_SUPPORT           # Allow kldload of ipsec and tcpmd5
39 options         TCP_OFFLOAD             # TCP offload
40 options         SCTP                    # Stream Control Transmission Protocol
41 options         FFS                     # Berkeley Fast Filesystem
42 options         SOFTUPDATES             # Enable FFS soft updates support
43 options         UFS_ACL                 # Support for access control lists
44 options         UFS_DIRHASH             # Improve performance on big directories
45 options         UFS_GJOURNAL            # Enable gjournal-based UFS journaling
46 options         QUOTA                   # Enable disk quotas for UFS
47 options         NFSCL                   # Network Filesystem Client
48 options         NFSD                    # Network Filesystem Server
49 options         NFSLOCKD                # Network Lock Manager
50 options         NFS_ROOT                # NFS usable as /, requires NFSCL
51 options         MSDOSFS                 # MSDOS Filesystem
52 options         CD9660                  # ISO 9660 Filesystem
53 options         PROCFS                  # Process filesystem (requires PSEUDOFS)
54 options         PSEUDOFS                # Pseudo-filesystem framework
55 options         GEOM_PART_GPT           # GUID Partition Tables.
56 # options       GEOM_RAID               # Soft RAID functionality.
57 options         GEOM_LABEL              # Provides labelization
58 options         SCSI_DELAY=5000         # Delay (in ms) before probing SCSI
59 options         KTRACE                  # ktrace(1) support
60 # options       STACK                   # stack(9) support
61 options         SYSVSHM                 # SYSV-style shared memory
62 options         SYSVMSG                 # SYSV-style message queues
63 options         SYSVSEM                 # SYSV-style semaphores
64 options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
65 options         PRINTF_BUFR_SIZE=128    # Prevent printf output being interspersed.
66 options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
67 # options       HWPMC_HOOKS             # Necessary kernel hooks for hwpmc(4)
68 options         AUDIT                   # Security event auditing
69 options         CAPABILITY_MODE         # Capsicum capability mode
70 options         CAPABILITIES            # Capsicum capabilities
71 options         MAC                     # TrustedBSD MAC Framework
72 options         KDTRACE_FRAME           # Ensure frames are compiled in
73 options         KDTRACE_HOOKS           # Kernel DTrace hooks
74 options         FPE                     # Floating-point extension support
75 options         RACCT                   # Resource accounting framework
76 options         RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
77 options         RCTL                    # Resource limits
78 options         SMP
79 options         INTRNG
80
81 # RISC-V SBI console
82 device          rcons
83
84 # VirtIO support
85 device          virtio                  # Generic VirtIO bus (required)
86 device          virtio_pci              # VirtIO PCI device
87 device          vtnet                   # VirtIO Ethernet device
88 device          virtio_blk              # VirtIO Block device
89 device          virtio_mmio             # VirtIO MMIO bus
90
91 # Serial (COM) ports
92 device          uart            # Generic UART driver
93 device          uart_ns8250     # ns8250-type UART driver
94
95 # Uncomment for memory disk
96 # options       MD_ROOT
97 # options       MD_ROOT_SIZE=32768      # 32MB ram disk
98 # makeoptions   MFS_IMAGE=/path/to/img
99 # options       ROOTDEVNAME=\"ufs:/dev/md0\"
100
101 # Uncomment for virtio block device
102 # options       ROOTDEVNAME=\"ufs:/dev/vtbd0\"
103
104 # Debugging support.  Always need this:
105 options         KDB                     # Enable kernel debugger support.
106 options         KDB_TRACE               # Print a stack trace for a panic.
107 # For full debugger support use (turn off in stable branch):
108 options         DDB                     # Support DDB.
109 # options       GDB                     # Support remote GDB.
110 options         DEADLKRES               # Enable the deadlock resolver
111 options         INVARIANTS              # Enable calls of extra sanity checking
112 options         INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
113 # options       WITNESS                 # Enable checks to detect deadlocks and cycles
114 # options       WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
115 options         MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
116 # options       EARLY_PRINTF
117 # options       VERBOSE_SYSINIT
118
119 # Kernel dump features.
120 options         ZSTDIO                  # zstd-compressed kernel and user dumps
121
122 # Pseudo devices.
123 device          crypto          # core crypto support
124 device          loop            # Network loopback
125 device          random          # Entropy device
126 device          ether           # Ethernet support
127 device          vlan            # 802.1Q VLAN support
128 device          tun             # Packet tunnel.
129 device          md              # Memory "disks"
130 device          gif             # IPv6 and IPv4 tunneling
131 device          firmware        # firmware assist module
132
133 # The `bpf' device enables the Berkeley Packet Filter.
134 # Be aware of the administrative consequences of enabling this!
135 # Note that 'bpf' is required for DHCP.
136 device          bpf             # Berkeley packet filter
137
138 options         FDT