182e871c83aeb5fa0b4d1d9eb3882cd1b2e91f37
[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         DEVICE_POLLING          # 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 device          natausb                 # ATA-over-USB support
77 options         ATA_STATIC_ID           # Static device numbering
78
79 device          mpt             # LSI-Logic MPT/Fusion XXX
80
81 # SCSI peripherals
82 device          scbus           # SCSI bus (required)
83 device          da              # Direct Access (disks)
84 device          pass            # Passthrough device (direct SCSI access)
85 device          sg              # Passthrough device (linux scsi generic)
86
87
88 # atkbdc0 controls both the keyboard and the PS/2 mouse
89 device          atkbdc0 at isa? port IO_KBD
90 device          atkbd0  at atkbdc? irq 1 flags 0x1
91 device          psm0    at atkbdc? irq 12
92
93 device          vga0    at isa?
94
95 # kbdmux is the keyboard multiplexer
96 device          kbdmux
97
98 # syscons is the default console driver, resembling an SCO console
99 device          sc0     at isa? flags 0x100
100 options         SC_PIXEL_MODE           # add support for the raster text mode
101
102 # Floating point support - do not disable.
103 device          npx0    at nexus? port IO_NPX irq 13
104
105 # HW monitoring devices
106 device          lm0     at isa? port 0x290
107 device          it0     at isa? port 0x290
108 device          it1     at isa? port 0xc00
109 device          it2     at isa? port 0xd00
110 device          it3     at isa? port 0x228
111 device          nsclpcsio0 at isa? port 0x2e
112 device          nsclpcsio1 at isa? port 0x4e
113
114
115 # Serial (COM) ports
116 device          sio0    at isa? port IO_COM1 flags 0x10 irq 4
117 device          sio1    at isa? port IO_COM2 irq 3
118 device          sio2    at isa? disable port IO_COM3 irq 5
119 device          sio3    at isa? disable port IO_COM4 irq 9
120
121 # Parallel port
122 device          ppc0    at isa? irq 7
123 device          ppbus           # Parallel port bus (required)
124 device          lpt             # Printer
125 device          ppi             # Parallel port interface device
126
127
128 # PCI Ethernet NICs.
129 device          de              # DEC/Intel DC21x4x (``Tulip'')
130 device          txp             # 3Com 3cR990 (``Typhoon'')
131 device          vx              # 3Com 3c590, 3c595 (``Vortex'')
132
133 device          em              # Intel PRO/1000 adapter Gigabit Ethernet Card (``Wiseman'')
134                                 # Requires ig_hal
135 device          ig_hal          # Intel PRO/1000 hardware abstraction layer
136
137 # PCI Ethernet NICs that use the common MII bus controller code.
138 # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
139 device          miibus          # MII bus support
140 device          vr              # VIA Rhine, Rhine II
141
142
143
144 # Wireless NIC cards
145 device          wlan            # 802.11 support
146 device          wlan_ccmp       # 802.11 CCMP support
147 device          wlan_tkip       # 802.11 TKIP support
148 device          wlan_wep        # 802.11 WEP support
149 device          wlan_amrr       # AMRR
150
151 device          ath             # Atheros AR521x
152 options         AH_SUPPORT_AR5416
153 device          ath_hal         # Atheros Hardware Access Layer
154 device          ath_rate_sample # Atheros Sample TX rate control algorithm
155 options ATH_RXBUF=80    # number of RX buffers to allocate
156 options ATH_TXBUF=400   # number of TX buffers to allocate
157
158 # Pseudo devices - the number indicates how many units to allocate.
159 pseudo-device   loop            # Network loopback
160 pseudo-device   ether           # Ethernet support
161 pseudo-device   sl      1       # Kernel SLIP
162 pseudo-device   ppp     1       # Kernel PPP
163 pseudo-device   tun             # Packet tunnel.
164 pseudo-device   pty             # Pseudo-ttys (telnet etc)
165 pseudo-device   md              # Memory "disks"
166 pseudo-device   gif             # IPv6 and IPv4 tunneling
167 pseudo-device   faith   1       # IPv6-to-IPv4 relaying (translation)
168
169 # The `bpf' pseudo-device enables the Berkeley Packet Filter.
170 # Be aware of the administrative consequences of enabling this!
171 pseudo-device   bpf             #Berkeley packet filter
172
173 pseudo-device   crypto          # core crypto support, used by wlan
174 pseudo-device   cryptodev
175
176 # USB support
177 device          uhci            # UHCI PCI->USB interface
178 device          ohci            # OHCI PCI->USB interface
179 #device ehci            # EHCI interface
180 device          usb             # USB Bus (required)
181 #device         "usb4bsd"       # use this instead of usb for the new stack
182 device          ugen            # Generic
183 device          uhid            # "Human Interface Devices"
184 device          ukbd            # Keyboard
185 device          ulpt            # Printer
186 device          umass           # Disks/Mass storage - Requires scbus and da
187 device          ums             # Mouse
188 device          uscanner        # Scanners
189 device          urio            # Diamond Rio MP3 Player
190 # USB Ethernet, requires mii
191 device          aue             # ADMtek USB ethernet
192 device          rue             # RealTek 8150 based USB ethernet