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