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