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 read the handbook part System Administration ->
5 # Configuring the FreeBSD Kernel -> The Configuration File.
6 # The handbook is available in /usr/share/doc/handbook or online as
7 # latest version from the FreeBSD World Wide Web server
8 # <URL:http://www.FreeBSD.ORG/>
9 #
10 # An exhaustive list of options and more detailed explanations of the
11 # device lines is present in the ./LINT configuration file. If you are
12 # in doubt as to the purpose or necessity of a line, check first in LINT.
13 #
14 # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.77.2.30 1999/09/05 08:10:49 peter Exp $
15
16 machine "i386"
17 cpu "I386_CPU"
18 cpu "I486_CPU"
19 cpu "I586_CPU"
20 cpu "I686_CPU"
21 ident GENERIC
22 maxusers 32
23
24 options MATH_EMULATE #Support for x87 emulation
25 options INET #InterNETworking
26 options FFS #Berkeley Fast Filesystem
27 options NFS #Network Filesystem
28 options MSDOSFS #MSDOS Filesystem
29 options "CD9660" #ISO 9660 Filesystem
30 options PROCFS #Process filesystem
31 options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!]
32 options SCSI_DELAY=15 #Be pessimistic about Joe SCSI device
33 options BOUNCE_BUFFERS #include support for DMA bounce buffers
34 options UCONSOLE #Allow users to grab the console
35 options FAILSAFE #Be conservative
36 options USERCONFIG #boot -c editor
37 options VISUAL_USERCONFIG #visual boot -c editor
38
39 config kernel root on wd0
40
41 controller isa0
42 controller eisa0
43 controller pci0
44
45 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
46 disk fd0 at fdc0 drive 0
47 disk fd1 at fdc0 drive 1
48 # Unless you know very well what you're doing, leave ft0 at drive 2, or
49 # remove the line entirely if you don't need it. Trying to configure
50 # it on another unit might cause surprises, see PR kern/7176.
51 tape ft0 at fdc0 drive 2
52
53 options "CMD640" # work around CMD640 chip deficiency
54 controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
55 disk wd0 at wdc0 drive 0
56 disk wd1 at wdc0 drive 1
57
58 controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr
59 disk wd2 at wdc1 drive 0
60 disk wd3 at wdc1 drive 1
61
62 options ATAPI #Enable ATAPI support for IDE bus
63 options ATAPI_STATIC #Don't do it as an LKM
64 device wcd0 #IDE CD-ROM
65 device wfd0 #IDE floppy (LS-120)
66
67 # A single entry for any of these controllers (ncr, ahb, ahc, amd) is
68 # sufficient for any number of installed devices.
69
70 controller ncr0
71 controller isp0
72 controller amd0
73 controller ahb0
74 controller ahc0
75 controller dpt0
76 controller bt0 at isa? port "IO_BT0" bio irq ? vector bt_isa_intr
77 controller uha0 at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr
78 controller aha0 at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr
79 controller aic0 at isa? port 0x340 bio irq 11 vector aicintr
80 controller nca0 at isa? port 0x1f88 bio irq 10 vector ncaintr
81 controller nca1 at isa? port 0x350 bio irq 5 vector ncaintr
82 controller sea0 at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr
83
84 options DPT_MEASURE_PERFORMANCE # Required by DPT driver??
85 #options DPT_VERIFY_HINTR # Some hardware must have it!
86 #options DPT_TRACK_CCB_STATES # Some hardware must have it!
87 #options DPT_HANDLE_TIMEOUTS # Some hardware must have it!
88 #options DPT_TIMEOUT_FACTOR=4 # Some hardware needs more
89
90 controller scbus0
91
92 device sd0
93
94 device od0 #See LINT for possible `od' options.
95
96 device st0
97
98 device cd0 #Only need one of these, the code dynamically grows
99
100 device wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr
101 device mcd0 at isa? port 0x300 bio irq 10 vector mcdintr
102
103 controller matcd0 at isa? port 0x230 bio
104
105 device scd0 at isa? port 0x230 bio
106
107 # syscons is the default console driver, resembling an SCO console
108 device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
109 # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
110 #device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint
111 #options XSERVER # support for X server
112 #options FAT_CURSOR # start with block cursor
113 # If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
114 #options PCVT_SCANSET=2 # IBM keyboards are non-std
115
116 # Mandatory, don't remove
117 device npx0 at isa? port "IO_NPX" flags 0x1 irq 13 vector npxintr
118
119 #
120 # Laptop support (see LINT for more options)
121 #
122 device apm0 at isa? disable # Advanced Power Management
123 options APM_BROKEN_STATCLOCK # Workaround some buggy APM BIOS
124 # PCCARD (PCMCIA) support
125 #controller card0
126 #device pcic0 at card?
127 #device pcic1 at card?
128
129 device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr
130 device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr
131 device sio2 at isa? disable port "IO_COM3" tty irq 5 vector siointr
132 device sio3 at isa? disable port "IO_COM4" tty irq 9 vector siointr
133
134 device lpt0 at isa? port? tty irq 7 vector lptintr
135 device lpt1 at isa? port? tty
136 device mse0 at isa? port 0x23c tty irq 5 vector mseintr
137
138 device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr
139
140 # Order is important here due to intrusive probes, do *not* alphabetize
141 # this list of network interfaces until the probes have been fixed.
142 # Right now it appears that the ie0 must be probed before ep0. See
143 # revision 1.20 of this file.
144 device de0
145 device fxp0
146 device tl0
147 device tx0
148 device vx0
149 device xl0
150
151 device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000 vector edintr
152 device ie0 at isa? port 0x300 net irq 10 iomem 0xd0000 vector ieintr
153 device ep0 at isa? port 0x300 net irq 10 vector epintr
154 device ex0 at isa? port? net irq? vector exintr
155 device fe0 at isa? port 0x300 net irq ? vector feintr
156 device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr
157 device lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr
158 device ze0 at isa? port 0x300 net irq 5 iomem 0xd8000 vector zeintr
159 device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr
160 device cs0 at isa? disable port 0x300 net irq ? vector csintr
161
162 pseudo-device loop
163 pseudo-device ether
164 pseudo-device log
165 pseudo-device sl 1
166 pseudo-device ppp 1
167 pseudo-device vn 1
168 pseudo-device tun 1
169 pseudo-device pty 16
170 pseudo-device gzip # Exec gzipped a.out's
171
172 # KTRACE enables the system-call tracing facility ktrace(2).
173 # This adds 4 KB bloat to your kernel, and slightly increases
174 # the costs of each syscall.
175 options KTRACE #kernel tracing
176
177 # This provides support for System V shared memory.
178 #
179 options SYSVSHM
Cache object: 44ed6e37b8ebbafe16e0069a433cbf10
|