| 1 | # |
| 2 | # SOEKRIS -- Sample embedded kernel configuration file for DragonFly/i386 |
| 3 | # |
| 4 | # Check the LINT configuration file in sys/config, for an |
| 5 | # exhaustive list of options. |
| 6 | |
| 7 | platform pc32 |
| 8 | machine i386 |
| 9 | machine_arch i386 |
| 10 | cpu I586_CPU |
| 11 | ident SOEKRIS |
| 12 | maxusers 0 |
| 13 | options CPU_GEODE |
| 14 | options WATCHDOG_ENABLE |
| 15 | options WDOG_DISABLE_ON_PANIC |
| 16 | options ERROR_LED_ON_PANIC |
| 17 | device gpio |
| 18 | device glxsb |
| 19 | |
| 20 | |
| 21 | makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols |
| 22 | |
| 23 | options MATH_EMULATE #Support for x87 emulation |
| 24 | options INET #InterNETworking |
| 25 | options INET6 #IPv6 communications protocols |
| 26 | options HAMMER #Hammer Filesystem XXX |
| 27 | options NULLFS #NULL filesystem |
| 28 | options FFS #Berkeley Fast Filesystem |
| 29 | options FFS_ROOT #FFS usable as root device [keep this!] |
| 30 | options SOFTUPDATES #Enable FFS soft updates support |
| 31 | options UFS_DIRHASH #Improve performance on big directories |
| 32 | options MFS #Memory Filesystem |
| 33 | options MD_ROOT #MD is a potential root device |
| 34 | options NFS #Network Filesystem |
| 35 | options NFS_ROOT #NFS usable as root device, NFS required |
| 36 | options MSDOSFS #MSDOS Filesystem |
| 37 | options CD9660 #ISO 9660 Filesystem |
| 38 | options PROCFS #Process filesystem |
| 39 | options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] |
| 40 | options COMPAT_DF12 |
| 41 | options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI |
| 42 | options DEVICE_POLLING # Support mixed interrupt-polling |
| 43 | # handling of network device drivers |
| 44 | options UCONSOLE #Allow users to grab the console |
| 45 | options USERCONFIG #boot -c editor |
| 46 | options VISUAL_USERCONFIG #visual boot -c editor |
| 47 | options KTRACE #ktrace(1) support |
| 48 | options SYSVSHM #SYSV-style shared memory |
| 49 | options SYSVMSG #SYSV-style message queues |
| 50 | options SYSVSEM #SYSV-style semaphores |
| 51 | options P1003_1B #Posix P1003_1B real-time extensions |
| 52 | options _KPOSIX_PRIORITY_SCHEDULING |
| 53 | options ICMP_BANDLIM #Rate limit bad replies |
| 54 | options KBD_INSTALL_CDEV # install a CDEV entry in /dev |
| 55 | options AHC_REG_PRETTY_PRINT # Print register bitfields in debug |
| 56 | # output. Adds ~128k to driver. |
| 57 | options AHD_REG_PRETTY_PRINT # Print register bitfields in debug |
| 58 | # output. Adds ~215k to driver. |
| 59 | |
| 60 | |
| 61 | # Debugging for Development |
| 62 | options DDB |
| 63 | options DDB_TRACE |
| 64 | options INVARIANTS |
| 65 | |
| 66 | device isa |
| 67 | device eisa |
| 68 | device pci |
| 69 | |
| 70 | # NEW-ATA (NATA) and ATAPI devices |
| 71 | # |
| 72 | device nata |
| 73 | device natadisk # ATA disk drives |
| 74 | device natapicd # ATAPI CDROM drives |
| 75 | device natapifd # ATAPI floppy drives |
| 76 | device natapist # ATAPI tape drives |
| 77 | device natapicam # Emulate ATAPI devices as SCSI |
| 78 | device natausb # ATA-over-USB support |
| 79 | options ATA_STATIC_ID # Static device numbering |
| 80 | |
| 81 | device mpt # LSI-Logic MPT/Fusion XXX |
| 82 | |
| 83 | # SCSI peripherals |
| 84 | device scbus # SCSI bus (required) |
| 85 | device da # Direct Access (disks) |
| 86 | device pass # Passthrough device (direct SCSI access) |
| 87 | device sg # Passthrough device (linux scsi generic) |
| 88 | |
| 89 | |
| 90 | # atkbdc0 controls both the keyboard and the PS/2 mouse |
| 91 | device atkbdc0 at isa? port IO_KBD |
| 92 | device atkbd0 at atkbdc? irq 1 flags 0x1 |
| 93 | device psm0 at atkbdc? irq 12 |
| 94 | |
| 95 | device vga0 at isa? |
| 96 | |
| 97 | # kbdmux is the keyboard multiplexer |
| 98 | device kbdmux |
| 99 | |
| 100 | # syscons is the default console driver, resembling an SCO console |
| 101 | device sc0 at isa? flags 0x100 |
| 102 | options SC_PIXEL_MODE # add support for the raster text mode |
| 103 | |
| 104 | # Floating point support - do not disable. |
| 105 | device npx0 at nexus? port IO_NPX irq 13 |
| 106 | |
| 107 | # HW monitoring devices |
| 108 | device lm0 at isa? port 0x290 |
| 109 | device it0 at isa? port 0x290 |
| 110 | device it1 at isa? port 0xc00 |
| 111 | device it2 at isa? port 0xd00 |
| 112 | device nsclpcsio0 at isa? port 0x2e |
| 113 | device nsclpcsio1 at isa? port 0x4e |
| 114 | |
| 115 | |
| 116 | # Serial (COM) ports |
| 117 | device sio0 at isa? port IO_COM1 flags 0x10 irq 4 |
| 118 | device sio1 at isa? port IO_COM2 irq 3 |
| 119 | device sio2 at isa? disable port IO_COM3 irq 5 |
| 120 | device sio3 at isa? disable port IO_COM4 irq 9 |
| 121 | |
| 122 | # Parallel port |
| 123 | device ppc0 at isa? irq 7 |
| 124 | device ppbus # Parallel port bus (required) |
| 125 | device lpt # Printer |
| 126 | device ppi # Parallel port interface device |
| 127 | |
| 128 | |
| 129 | # PCI Ethernet NICs. |
| 130 | device de # DEC/Intel DC21x4x (``Tulip'') |
| 131 | device txp # 3Com 3cR990 (``Typhoon'') |
| 132 | device vx # 3Com 3c590, 3c595 (``Vortex'') |
| 133 | |
| 134 | device em # Intel PRO/1000 adapter Gigabit Ethernet Card (``Wiseman'') |
| 135 | # Requires ig_hal |
| 136 | device ig_hal # Intel PRO/1000 hardware abstraction layer |
| 137 | |
| 138 | # PCI Ethernet NICs that use the common MII bus controller code. |
| 139 | # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! |
| 140 | device miibus # MII bus support |
| 141 | device vr # VIA Rhine, Rhine II |
| 142 | |
| 143 | |
| 144 | |
| 145 | # Wireless NIC cards |
| 146 | device wlan # 802.11 support |
| 147 | device wlan_ccmp # 802.11 CCMP support |
| 148 | device wlan_tkip # 802.11 TKIP support |
| 149 | device wlan_wep # 802.11 WEP support |
| 150 | # 802.11 TX rate control algorithms |
| 151 | #device wlan_ratectl_amrr # AMRR |
| 152 | device wlan_ratectl_onoe # Onoe |
| 153 | device wlan_ratectl_sample # Sample |
| 154 | |
| 155 | device ath # Atheros AR521x |
| 156 | device ath_hal # Atheros Hardware Access Layer |
| 157 | device ath_rate_sample # Atheros Sample TX rate control algorithm |
| 158 | options ATH_RXBUF=80 # number of RX buffers to allocate |
| 159 | options ATH_TXBUF=400 # number of TX buffers to allocate |
| 160 | |
| 161 | # Pseudo devices - the number indicates how many units to allocate. |
| 162 | pseudo-device loop # Network loopback |
| 163 | pseudo-device ether # Ethernet support |
| 164 | pseudo-device sl 1 # Kernel SLIP |
| 165 | pseudo-device ppp 1 # Kernel PPP |
| 166 | pseudo-device tun # Packet tunnel. |
| 167 | pseudo-device pty # Pseudo-ttys (telnet etc) |
| 168 | pseudo-device md # Memory "disks" |
| 169 | pseudo-device gif # IPv6 and IPv4 tunneling |
| 170 | pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation) |
| 171 | |
| 172 | # The `bpf' pseudo-device enables the Berkeley Packet Filter. |
| 173 | # Be aware of the administrative consequences of enabling this! |
| 174 | pseudo-device bpf #Berkeley packet filter |
| 175 | |
| 176 | pseudo-device crypto # core crypto support, used by wlan |
| 177 | pseudo-device cryptodev |
| 178 | |
| 179 | # USB support |
| 180 | device uhci # UHCI PCI->USB interface |
| 181 | device ohci # OHCI PCI->USB interface |
| 182 | #device ehci # EHCI interface |
| 183 | device usb # USB Bus (required) |
| 184 | device ugen # Generic |
| 185 | device uhid # "Human Interface Devices" |
| 186 | device ukbd # Keyboard |
| 187 | device ulpt # Printer |
| 188 | device umass # Disks/Mass storage - Requires scbus and da |
| 189 | device ums # Mouse |
| 190 | device uscanner # Scanners |
| 191 | device urio # Diamond Rio MP3 Player |
| 192 | # USB Ethernet, requires mii |
| 193 | device aue # ADMtek USB ethernet |
| 194 | device rue # RealTek 8150 based USB ethernet |