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