GENERIC revision 1.80 1 # $NetBSD: GENERIC,v 1.80 1997/06/11 21:05:41 perry 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 #options GATEWAY # packet forwarding
77 options INET # IP + ICMP + TCP + UDP
78 #options MROUTING # IP multicast routing
79 options NS # XNS
80 #options NSIP # XNS tunneling over IP
81 options ISO,TPIP # OSI
82 options EON # OSI tunneling over IP
83 options CCITT,LLC,HDLC # X.25
84 #options PFIL_HOOKS # pfil(9) packet filter hooks
85
86 config netbsd root on ? type ?
87 #options COMCONSOLE=0,CONADDR=0x3f8,CONUNIT=0,CONSPEED=9600
88
89 options EISAVERBOSE # verbose EISA device messages
90 options PCIVERBOSE # verbose PCI device messages
91
92 mainbus0 at root
93
94 pci0 at mainbus0 bus ?
95 eisa0 at mainbus0
96
97 ppb* at pci? dev ? function ? # PCI-PCI bridges
98 pci* at ppb? bus ?
99 pchb* at pci? dev ? function ? # PCI-Host bridges
100 pci* at pchb?
101 pcib* at pci? dev ? function ? # PCI-ISA bridges
102
103 isa* at pcib? # ISA on PCI-ISA bridge
104 isa* at mainbus0 # all other ISA
105
106 apm0 at mainbus0 # Advanced power management
107
108 npx0 at isa? port 0xf0 irq 13 # math coprocessor
109
110 pc0 at isa? port 0x60 irq 1 # generic PC console device
111 #vt0 at isa? port 0x60 irq 1
112
113 com0 at isa? port 0x3f8 irq 4 # standard PC serial ports
114 com1 at isa? port 0x2f8 irq 3
115 com2 at isa? port 0x3e8 irq 5
116 #com3 at isa? port 0x2e8 irq 9
117 #ast0 at isa? port 0x1a0 irq 5 # AST 4-port serial cards
118 #com* at ast? slave ?
119 #boca0 at isa? port 0x100 irq 5 # BOCA 8-port serial cards
120 #com* at boca? slave ?
121 #rtfps0 at isa? port 0x1230 irq 10 # RT 4-port serial cards
122 #com* at rtfps? slave ?
123 #cy0 at isa? iomem 0xd4000 irq 12 # Cyclades serial cards
124 #cy* at pci? dev ? function ? # Cyclades serial cards
125
126 lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
127 lpt1 at isa? port 0x278
128 lpt2 at isa? port 0x3bc
129
130 lms0 at isa? port 0x23c irq 5 # Logitech bus mouse
131 lms1 at isa? port 0x238 irq 5
132 mms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse
133 mms1 at isa? port 0x238 irq 5
134 #pms0 at pckbd? irq 12 # PS/2 auxiliary port mouse
135
136 aha0 at isa? port 0x330 irq ? drq ? # Adaptec 154[02] SCSI controllers
137 aha1 at isa? port 0x334 irq ? drq ? # Adaptec 154[02] SCSI controllers
138 scsibus* at aha?
139 ahb* at eisa? slot ? # Adaptec 174[024] SCSI controllers
140 scsibus* at ahb?
141 ahc0 at isa? port ? irq ? # Adaptec 284x SCSI controllers
142 ahc* at eisa? slot ? # Adaptec 274x, aic7770 SCSI controllers
143 ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI controllers
144 scsibus* at ahc?
145 aic0 at isa? port 0x340 irq 11 # Adaptec 152[02] SCSI controllers
146 scsibus* at aic?
147 bha0 at isa? port 0x330 irq ? drq ? # BusLogic [57]4X SCSI controllers
148 bha1 at isa? port 0x334 irq ? drq ? # BusLogic [57]4X SCSI controllers
149 bha* at eisa? slot ?
150 bha* at pci? dev ? function ?
151 scsibus* at bha?
152 ncr* at pci? dev ? function ? # NCR 538XX SCSI controllers
153 scsibus* at ncr?
154 sea0 at isa? iomem 0xc8000 irq 5
155 scsibus* at sea?
156 uha0 at isa? port 0x330 irq ? drq ? # UltraStor [13]4f SCSI controllers
157 uha1 at isa? port 0x334 irq ? drq ? # UltraStor [13]4f SCSI controllers
158 uha* at eisa? slot ? # UltraStor 24f SCSI controllers
159 scsibus* at uha?
160 wds0 at isa? port 0x350 irq 15 drq 6 # WD7000 and TMC-7000 controllers
161 wds1 at isa? port 0x358 irq 11 drq 5
162 scsibus* at wds?
163 isp* at pci? dev ? function ? # Qlogic ISP 10x0 SCSI controllers
164 scsibus* at isp?
165
166 sd* at scsibus? target ? lun ? # SCSI disk drives
167 st* at scsibus? target ? lun ? # SCSI tape drives
168 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
169 ch* at scsibus? target ? lun ? # SCSI autochangers
170 ss* at scsibus? target ? lun ? # SCSI scanners
171 uk* at scsibus? target ? lun ? # SCSI unknown
172
173 fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
174 #fdc1 at isa? port 0x370 irq ? drq ?
175 fd* at fdc? drive ?
176
177 mcd0 at isa? port 0x300 irq 10 # Mitsumi CD-ROM drives
178
179 wdc0 at isa? port 0x1f0 irq 14 # ST506, ESDI, and IDE controllers
180 wdc1 at isa? port 0x170 irq 15
181 wd* at wdc? drive ?
182
183 # note: the wt driver conflicts unpleasantly with ed devices at the
184 # same I/O address. The probe reprograms their eeproms. Don't
185 # uncomment it unless you are actually using it.
186 #wt0 at isa? port 0x300 irq 5 drq 1 # Archive and Wangtek QIC tape drives
187
188 ed0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC, 3C503, and NE[12]000
189 ed1 at isa? port 0x250 iomem 0xd8000 irq 9 # ethernet cards
190 ed2 at isa? port 0x300 iomem 0xcc000 irq 10
191 #eg0 at isa? ... # 3C505 ethernet cards
192 el0 at isa? port 0x300 irq 9 # 3C501 ethernet cards
193 ep0 at isa? port ? irq ? # 3C509 ethernet cards
194 ie0 at isa? port 0x360 iomem 0xd0000 irq 7 # StarLAN and 3C507
195 ie1 at isa? port 0x300 irq 10 # EtherExpress
196 #le0 at isa? port 0x320 irq 10 drq 7 # IsoLan, NE2100, and DEPCA
197 ep* at eisa? slot ? # 3C579 ethernet cards
198 fea* at eisa? slot ? # DEC DEFEA FDDI cards
199 le* at pci? dev ? function ? # PCnet-PCI based ethernet cards
200 de* at pci? dev ? function ? # DC21X4X-based ethernet cards
201 ep* at pci? dev ? function ? # 3C590 ethernet cards
202 fpa* at pci? dev ? function ? # DEC DEFPA FDDI cards
203 fxp* at pci? dev ? function ? # Intel EEPRO 10/100B
204
205 pss0 at isa? port 0x220 irq 7 drq 6 # Personal Sound System
206 sp0 at pss0 port 0x530 irq 10 drq 0 # sound port driver
207
208 sb0 at isa? port 0x220 irq 7 drq 1 # SoundBlaster
209 wss0 at isa? port 0x530 irq 10 drq 0 # Windows Sound System
210 pas0 at isa? port 0x220 irq 7 drq 1 # ProAudio Spectrum
211 gus0 at isa? port 0x220 irq 7 drq 1 flags 6 # Gravis Ultra Sound (flags is record drq for full-duplex)
212 #spkr0 at pckbd? port 0x61
213
214 # Joystick driver. Probe is a little strange; add only if you have one.
215 #joy0 at isa? port 0x201
216
217 # PnP bus and devices should be declared last
218 isapnp0 at isa?
219 ep* at isapnp?
220 sb* at isapnp?
221 joy* at isapnp?
222
223 include "arch/i386/conf/GENERIC.local"
224
225 pseudo-device loop 1 # network loopback
226 pseudo-device bpfilter 8 # packet filter
227 pseudo-device sl 2 # CSLIP
228 pseudo-device ppp 2 # PPP
229 pseudo-device tun 2 # network tunneling over tty
230 #pseudo-device ipfilter # ip filter
231
232 pseudo-device pty 64 # pseudo-terminals
233 pseudo-device tb 1 # tablet line discipline
234 pseudo-device vnd 4 # paging to files
235 pseudo-device ccd 4 # concatenated disk devices
236