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