GENERIC revision 1.108 1 # $NetBSD: GENERIC,v 1.108 1997/10/17 07:27:02 thorpej Exp $
2 #
3 # GENERIC -- everything that's currently supported
4 #
5
6 include "arch/i386/conf/std.i386"
7
8 options I386_CPU # CPU classes; at least one is REQUIRED
9 options I486_CPU
10 options I586_CPU
11 options I686_CPU
12 options MATH_EMULATE # floating point emulation
13 #options VM86 # virtual 8086 emulation
14 options USER_LDT # user-settable LDT; used by WINE
15
16 # The following options override the memory sizes passed in from the boot
17 # block. Use them *only* if the boot block is unable to determine the correct
18 # values. Note that the BIOS may *correctly* report less that 640k of base
19 # memory if the extended BIOS data area is located at the top of base memory
20 # (as is the case on most recent systems).
21 #options REALBASEMEM=... # size of base memory
22 #options REALEXTMEM=... # size of extended memory
23
24 #options DUMMY_NOPS # speed hack; recommended
25 options XSERVER,UCONSOLE
26 options INSECURE # insecure; allow /dev/mem writing for X
27
28 maxusers 32 # estimated number of users
29 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
30 #options NTP # NTP phase/frequency locked loop
31
32 options DDB # in-kernel debugger
33 #options KGDB # remote debugger
34 #options "KGDB_DEVNAME=\"com\"",KGDBADDR=0x3f8,KGDBRATE=9600
35 #makeoptions DEBUG="-g" # compile full symbol table
36 options DIAGNOSTIC # internal consistency checks
37 options KTRACE # system call tracing via ktrace(1)
38 options KMEMSTATS # kernel memory statistics (vmstat -m)
39
40 options SYSVMSG # System V-like message queues
41 options SYSVSEM # System V-like semaphores
42 options SYSVSHM # System V-like memory sharing
43 #options SHMMAXPGS=1024 # 1024 pages is the default
44
45 options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8,
46 options COMPAT_09 # NetBSD 0.9,
47 options COMPAT_10 # NetBSD 1.0,
48 options COMPAT_11 # NetBSD 1.1,
49 options COMPAT_12 # NetBSD 1.2,
50 options COMPAT_43 # and 4.3BSD
51 options TCP_COMPAT_42 # TCP bug compatibility with 4.2BSD
52
53 options COMPAT_SVR4 # binary compatibility with SVR4
54 options COMPAT_IBCS2 # binary compatibility with SCO and ISC
55 options COMPAT_LINUX # binary compatibility with Linux
56 options COMPAT_FREEBSD # binary compatibility with FreeBSD
57
58 options EXEC_ELF32 # 32-bit ELF executables (SVR4, Linux)
59
60 options LKM # loadable kernel modules
61
62 file-system FFS # UFS
63 file-system EXT2FS # second extended file system (linux)
64 file-system LFS # log-structured file system
65 file-system MFS # memory file system
66 file-system NFS # Network File System client
67 file-system CD9660 # ISO 9660 + Rock Ridge file system
68 file-system MSDOSFS # MS-DOS file system
69 file-system FDESC # /dev/fd
70 file-system KERNFS # /kern
71 file-system NULLFS # loopback file system
72 file-system PORTAL # portal filesystem (still experimental)
73 file-system PROCFS # /proc
74 file-system UMAPFS # NULLFS + uid and gid remapping
75 file-system UNION # union file system
76
77 options QUOTA # UFS quotas
78 options NFSSERVER # Network File System server
79 options FIFO # FIFOs; RECOMMENDED
80 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
81 # immutable) behave as system flags.
82
83 #options GATEWAY # packet forwarding
84 options INET # IP + ICMP + TCP + UDP
85 #options MROUTING # IP multicast routing
86 options NS # XNS
87 #options NSIP # XNS tunneling over IP
88 options ISO,TPIP # OSI
89 options EON # OSI tunneling over IP
90 options CCITT,LLC,HDLC # X.25
91 #options PFIL_HOOKS # pfil(9) packet filter hooks
92
93 config netbsd root on ? type ?
94 #options "CONSDEVNAME=\"com\"",CONADDR=0x3f8,CONSPEED=9600
95
96 options EISAVERBOSE # verbose EISA device messages
97 options PCIVERBOSE # verbose PCI device messages
98 options SCSIVERBOSE # verbose SCSI error messages
99
100 mainbus0 at root
101
102 pci0 at mainbus0 bus ?
103 eisa0 at mainbus0
104
105 ppb* at pci? dev ? function ? # PCI-PCI bridges
106 pci* at ppb? bus ?
107 pchb* at pci? dev ? function ? # PCI-Host bridges
108 pci* at pchb?
109 pcib* at pci? dev ? function ? # PCI-ISA bridges
110
111 isa* at pcib? # ISA on PCI-ISA bridge
112 isa* at mainbus0 # all other ISA
113 isapnp0 at isa? # ISA Plug-and-Play
114
115 #apm0 at mainbus0 # Advanced power management
116
117 npx0 at isa? port 0xf0 irq 13 # math coprocessor
118
119 pc0 at isa? port 0x60 irq 1 # generic PC console device
120 #vt0 at isa? port 0x60 irq 1
121
122 #options COM_HAYESP # adds Hayes ESP serial board support
123 com0 at isa? port 0x3f8 irq 4 # standard PC serial ports
124 com1 at isa? port 0x2f8 irq 3
125 com2 at isa? port 0x3e8 irq 5
126 #com3 at isa? port 0x2e8 irq 9
127 #ast0 at isa? port 0x1a0 irq 5 # AST 4-port serial cards
128 #com* at ast? slave ?
129 #boca0 at isa? port 0x100 irq 5 # BOCA 8-port serial cards
130 #com* at boca? slave ?
131 #rtfps0 at isa? port 0x1230 irq 10 # RT 4-port serial cards
132 #com* at rtfps? slave ?
133 com* at isapnp?
134 #cy0 at isa? iomem 0xd4000 irq 12 # Cyclades serial cards
135 #cy* at pci? dev ? function ? # Cyclades serial cards
136
137 lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
138 lpt1 at isa? port 0x278
139 lpt2 at isa? port 0x3bc
140
141 lms0 at isa? port 0x23c irq 5 # Logitech bus mouse
142 lms1 at isa? port 0x238 irq 5
143 mms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse
144 mms1 at isa? port 0x238 irq 5
145 #pms0 at pckbd? irq 12 # PS/2 auxiliary port mouse
146
147 aha0 at isa? port 0x330 irq ? drq ? # Adaptec 154[02] SCSI controllers
148 aha1 at isa? port 0x334 irq ? drq ? # Adaptec 154[02] SCSI controllers
149 scsibus* at aha?
150 ahb* at eisa? slot ? # Adaptec 174[024] SCSI controllers
151 scsibus* at ahb?
152 ahc0 at isa? port ? irq ? # Adaptec 284x SCSI controllers
153 ahc* at eisa? slot ? # Adaptec 274x, aic7770 SCSI controllers
154 ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI controllers
155 scsibus* at ahc?
156 aic0 at isa? port 0x340 irq 11 # Adaptec 152[02] SCSI controllers
157 scsibus* at aic?
158 bha0 at isa? port 0x330 irq ? drq ? # BusLogic [57]4X SCSI controllers
159 bha1 at isa? port 0x334 irq ? drq ? # BusLogic [57]4X SCSI controllers
160 bha* at eisa? slot ?
161 bha* at pci? dev ? function ?
162 scsibus* at bha?
163 ncr* at pci? dev ? function ? # NCR 538XX SCSI controllers
164 scsibus* at ncr?
165 sea0 at isa? iomem 0xc8000 irq 5
166 scsibus* at sea?
167 uha0 at isa? port 0x330 irq ? drq ? # UltraStor [13]4f SCSI controllers
168 uha1 at isa? port 0x334 irq ? drq ? # UltraStor [13]4f SCSI controllers
169 uha* at eisa? slot ? # UltraStor 24f SCSI controllers
170 scsibus* at uha?
171 wds0 at isa? port 0x350 irq 15 drq 6 # WD7000 and TMC-7000 controllers
172 wds1 at isa? port 0x358 irq 11 drq 5
173 scsibus* at wds?
174 isp* at pci? dev ? function ? # Qlogic ISP 10x0 SCSI controllers
175 scsibus* at isp?
176
177 sd* at scsibus? target ? lun ? # SCSI disk drives
178 st* at scsibus? target ? lun ? # SCSI tape drives
179 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
180 ch* at scsibus? target ? lun ? # SCSI autochangers
181 ss* at scsibus? target ? lun ? # SCSI scanners
182 uk* at scsibus? target ? lun ? # SCSI unknown
183
184 fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
185 #fdc1 at isa? port 0x370 irq ? drq ?
186 fd* at fdc? drive ?
187
188 #mcd0 at isa? port 0x300 irq 10 # Mitsumi CD-ROM drives
189
190 wdc0 at isa? port 0x1f0 irq 14 # ST506, ESDI, and IDE controllers
191 wdc1 at isa? port 0x170 irq 15
192 wd* at wdc? drive ?
193 atapibus* at wdc?
194 cd* at atapibus? drive ?
195
196 # note: the wt driver conflicts unpleasantly with ed devices at the
197 # same I/O address. The probe reprograms their eeproms. Don't
198 # uncomment it unless you are actually using it.
199 #wt0 at isa? port 0x300 irq 5 drq 1 # Archive and Wangtek QIC tape drives
200
201 ed0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC and 3C503
202 ed1 at isa? port 0x250 iomem 0xd8000 irq 9 # ethernet cards
203 ed2 at isa? port 0x300 iomem 0xcc000 irq 10
204 #eg0 at isa? ... # 3C505 ethernet cards
205 el0 at isa? port 0x300 irq 9 # 3C501 ethernet cards
206 ep0 at isa? port ? irq ? # 3C509 ethernet cards
207 ep* at isapnp?
208 fe0 at isa? port 0x2a0 irq ? # AT1700
209 ie0 at isa? port 0x360 iomem 0xd0000 irq 7 # StarLAN and 3C507
210 ie1 at isa? port 0x300 irq 10 # EtherExpress
211 #le0 at isa? port 0x320 irq 10 drq 7 # IsoLan, NE2100, and DEPCA
212 lc0 at isa? port ? iomem ? irq ? # DEC EtherWORKS III (LEMAC)
213 ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards
214 ne1 at isa? port 0x300 irq 10
215 ne* at isapnp?
216 ep* at eisa? slot ? # 3C579 ethernet cards
217 fea* at eisa? slot ? # DEC DEFEA FDDI cards
218 le* at pci? dev ? function ? # PCnet-PCI based ethernet cards
219 de* at pci? dev ? function ? # DC21X4X-based ethernet cards
220 ep* at pci? dev ? function ? # 3C59x/3C90x ethernet cards
221 fpa* at pci? dev ? function ? # DEC DEFPA FDDI cards
222 fxp* at pci? dev ? function ? # Intel EEPRO 10/100B
223 ne* at pci? dev ? function ? # NE2000-compatible eth cards
224
225 pss0 at isa? port 0x220 irq 7 drq 6 # Personal Sound System
226 sp0 at pss0 port 0x530 irq 10 drq 0 # sound port driver
227 audio* at sp0
228
229 sb0 at isa? port 0x220 irq 7 drq 1 drq2 5 # SoundBlaster
230 sb* at isapnp?
231 audio* at sb?
232 wss0 at isa? port 0x530 irq 10 drq 0 drq2 1 # Windows Sound System
233 audio* at wss0
234 pas0 at isa? port 0x220 irq 7 drq 1 # ProAudio Spectrum
235 audio* at pas0
236 gus0 at isa? port 0x220 irq 7 drq 1 drq2 6 # Gravis Ultra Sound
237 audio* at gus0
238 guspnp* at isapnp? # Gravis Ultra Sound PnP
239 audio* at guspnp?
240 #spkr0 at pckbd? port 0x61
241
242 # Joystick driver. Probe is a little strange; add only if you have one.
243 #joy0 at isa? port 0x201
244 joy* at isapnp?
245
246 # Planetconnect Satellite receiver driver.
247 #satlink0 at isa? port 0x300 drq 1
248
249 # PCMCIA controllers, sockets, and devices.
250
251 pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x4000
252 pcic1 at isa? port 0x3e2 iomem 0xd4000 iosiz 0x4000
253
254 pcmcia* at pcic? controller ? socket ?
255
256 ep* at pcmcia? function ?
257 ne* at pcmcia? function ?
258 sm* at pcmcia? function ?
259 com* at pcmcia? function ?
260 aic* at pcmcia? function ?
261
262 include "arch/i386/conf/GENERIC.local"
263
264 pseudo-device loop 1 # network loopback
265 pseudo-device bpfilter 8 # packet filter
266 pseudo-device sl 2 # CSLIP
267 pseudo-device ppp 2 # PPP
268 pseudo-device tun 2 # network tunneling over tty
269 #pseudo-device ipfilter # IP filter
270
271 pseudo-device pty 64 # pseudo-terminals
272 pseudo-device tb 1 # tablet line discipline
273 pseudo-device vnd 4 # paging to files
274 pseudo-device ccd 4 # concatenated disk devices
275 #pseudo-device rnd # /dev/random and in-kernel generator
276