FreeBSD/Linux Kernel Cross Reference
sys/i386/conf/GENERIC
1 #
2 # GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
3 #
4 # For more information on this file, please read the handbook section on
5 # Kernel Configuration Files:
6 #
7 # http://www.freebsd.org/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 (http://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 ./LINT configuration file. If you are
16 # in doubt as to the purpose or necessity of a line, check first in LINT.
17 #
18 # $FreeBSD$
19
20 machine "i386"
21 cpu "I386_CPU"
22 cpu "I486_CPU"
23 cpu "I586_CPU"
24 cpu "I686_CPU"
25 ident GENERIC
26 maxusers 32
27
28 options MATH_EMULATE #Support for x87 emulation
29 options INET #InterNETworking
30 options FFS #Berkeley Fast Filesystem
31 options FFS_ROOT #FFS usable as root device [keep this!]
32 options MFS #Memory Filesystem
33 options MFS_ROOT #MFS usable as root device, "MFS" req'ed
34 options NFS #Network Filesystem
35 options NFS_ROOT #NFS usable as root device, "NFS" req'ed
36 options MSDOSFS #MSDOS Filesystem
37 options "CD9660" #ISO 9660 Filesystem
38 options "CD9660_ROOT" #CD-ROM usable as root. "CD9660" req'ed
39 options PROCFS #Process filesystem
40 options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!]
41 options SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device
42 options UCONSOLE #Allow users to grab the console
43 options FAILSAFE #Be conservative
44 options USERCONFIG #boot -c editor
45 options VISUAL_USERCONFIG #visual boot -c editor
46 options KTRACE #ktrace(1) syscall trace support
47 options SYSVSHM #SYSV-style shared memory
48 options SYSVMSG #SYSV-style message queues
49 options SYSVSEM #SYSV-style semaphores
50
51 config kernel root on wd0
52
53 # To make an SMP kernel, the next two are needed
54 #options SMP # Symmetric MultiProcessor Kernel
55 #options APIC_IO # Symmetric (APIC) I/O
56 # Optionally these may need tweaked, (defaults shown):
57 #options NCPU=2 # number of CPUs
58 #options NBUS=4 # number of busses
59 #options NAPIC=1 # number of IO APICs
60 #options NINTR=24 # number of INTs
61
62 controller isa0
63 controller pnp0 # PnP support for ISA
64 controller eisa0
65 controller pci0
66
67 # Floppy drives
68 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2
69 disk fd0 at fdc0 drive 0
70 disk fd1 at fdc0 drive 1
71
72 # IDE controller and disks
73 options "CMD640" # work around CMD640 chip deficiency
74 controller wdc0 at isa? port "IO_WD1" bio irq 14
75 disk wd0 at wdc0 drive 0
76 disk wd1 at wdc0 drive 1
77
78 controller wdc1 at isa? port "IO_WD2" bio irq 15
79 disk wd2 at wdc1 drive 0
80 disk wd3 at wdc1 drive 1
81
82 # ATAPI devices
83 options ATAPI #Enable ATAPI support for IDE bus
84 options ATAPI_STATIC #Don't do it as an LKM
85 device acd0 #IDE CD-ROM
86 device wfd0 #IDE Floppy (e.g. LS-120)
87
88 # SCSI Controllers
89 # A single entry for any of these controllers (ncr, ahb, ahc) is
90 # sufficient for any number of installed devices.
91 controller ncr0 # NCR/Symbios Logic
92 #controller sym0 # NCR/Symbios Logic (do not mix with ncr, it conflicts)
93 controller ahb0 # EISA AHA1742 family
94 controller ahc0 # AHA2940 and onboard AIC7xxx devices
95 controller amd0 # AMD 53C974 (Teckram DC-390(T))
96 controller isp0 # Qlogic family
97 controller dpt0 # DPT Smartcache - See LINT for options!
98
99 controller adv0 at isa? port ? cam irq ?
100 controller adw0
101 controller bt0 at isa? port ? cam irq ?
102 controller aha0 at isa? port ? cam irq ?
103 controller aic0 at isa? port ? cam irq ?
104
105 # SCSI peripherals
106 # Only one of each of these is needed, they are dynamically allocated.
107 controller scbus0 # SCSI bus (required)
108 device da0 # Direct Access (disks)
109 device sa0 # Sequential Access (tape etc)
110 device cd0 # CD
111 device pass0 # Passthrough device (direct SCSI)
112
113 # Proprietary or custom CD-ROM Interfaces
114 device wt0 at isa? port 0x300 bio irq 5 drq 1
115 device mcd0 at isa? port 0x300 bio irq 10
116 device matcd0 at isa? port 0x230 bio
117 device scd0 at isa? port 0x230 bio
118
119 # atkbdc0 controls both the keyboard and the PS/2 mouse
120 controller atkbdc0 at isa? port IO_KBD tty
121 device atkbd0 at isa? tty irq 1
122 device psm0 at isa? tty irq 12
123
124 device vga0 at isa? port ? conflicts
125
126 # splash screen/screen saver
127 pseudo-device splash
128
129 # syscons is the default console driver, resembling an SCO console
130 device sc0 at isa? tty
131
132 # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
133 #device vt0 at isa? tty
134 #options XSERVER # support for X server
135 #options FAT_CURSOR # start with block cursor
136 # If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
137 #options PCVT_SCANSET=2 # IBM keyboards are non-std
138
139 # Floating point support - do not disable.
140 device npx0 at isa? port IO_NPX irq 13
141
142 # Power management support (see LINT for more options)
143 device apm0 at isa? disable flags 0x31 # Advanced Power Management
144
145 # PCCARD (PCMCIA) support
146 #controller card0
147 #device pcic0 at card?
148 #device pcic1 at card?
149
150 # Serial (COM) ports
151 device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4
152 device sio1 at isa? port "IO_COM2" tty irq 3
153 device sio2 at isa? disable port "IO_COM3" tty irq 5
154 device sio3 at isa? disable port "IO_COM4" tty irq 9
155
156 # Parallel port
157 #
158 # Note: The ppc0 entry is configured to support networking over the
159 # parallel port. If you will be using it for printing, change
160 # "net" to "tty", and review ppc(4) to ensure you have the
161 # correct flags value.
162 device ppc0 at isa? port? flags 0x40 net irq 7
163 controller ppbus0 # Parallel port bus (required)
164 device lpt0 at ppbus? # Printer
165 device plip0 at ppbus? # TCP/IP over parallel
166 device ppi0 at ppbus? # Parallel port interface device
167 #controller vpo0 at ppbus? # Requires scbus and da0
168
169 # PCI Ethernet NICs.
170 device al0 # ADMtek AL981 (``Comet'')
171 device ax0 # ASIX AX88140A
172 device de0 # DEC/Intel DC21x4x (``Tulip'')
173 device fxp0 # Intel EtherExpress PRO/100B (82557, 82558)
174 device mx0 # Macronix 98713/98715/98725 (``PMAC'')
175 device pn0 # Lite-On 82c168/82c169 (``PNIC'')
176 device rl0 # RealTek 8129/8139
177 device sf0 # Adaptec AIC-6915 DuraLAN (``Starfire'')
178 device sis0 # Silicon Integrated Systems SiS 900/SiS 7016
179 device ste0 # Sundance ST201 (D-Link DFE-550)
180 device tl0 # Texas Instruments ThunderLAN
181 device tx0 # SMC 9432TX (83c170 ``EPIC'')
182 device vr0 # VIA Rhine, Rhine II
183 device vx0 # 3Com 3c590, 3c595 (``Vortex'')
184 device wb0 # Winbond W89C840F
185 device xl0 # 3Com 3c90x (``Boomerang'', ``Cyclone'')
186
187 # ISA Ethernet NICs.
188 # Order is important here due to intrusive probes, do *not* alphabetize
189 # this list of network interfaces until the probes have been fixed.
190 # Right now it appears that the ie0 must be probed before ep0. See
191 # revision 1.20 of this file.
192 device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000
193 device ie0 at isa? port 0x300 net irq 10 iomem 0xd0000
194 device ep0 at isa? port 0x300 net irq 10
195 device ex0 at isa? port? net irq?
196 device fe0 at isa? port 0x300 net irq ?
197 device le0 at isa? port 0x300 net irq 5 iomem 0xd0000
198 device lnc0 at isa? port 0x280 net irq 10 drq 0
199 device cs0 at isa? port 0x300 net irq ?
200 # requires PCCARD (PCMCIA) support to be activated
201 #device xe0 at isa? port? net irq ?
202
203 # PCCARD NIC drivers.
204 # ze and zp take over the pcic and cannot coexist with generic pccard
205 # support, nor the ed and ep drivers they replace.
206 device ze0 at isa? port 0x300 net irq 10 iomem 0xd8000
207 device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000
208
209 # Pseudo devices - the number indicates how many units to allocated.
210 pseudo-device loop # Network loopback
211 pseudo-device ether # Ethernet support
212 pseudo-device sl 1 # Kernel SLIP
213 pseudo-device ppp 1 # Kernel PPP
214 pseudo-device tun 1 # Packet tunnel
215 pseudo-device pty 16 # Pseudo-ttys (telnet etc)
216 pseudo-device gzip # Exec gzipped a.out's
217
218 # The `bpfilter' pseudo-device enables the Berkeley Packet Filter.
219 # Be aware of the administrative consequences of enabling this!
220 # The number of devices determines the maximum number of
221 # simultaneous BPF clients programs runnable.
222 pseudo-device bpfilter 1 #Berkeley packet filter
Cache object: 4e526c83bf53aa0205c231082ccede31
|