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