FreeBSD/Linux Kernel Cross Reference
sys/i386/conf/PCCARD
1 #
2 # PCCARD -- Generic machine with WD/AHx/NCR/BTx family disks and PCMCIA
3 # hardware support
4 #
5 # For more information on this file, please read the handbook section on
6 # Kernel Configuration Files:
7 #
8 # http://www.freebsd.org/handbook/kernelconfig-config.html
9 #
10 # The handbook is also available locally in /usr/share/doc/handbook
11 # if you've installed the doc distribution, otherwise always see the
12 # FreeBSD World Wide Web server (http://www.FreeBSD.ORG/) for the
13 # latest information.
14 #
15 # An exhaustive list of options and more detailed explanations of the
16 # device lines is also present in the ./LINT configuration file. If you are
17 # in doubt as to the purpose or necessity of a line, check first in LINT.
18 #
19 # $FreeBSD$
20
21 machine "i386"
22 cpu "I386_CPU"
23 cpu "I486_CPU"
24 cpu "I586_CPU"
25 cpu "I686_CPU"
26 ident PCCARD
27 maxusers 32
28
29 options MATH_EMULATE #Support for x87 emulation
30 options INET #InterNETworking
31 options FFS #Berkeley Fast Filesystem
32 options FFS_ROOT #FFS usable as root device [keep this!]
33 options MFS #Memory Filesystem
34 options MFS_ROOT #MFS usable as root device, "MFS" req'ed
35 options NFS #Network Filesystem
36 options NFS_ROOT #NFS usable as root device, "NFS" req'ed
37 options MSDOSFS #MSDOS Filesystem
38 options "CD9660" #ISO 9660 Filesystem
39 options "CD9660_ROOT" #CD-ROM usable as root. "CD9660" req'ed
40 options PROCFS #Process filesystem
41 options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!]
42 options SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device
43 options UCONSOLE #Allow users to grab the console
44 options FAILSAFE #Be conservative
45 options USERCONFIG #boot -c editor
46 options VISUAL_USERCONFIG #visual boot -c editor
47
48 config kernel root on wd0
49
50 # To make an SMP kernel, the next two are needed
51 #options SMP # Symmetric MultiProcessor Kernel
52 #options APIC_IO # Symmetric (APIC) I/O
53 # Optionally these may need tweaked, (defaults shown):
54 #options NCPU=2 # number of CPUs
55 #options NBUS=4 # number of busses
56 #options NAPIC=1 # number of IO APICs
57 #options NINTR=24 # number of INTs
58
59 controller isa0
60 controller pnp0
61 controller eisa0
62 controller pci0
63
64 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2
65 disk fd0 at fdc0 drive 0
66 disk fd1 at fdc0 drive 1
67
68 options "CMD640" # work around CMD640 chip deficiency
69 controller wdc0 at isa? port "IO_WD1" bio irq 14
70 disk wd0 at wdc0 drive 0
71 disk wd1 at wdc0 drive 1
72
73 controller wdc1 at isa? port "IO_WD2" bio irq 15
74 disk wd2 at wdc1 drive 0
75 disk wd3 at wdc1 drive 1
76
77 options ATAPI #Enable ATAPI support for IDE bus
78 options ATAPI_STATIC #Don't do it as an LKM
79 device acd0 #IDE CD-ROM
80 device wfd0 #IDE Floppy (e.g. LS-120)
81
82 # A single entry for any of these controllers (ncr, ahb, ahc) is
83 # sufficient for any number of installed devices.
84 controller ncr0
85 controller ahb0
86 controller ahc0
87 controller isp0
88
89 # This controller offers a number of configuration options, too many to
90 # document here - see the LINT file in this directory and look up the
91 # dpt0 entry there for much fuller documentation on this.
92 controller dpt0
93
94 controller adv0 at isa? port ? cam irq ?
95 controller adw0
96 controller bt0 at isa? port ? cam irq ?
97 controller aha0 at isa? port ? cam irq ?
98
99 controller scbus0
100
101 device da0
102
103 device sa0
104
105 device pass0
106
107 device cd0 #Only need one of these, the code dynamically grows
108
109 device wt0 at isa? port 0x300 bio irq 5 drq 1
110 device mcd0 at isa? port 0x300 bio irq 10
111
112 controller matcd0 at isa? port 0x230 bio
113
114 device scd0 at isa? port 0x230 bio
115
116 # atkbdc0 controlls both the keyboard and the PS/2 mouse
117 controller atkbdc0 at isa? port IO_KBD tty
118 device atkbd0 at isa? tty irq 1
119 device psm0 at isa? tty irq 12
120
121 device vga0 at isa? port ? conflicts
122
123 # splash screen/screen saver
124 pseudo-device splash
125
126 # syscons is the default console driver, resembling an SCO console
127 device sc0 at isa? tty
128 # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
129 #device vt0 at isa? tty
130 #options XSERVER # support for X server
131 #options FAT_CURSOR # start with block cursor
132 # If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
133 #options PCVT_SCANSET=2 # IBM keyboards are non-std
134
135 device npx0 at isa? port IO_NPX irq 13
136
137 #
138 # Laptop support (see LINT for more options)
139 #
140 device apm0 at isa? disable flags 0x31 # Advanced Power Management
141
142 # PCCARD (PCMCIA) support
143 controller card0
144 device pcic0 at card?
145 device pcic1 at card?
146
147 device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4
148 device sio1 at isa? port "IO_COM2" tty irq 3
149 device sio2 at isa? disable port "IO_COM3" tty irq 5
150 device sio3 at isa? disable port "IO_COM4" tty irq 9
151
152 # Parallel port
153 device ppc0 at isa? port? flags 0x40 net irq 7
154 controller ppbus0
155 device lpt0 at ppbus?
156 device plip0 at ppbus?
157 device ppi0 at ppbus?
158 #controller vpo0 at ppbus?
159
160 #
161 # The following Ethernet NICs are all PCI devices.
162 #
163 device al0 # ADMtek AL981 (``Comet'')
164 device ax0 # ASIX AX88140A
165 device de0 # DEC/Intel DC21x4x (``Tulip'')
166 device fxp0 # Intel EtherExpress PRO/100B (82557, 82558)
167 device mx0 # Macronix 98713/98715/98725 (``PMAC'')
168 device pn0 # Lite-On 82c168/82c169 (``PNIC'')
169 device rl0 # RealTek 8129/8139
170 device sf0 # Adaptec AIC-6915 DuraLAN (``Starfire'')
171 device tl0 # Texas Instruments ThunderLAN
172 device tx0 # SMC 9432TX (83c170 ``EPIC'')
173 device vr0 # VIA Rhine, Rhine II
174 device vx0 # 3Com 3c590, 3c595 (``Vortex'')
175 device wb0 # Winbond W89C840F
176 device xl0 # 3Com 3c90x (``Boomerang'', ``Cyclone'')
177
178 # Order is important here due to intrusive probes, do *not* alphabetize
179 # this list of network interfaces until the probes have been fixed.
180 # Right now it appears that the ie0 must be probed before ep0. See
181 # revision 1.20 of this file.
182
183 device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000
184 device ie0 at isa? port 0x300 net irq 10 iomem 0xd0000
185 device ep0 at isa? port 0x300 net irq 10
186 device ex0 at isa? port? net irq?
187 device fe0 at isa? port 0x300 net irq ?
188 device le0 at isa? port 0x300 net irq 5 iomem 0xd0000
189 device lnc0 at isa? port 0x280 net irq 10 drq 0
190 #device xe0 at isa? port? net irq ?
191 #device ze0 at isa? port 0x300 net irq 10 iomem 0xd8000
192 #device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000
193 device cs0 at isa? port 0x300 net irq ?
194
195 pseudo-device loop
196 pseudo-device ether
197 pseudo-device sl 1
198 pseudo-device ppp 1
199 pseudo-device tun 1
200 pseudo-device pty 16
201 pseudo-device gzip # Exec gzipped a.out's
202
203 # KTRACE enables the system-call tracing facility ktrace(2).
204 # This adds 4 KB bloat to your kernel, and slightly increases
205 # the costs of each syscall.
206 options KTRACE #kernel tracing
207
208 # This provides support for System V shared memory and message queues.
209 #
210 options SYSVSHM
211 options SYSVMSG
212 options SYSVSEM
213
214 # The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be
215 # aware of the legal and administrative consequences of enabling this
216 # option. The number of devices determines the maximum number of
217 # simultaneous BPF clients programs runnable.
218 pseudo-device bpfilter 1 #Berkeley packet filter
Cache object: 0be779785aff77ea974d4b38c612680a
|