GENERIC revision 1.103 1 # $NetBSD: GENERIC,v 1.103 1997/10/13 00:46:27 explorer 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 #cy0 at isa? iomem 0xd4000 irq 12 # Cyclades serial cards
134 #cy* at pci? dev ? function ? # Cyclades serial cards
135
136 lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
137 lpt1 at isa? port 0x278
138 lpt2 at isa? port 0x3bc
139
140 lms0 at isa? port 0x23c irq 5 # Logitech bus mouse
141 lms1 at isa? port 0x238 irq 5
142 mms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse
143 mms1 at isa? port 0x238 irq 5
144 #pms0 at pckbd? irq 12 # PS/2 auxiliary port mouse
145
146 aha0 at isa? port 0x330 irq ? drq ? # Adaptec 154[02] SCSI controllers
147 aha1 at isa? port 0x334 irq ? drq ? # Adaptec 154[02] SCSI controllers
148 scsibus* at aha?
149 ahb* at eisa? slot ? # Adaptec 174[024] SCSI controllers
150 scsibus* at ahb?
151 ahc0 at isa? port ? irq ? # Adaptec 284x SCSI controllers
152 ahc* at eisa? slot ? # Adaptec 274x, aic7770 SCSI controllers
153 ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI controllers
154 scsibus* at ahc?
155 aic0 at isa? port 0x340 irq 11 # Adaptec 152[02] SCSI controllers
156 scsibus* at aic?
157 bha0 at isa? port 0x330 irq ? drq ? # BusLogic [57]4X SCSI controllers
158 bha1 at isa? port 0x334 irq ? drq ? # BusLogic [57]4X SCSI controllers
159 bha* at eisa? slot ?
160 bha* at pci? dev ? function ?
161 scsibus* at bha?
162 ncr* at pci? dev ? function ? # NCR 538XX SCSI controllers
163 scsibus* at ncr?
164 sea0 at isa? iomem 0xc8000 irq 5
165 scsibus* at sea?
166 uha0 at isa? port 0x330 irq ? drq ? # UltraStor [13]4f SCSI controllers
167 uha1 at isa? port 0x334 irq ? drq ? # UltraStor [13]4f SCSI controllers
168 uha* at eisa? slot ? # UltraStor 24f SCSI controllers
169 scsibus* at uha?
170 wds0 at isa? port 0x350 irq 15 drq 6 # WD7000 and TMC-7000 controllers
171 wds1 at isa? port 0x358 irq 11 drq 5
172 scsibus* at wds?
173 isp* at pci? dev ? function ? # Qlogic ISP 10x0 SCSI controllers
174 scsibus* at isp?
175
176 sd* at scsibus? target ? lun ? # SCSI disk drives
177 st* at scsibus? target ? lun ? # SCSI tape drives
178 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
179 ch* at scsibus? target ? lun ? # SCSI autochangers
180 ss* at scsibus? target ? lun ? # SCSI scanners
181 uk* at scsibus? target ? lun ? # SCSI unknown
182
183 fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
184 #fdc1 at isa? port 0x370 irq ? drq ?
185 fd* at fdc? drive ?
186
187 #mcd0 at isa? port 0x300 irq 10 # Mitsumi CD-ROM drives
188
189 wdc0 at isa? port 0x1f0 irq 14 # ST506, ESDI, and IDE controllers
190 wdc1 at isa? port 0x170 irq 15
191 wd* at wdc? drive ?
192 atapibus* at wdc?
193 cd* at atapibus? drive ?
194
195 # note: the wt driver conflicts unpleasantly with ed devices at the
196 # same I/O address. The probe reprograms their eeproms. Don't
197 # uncomment it unless you are actually using it.
198 #wt0 at isa? port 0x300 irq 5 drq 1 # Archive and Wangtek QIC tape drives
199
200 ed0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC, 3C503, and NE[12]000
201 ed1 at isa? port 0x250 iomem 0xd8000 irq 9 # ethernet cards
202 ed2 at isa? port 0x300 iomem 0xcc000 irq 10
203 #eg0 at isa? ... # 3C505 ethernet cards
204 el0 at isa? port 0x300 irq 9 # 3C501 ethernet cards
205 ep0 at isa? port ? irq ? # 3C509 ethernet cards
206 ep* at isapnp?
207 ie0 at isa? port 0x360 iomem 0xd0000 irq 7 # StarLAN and 3C507
208 ie1 at isa? port 0x300 irq 10 # EtherExpress
209 #le0 at isa? port 0x320 irq 10 drq 7 # IsoLan, NE2100, and DEPCA
210 lc0 at isa? port ? iomem ? irq ? # DEC EtherWORKS III (LEMAC)
211 ep* at eisa? slot ? # 3C579 ethernet cards
212 fea* at eisa? slot ? # DEC DEFEA FDDI cards
213 le* at pci? dev ? function ? # PCnet-PCI based ethernet cards
214 de* at pci? dev ? function ? # DC21X4X-based ethernet cards
215 ep* at pci? dev ? function ? # 3C59x/3C90x ethernet cards
216 fpa* at pci? dev ? function ? # DEC DEFPA FDDI cards
217 fxp* at pci? dev ? function ? # Intel EEPRO 10/100B
218 fe0 at isa? port 0x2a0 irq ? # AT1700
219
220 pss0 at isa? port 0x220 irq 7 drq 6 # Personal Sound System
221 sp0 at pss0 port 0x530 irq 10 drq 0 # sound port driver
222 audio* at sp0
223
224 sb0 at isa? port 0x220 irq 7 drq 1 drq2 5 # SoundBlaster
225 sb* at isapnp?
226 audio* at sb?
227 wss0 at isa? port 0x530 irq 10 drq 0 drq2 1 # Windows Sound System
228 audio* at wss0
229 pas0 at isa? port 0x220 irq 7 drq 1 # ProAudio Spectrum
230 audio* at pas0
231 gus0 at isa? port 0x220 irq 7 drq 1 drq2 6 # Gravis Ultra Sound
232 audio* at gus0
233 guspnp* at isapnp? # Gravis Ultra Sound PnP
234 audio* at guspnp?
235 #spkr0 at pckbd? port 0x61
236
237 # Joystick driver. Probe is a little strange; add only if you have one.
238 #joy0 at isa? port 0x201
239 joy* at isapnp?
240
241 # Planetconnect Satellite receiver driver.
242 #satlink0 at isa? port 0x300 drq 1
243
244 include "arch/i386/conf/GENERIC.local"
245
246 pseudo-device loop 1 # network loopback
247 pseudo-device bpfilter 8 # packet filter
248 pseudo-device sl 2 # CSLIP
249 pseudo-device ppp 2 # PPP
250 pseudo-device tun 2 # network tunneling over tty
251 #pseudo-device ipfilter # IP filter
252
253 pseudo-device pty 64 # pseudo-terminals
254 pseudo-device tb 1 # tablet line discipline
255 pseudo-device vnd 4 # paging to files
256 pseudo-device ccd 4 # concatenated disk devices
257 #pseudo-device rnd # /dev/random and in-kernel generator
258