GENERIC revision 1.8.2.7 1 # $NetBSD: GENERIC,v 1.8.2.7 2005/03/04 16:38:47 skrll Exp $
2 #
3 #
4
5 include "arch/ibmnws/conf/std.ibmnws"
6
7 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
8
9 #makeoptions COPTS="-Os -mmultiple" # -Os -mmultiple to reduce size.
10
11 # Console settings
12 options CONSOLE="\"com\""
13 options CONSOLE_SPEED=9600
14 options CONSOLE_ADDR=0x3f8
15
16 # Enable the hooks used for initializing the ram-disk.
17 options MEMORY_DISK_HOOKS
18 options MEMORY_DISK_IS_ROOT # Force root on ram-disk
19 options MEMORY_DISK_ROOT_SIZE=4096 # 2 Megabytes
20
21 maxusers 8
22
23 #options DDB
24
25 # Compatibility options
26 #options COMPAT_13 # NetBSD 1.3,
27 #options COMPAT_14 # NetBSD 1.4,
28 options COMPAT_16 # NetBSD 1.6,
29 #options COMPAT_43 # and 4.3BSD
30 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
31
32 # File systems
33 file-system FFS # UFS
34 #file-system EXT2FS # second extended file system (linux)
35 file-system MFS # memory file system
36 file-system NFS # Network File System client
37 #file-system CD9660 # ISO 9660 + Rock Ridge file system
38 #file-system MSDOSFS # MS-DOS file system
39
40 # File system options
41 options VNODE_OP_NOINLINE # Save space by not inlining vnode op calls
42 #options FFS_EI # FFS Endian Independant support
43 #options FFS_NO_SNAPSHOT # ffs snapshots
44 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
45 # immutable) behave as system flags.
46
47 #options USERCONF # userconf(4) support
48 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
49 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
50
51 # Networking options
52 options INET # IP + ICMP + TCP + UDP
53
54 #options ALTQ # Manipulate network interfaces' output queues
55 #options ALTQ_BLUE # Stochastic Fair Blue
56 #options ALTQ_CBQ # Class-Based Queueing
57 #options ALTQ_CDNR # Diffserv Traffic Conditioner
58 #options ALTQ_FIFOQ # First-In First-Out Queue
59 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
60 #options ALTQ_HFSC # Hierarchical Fair Service Curve
61 #options ALTQ_LOCALQ # Local queueing discipline
62 #options ALTQ_PRIQ # Priority Queueing
63 #options ALTQ_RED # Random Early Detection
64 #options ALTQ_RIO # RED with IN/OUT
65 #options ALTQ_WFQ # Weighted Fair Queueing
66 # options NFS_BOOT_BOOTPARAM
67 options NFS_BOOT_DHCP
68
69 #
70 # wscons options
71 #
72 # builtin terminal emulations
73 #options WSEMUL_VT100 # VT100 / VT220 emulation
74 # different kernel output - see dev/wscons/wsdisplayvar.h
75 #options WS_KERNEL_FG=WSCOL_GREEN
76 #options WS_KERNEL_BG=WSCOL_BLACK
77 # see dev/pckbc/wskbdmap_mfii.c for implemented layouts
78 #options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
79 # allocate a number of virtual screens at autoconfiguration time
80 #options WSDISPLAY_DEFAULTSCREENS=4
81 # use a large software cursor that doesn't blink
82 #options PCDISPLAY_SOFTCURSOR
83
84 # Kernel root file system and dump configuration.
85 config netbsd root on ? type ?
86
87
88 #
89 # Device configuration
90 #
91
92 mainbus0 at root
93 cpu0 at mainbus0
94
95
96 # Basic Bus Support
97
98 # PCI bus support
99 pci0 at mainbus0 bus ?
100 pci* at pchb? bus ?
101
102 options PCI_NETBSD_CONFIGURE
103 options PCIVERBOSE
104
105 # PCI bridges
106 pchb* at pci? dev ? function ? # PCI-Host bridges
107 pcib* at pci? dev ? function ? # PCI-ISA bridges
108
109 # ISA bus support
110 isa* at pcib? # ISA on PCI-ISA bridge
111
112 # PCMCIA bus support
113 # pcmcia* at pcic? controller ? socket ?
114
115 # ISA PCMCIA controllers
116 # pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
117
118 #options PCIC_ISA_INTR_ALLOC_MASK=0x4a00 # free irq 9,11,14
119 #options PCIC_ISA_ALLOC_IOBASE=0x0400
120 #options PCIC_ISA_ALLOC_IOSIZE=0x0100
121
122 # ISA Plug-and-Play bus support
123 # isapnp0 at isa?
124
125 # on-board I/O for IBM Personal Power Series 830 IDE controller
126 # obio0 at mainbus0
127
128
129 # Console Devices
130
131 # wscons
132 # pckbc0 at isa? # pc keyboard controller
133 # pckbd* at pckbc? # PC keyboard
134 # pms* at pckbc? # PS/2 mouse for wsmouse
135 # vga* at pci?
136 # wsdisplay* at vga? console ?
137 # wskbd* at pckbd? console ?
138 # wsmouse* at pms? mux 0
139
140 # pcppi0 at isa? # PC prog. periph. interface
141 # isabeep0 at pcppi? # "keyboard" beep
142
143 # mcclock0 at isa? port 0x70 # mc146818 and compatible
144
145
146 # Serial Devices
147
148 # ISA serial interfaces
149 com0 at isa? port 0x3f8 irq 4 # standard PC serial ports
150 com1 at isa? port 0x2f8 irq 3
151
152 # Parallel Printer Interfaces
153
154 # ISA parallel printer interfaces
155 lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
156
157
158 # SCSI Controllers and Devices
159
160 # PCI SCSI controllers
161 # adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
162 # ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
163 # iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
164 # pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI
165 # siop* at pci? dev ? function ? # Symbios 53c8xx SCSI
166
167 # PCMCIA SCSI controllers
168 # aic* at pcmcia? function ? # Adaptec APA-1460 SCSI
169
170 # SCSI bus support
171 # scsibus* at adw?
172 # scsibus* at ahc?
173 # scsibus* at aic?
174 # scsibus* at iha?
175 # scsibus* at pcscp?
176 # scsibus* at siop?
177
178 # SCSI devices
179 # sd* at scsibus? target ? lun ? # SCSI disk drives
180 # st* at scsibus? target ? lun ? # SCSI tape drives
181 # cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
182
183
184 # IDE and related devices
185
186 # IBM Personal Power Series 830 IDE controller
187 # wdc0 at obio? port 0x1f0 irq 13
188 # wdc1 at obio? port 0x170 irq 13
189
190 # ISA Plug-and-Play IDE controllers
191 # wdc* at isapnp?
192
193 # PCMCIA IDE controllers
194 # wdc* at pcmcia? function ?
195
196 # IDE drives
197 # Flags are used only with controllers that support DMA operations
198 # and mode settings (e.g. some pciide controllers)
199 # The lowest order four bits (rightmost digit) of the flags define the PIO
200 # mode to use, the next set of four bits the DMA mode and the third set the
201 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
202 # to use, and the last bit must be 1 for this setting to be used.
203 # For DMA and UDMA, 0xf (1111) means 'disable'.
204 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
205 # (0xc=1100, 0xa=1010, 0xf=1111)
206 # 0x0000 means "use whatever the drive claims to support".
207 # wd* at wdc? channel ? drive ? flags 0x0000
208
209 # ATAPI bus support
210 # atapibus* at wdc? channel ?
211
212 # ATAPI devices
213 # flags have the same meaning as for IDE drives.
214 # cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
215 # sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
216
217 # Miscellaneous mass storage devices
218
219 # ISA floppy
220 # fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
221 # fd* at fdc? drive ?
222
223 # Network Interfaces
224
225 # PCI network interfaces
226 pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet
227 options PCN_NO_PROM # PROM not used for ethernet addr
228
229 # PCMCIA network interfaces
230 # ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
231 # ne* at pcmcia? function ? # NE2000-compatible Ethernet
232
233 # MII/PHY support
234 #acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs
235 #amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs
236 #bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs
237 #brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs
238 #dmphy* at mii? phy ? # Davicom DM9101 PHYs
239 #exphy* at mii? phy ? # 3Com internal PHYs
240 #gentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs
241 #glxtphy* at mii? phy ? # Level One LXT-1000 PHYs
242 #gphyter* at mii? phy ? # NS83861 Gig-E PHY
243 icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
244 #inphy* at mii? phy ? # Intel 82555 PHYs
245 #iophy* at mii? phy ? # Intel 82553 PHYs
246 #lxtphy* at mii? phy ? # Level One LXT-970 PHYs
247 #makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
248 #nsphy* at mii? phy ? # NS83840 PHYs
249 #nsphyter* at mii? phy ? # NS83843 PHYs
250 #pnaphy* at mii? phy ? # generic HomePNA PHYs
251 #qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
252 #sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
253 #tlphy* at mii? phy ? # ThunderLAN PHYs
254 #tqphy* at mii? phy ? # TDK Semiconductor PHYs
255 #ukphy* at mii? phy ? # generic unknown PHYs
256 #urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs
257
258 # Audio support
259 paud0 at isa? port 0x830 irq 10 drq 0 drq2 1
260 audio* at audiobus?
261
262 # Pseudo-Devices
263
264 # disk/mass storage pseudo-devices
265 pseudo-device md 1 # memory disk device (ramdisk)
266
267 # network pseudo-devices
268 pseudo-device bpfilter 8 # network tap
269 pseudo-device loop # network loopback
270
271 # miscellaneous pseudo-devices
272 pseudo-device pty # pseudo-terminals
273 pseudo-device rnd # /dev/random and in-kernel generator
274 #options RND_COM # use "com" randomness as well
275 pseudo-device ksyms
276 pseudo-device clockctl
277