43P150 revision 1.1 1 1.1 macallan # $NetBSD: 43P150,v 1.1 2026/09/08 09:28:41 macallan Exp $
2 1.1 macallan #
3 1.1 macallan # IBM 43P/150 machine description file
4 1.1 macallan #
5 1.1 macallan
6 1.1 macallan include "arch/ofppc/conf/std.ofppc"
7 1.1 macallan
8 1.1 macallan options INCLUDE_CONFIG_FILE # embed config file in kernel binary
9 1.1 macallan
10 1.1 macallan #ident "GENERIC-$Revision: 1.1 $"
11 1.1 macallan
12 1.1 macallan maxusers 32
13 1.1 macallan
14 1.1 macallan options PIC_OPENPIC
15 1.1 macallan options PIC_I8259
16 1.1 macallan options PIC_PREPIVR
17 1.1 macallan #options OFWOEA_DEBUG
18 1.1 macallan
19 1.1 macallan # we don't need or want bridge mode on a 604e box
20 1.1 macallan no options PPC_OEA64_BRIDGE
21 1.1 macallan
22 1.1 macallan # IBM OpenFirmware configures PCI devices, don't mess with it
23 1.1 macallan no options PCI_NETBSD_CONFIGURE
24 1.1 macallan
25 1.1 macallan # various hacks due to bugs in Openfirmware implementation
26 1.1 macallan options FIRMWORKSBUGS
27 1.1 macallan
28 1.1 macallan # Standard system options
29 1.1 macallan options INSECURE # disable kernel security checks
30 1.1 macallan #options NTP # NTP phase/frequency locked loop
31 1.1 macallan options KTRACE # system call tracing via ktrace(1)
32 1.1 macallan
33 1.1 macallan options SYSVMSG # System V message queues
34 1.1 macallan options SYSVSEM # System V semaphores
35 1.1 macallan options SYSVSHM # System V shared memory
36 1.1 macallan
37 1.1 macallan options USERCONF # userconf(4) support
38 1.1 macallan #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
39 1.1 macallan options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
40 1.1 macallan #options RDB_PART # Rigid Disk Block partition support
41 1.1 macallan
42 1.1 macallan # Alternate buffer queue strategies for better responsiveness under high
43 1.1 macallan # disk I/O load.
44 1.1 macallan #options BUFQ_READPRIO
45 1.1 macallan options BUFQ_PRIOCSCAN
46 1.1 macallan
47 1.1 macallan # Diagnostic/debugging support options
48 1.1 macallan #options DIAGNOSTIC # cheap kernel consistency checks
49 1.1 macallan #options DEBUG # expensive debugging checks/support
50 1.1 macallan options DDB # in-kernel debugger
51 1.1 macallan options DDB_HISTORY_SIZE=512 # enable history editing in DDB
52 1.1 macallan options DDB_VERBOSE_HELP
53 1.1 macallan options TRAP_PANICWAIT
54 1.1 macallan options MSGBUFSIZE=32768
55 1.1 macallan
56 1.1 macallan makeoptions DEBUG="-g" # compile full symbol table
57 1.1 macallan
58 1.1 macallan # Compatibility option
59 1.1 macallan include "conf/compat_netbsd100.config"
60 1.1 macallan #options COMPAT_386BSD_MBRPART # recognize old partition ID
61 1.1 macallan #options COMPAT_LINUX # Linux binary compatibility
62 1.1 macallan #options COMPAT_OSSAUDIO # Linux binary compatibility
63 1.1 macallan
64 1.1 macallan # Wedge support
65 1.1 macallan #options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances
66 1.1 macallan #options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges
67 1.1 macallan #options DKWEDGE_METHOD_BSDLABEL # Support disklabel entries as wedges
68 1.1 macallan #options DKWEDGE_METHOD_MBR # Support MBR partitions as wedges
69 1.1 macallan #options DKWEDGE_METHOD_APPLE # Support Apple partitions as wedges
70 1.1 macallan #options DKWEDGE_METHOD_RDB # Support RDB partitions as wedges
71 1.1 macallan #options DKWEDGE_METHOD_TOS # Support Atari "TOS" partitions as wedges
72 1.1 macallan
73 1.1 macallan # File systems
74 1.1 macallan file-system FFS # UFS
75 1.1 macallan #file-system EXT2FS # second extended file system (linux)
76 1.1 macallan #file-system LFS # log-structured file system
77 1.1 macallan #file-system MFS # memory file system
78 1.1 macallan file-system NFS # Network file System client
79 1.1 macallan file-system CD9660 # ISO 9660 + Rock Ridge file system
80 1.1 macallan file-system MSDOSFS # MS-DOS file system
81 1.1 macallan #file-system ADOSFS # AmigaDOS file system
82 1.1 macallan file-system FDESC # /dev/fd
83 1.1 macallan file-system KERNFS # /kern
84 1.1 macallan #file-system NULLFS # loopback file system
85 1.1 macallan #file-system OVERLAY # overlay file system
86 1.1 macallan #file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
87 1.1 macallan file-system PROCFS # /proc
88 1.1 macallan #file-system UMAPFS # NULLFS + uid and gid remapping
89 1.1 macallan #file-system UNION # union file system
90 1.1 macallan #file-system NTFS # Windows NT file system
91 1.1 macallan file-system PTYFS # /dev/pts/N support
92 1.1 macallan file-system TMPFS # Efficient memory file-system
93 1.1 macallan #file-system UDF # experimental - OSTA UDF CD/DVD file-system
94 1.1 macallan
95 1.1 macallan # File system options
96 1.1 macallan #options FFS_EI # FFS Endian Independent support
97 1.1 macallan #options FFS_NO_SNAPSHOT # No FFS snapshot support
98 1.1 macallan #options QUOTA # legacy UFS quotas
99 1.1 macallan #options QUOTA2 # new, in-filesystem UFS quotas
100 1.1 macallan options UFS_DIRHASH # UFS Large Directory Hashing
101 1.1 macallan options UFS_EXTATTR # Extended attribute support for UFS1
102 1.1 macallan options WAPBL # File system journaling support
103 1.1 macallan #options LFS_DIRHASH # LFS version of UFS_DIRHASH - experimental
104 1.1 macallan options NFSSERVER # Network File System server
105 1.1 macallan
106 1.1 macallan options NFS_BOOT_DHCP # Support DHCP NFS root
107 1.1 macallan
108 1.1 macallan # Networking options
109 1.1 macallan #options GATEWAY # packet forwarding
110 1.1 macallan options INET # IP + ICMP + TCP + UDP
111 1.1 macallan options INET6 # IPV6
112 1.1 macallan #options IPSEC # IP security
113 1.1 macallan #options IPSEC_DEBUG # debug for IP security
114 1.1 macallan #options MROUTING # IP multicast routing
115 1.1 macallan #options PIM # Protocol Independent Multicast
116 1.1 macallan #options NETATALK # AppleTalk networking protocols
117 1.1 macallan #options PPP_BSDCOMP # BSD-Compress compression support for PPP
118 1.1 macallan #options PPP_DEFLATE # Deflate compression support for PPP
119 1.1 macallan #options PPP_FILTER # Active filter support for PPP (requires BPF)
120 1.1 macallan #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
121 1.1 macallan
122 1.1 macallan #options ALTQ # Manipulate network interfaces' output queues
123 1.1 macallan #options ALTQ_BLUE # Stochastic Fair Blue
124 1.1 macallan #options ALTQ_CBQ # Class-Based Queueing
125 1.1 macallan #options ALTQ_CDNR # Diffserv Traffic Conditioner
126 1.1 macallan #options ALTQ_FIFOQ # First-In First-Out Queue
127 1.1 macallan #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
128 1.1 macallan #options ALTQ_HFSC # Hierarchical Fair Service Curve
129 1.1 macallan #options ALTQ_LOCALQ # Local queueing discipline
130 1.1 macallan #options ALTQ_PRIQ # Priority Queueing
131 1.1 macallan #options ALTQ_RED # Random Early Detection
132 1.1 macallan #options ALTQ_RIO # RED with IN/OUT
133 1.1 macallan #options ALTQ_WFQ # Weighted Fair Queueing
134 1.1 macallan
135 1.1 macallan # These options enable verbose messages for several subsystems.
136 1.1 macallan # Warning, these may compile large string tables into the kernel!
137 1.1 macallan #options MIIVERBOSE # verbose PHY autoconfig messages
138 1.1 macallan options PCIVERBOSE # verbose PCI device autoconfig messages
139 1.1 macallan #options PCI_CONFIG_DUMP # verbosely dump PCI config space
140 1.1 macallan options SCSIVERBOSE # human readable SCSI error messages
141 1.1 macallan #options USBVERBOSE # verbose USB device autoconfig messages
142 1.1 macallan
143 1.1 macallan options WSEMUL_VT100
144 1.1 macallan options WSDISPLAY_COMPAT_USL # wsconscfg VT handling
145 1.1 macallan options WS_DEFAULT_FG=WSCOL_BLACK
146 1.1 macallan options WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
147 1.1 macallan options WS_KERNEL_FG=WSCOL_GREEN
148 1.1 macallan options WS_KERNEL_BG=WSCOL_LIGHT_WHITE
149 1.1 macallan #options FONT_GALLANT12x22
150 1.1 macallan #options FONT_BOLD8x16
151 1.1 macallan options FONT_TERMINAL8x13
152 1.1 macallan
153 1.1 macallan # Kernel root file system and dump configuration
154 1.1 macallan config netbsd root on ? type ?
155 1.1 macallan
156 1.1 macallan #
157 1.1 macallan # Device configuration
158 1.1 macallan #
159 1.1 macallan
160 1.1 macallan mainbus* at root
161 1.1 macallan
162 1.1 macallan # CPUs
163 1.1 macallan cpu* at mainbus?
164 1.1 macallan
165 1.1 macallan # Generic OpenFirmware console support
166 1.1 macallan rtas* at mainbus?
167 1.1 macallan
168 1.1 macallan # PCI root nodes
169 1.1 macallan ofwpci* at mainbus?
170 1.1 macallan pci* at ofwpci? bus ?
171 1.1 macallan
172 1.1 macallan # PCI bridges
173 1.1 macallan pchb* at pci? dev ? function ?
174 1.1 macallan ppb* at pci? dev ? function ?
175 1.1 macallan pci* at ppb?
176 1.1 macallan pcib* at pci? dev ? function ?
177 1.1 macallan
178 1.1 macallan # ISA bus support
179 1.1 macallan isa* at pcib?
180 1.1 macallan
181 1.1 macallan # Console Devices
182 1.1 macallan genfb* at pci? dev ? function ?
183 1.1 macallan
184 1.1 macallan # I found that a Sun PGX64, which is a Rage XL with Sun firmware, works as a
185 1.1 macallan # system console with IBM's OpenFirmware. Since these are probably easier to
186 1.1 macallan # find than supportable IBM graphics cards include it here.
187 1.1 macallan machfb* at pci? # ATI Mach64
188 1.1 macallan
189 1.1 macallan pckbc0 at isa? # pc keyboard controller
190 1.1 macallan # pckbc's self test randomly fails on my 43P but will work anyway
191 1.1 macallan options PCKBCNOTEST
192 1.1 macallan pckbd* at pckbc? # PC keyboard
193 1.1 macallan pms* at pckbc? # PS/2 mouse for wsmouse
194 1.1 macallan
195 1.1 macallan #wscons stuff
196 1.1 macallan wskbd* at pckbd? console ?
197 1.1 macallan wsmouse* at pms? mux 0
198 1.1 macallan # make sure the console display is always wsdisplay0 / ttyE*
199 1.1 macallan wsdisplay0 at wsemuldisplaydev? console 1
200 1.1 macallan wsdisplay* at wsemuldisplaydev?
201 1.1 macallan
202 1.1 macallan attimer0 at isa? # AT Timer
203 1.1 macallan pcppi0 at isa? # PC prog. periph. interface
204 1.1 macallan # there's a driver for the audio chip in arch/prep
205 1.1 macallan #paud* at isa?
206 1.1 macallan
207 1.1 macallan # Serial Devices
208 1.1 macallan # ISA serial interfaces
209 1.1 macallan com0 at isa? port 0x3f8 irq 4 # standard PC serial ports
210 1.1 macallan com1 at isa? port 0x2f8 irq 3
211 1.1 macallan
212 1.1 macallan # Parallel Printer Interfaces
213 1.1 macallan # ISA parallel printer interfaces
214 1.1 macallan lpt0 at isa? port 0x3bc irq 7 # standard PC parallel ports
215 1.1 macallan
216 1.1 macallan # ISA floppy
217 1.1 macallan fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
218 1.1 macallan fd* at fdc? drive ? # the drives themselves
219 1.1 macallan
220 1.1 macallan # SCSI Controllers and Devices
221 1.1 macallan esiop* at pci? dev ? function ? # Symbios 53c875 SCSI and newer
222 1.1 macallan
223 1.1 macallan # SCSI bus support
224 1.1 macallan scsibus* at esiop?
225 1.1 macallan scsibus* at umass?
226 1.1 macallan #scsibus* at sbp?
227 1.1 macallan
228 1.1 macallan # SCSI devices
229 1.1 macallan sd* at scsibus? target ? lun ? # SCSI disk drives
230 1.1 macallan st* at scsibus? target ? lun ? # SCSI tape drives
231 1.1 macallan cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
232 1.1 macallan #ch* at scsibus? target ? lun ? # SCSI autochangers
233 1.1 macallan #ss* at scsibus? target ? lun ? # SCSI scanners
234 1.1 macallan #uk* at scsibus? target ? lun ? # SCSI unknown
235 1.1 macallan
236 1.1 macallan # IDE and related devices
237 1.1 macallan # PCI IDE controllers
238 1.1 macallan #pciide* at pci? dev ? function ? flags 0x0000
239 1.1 macallan # there's an slide on the 43P's mainboard, doesn't seem to be connected to
240 1.1 macallan # anything though
241 1.1 macallan #slide* at pci? dev ? function ?
242 1.1 macallan
243 1.1 macallan # ATA (IDE) bus support
244 1.1 macallan #atabus0 at viaide0 channel 0
245 1.1 macallan #atabus1 at viaide0 channel 1
246 1.1 macallan #atabus* at ata?
247 1.1 macallan
248 1.1 macallan # IDE drives
249 1.1 macallan # Flags are used only with controllers that support DMA operations
250 1.1 macallan # and mode settings (e.g. some pciide controllers)
251 1.1 macallan # The lowest order four bits (rightmost digit) of the flags define the PIO
252 1.1 macallan # mode to use, the next set of four bits the DMA mode and the third set the
253 1.1 macallan # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
254 1.1 macallan # to use, and the last bit must be 1 for this setting to be used.
255 1.1 macallan # For DMA and UDMA, 0xf (1111) means 'disable'.
256 1.1 macallan # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
257 1.1 macallan # (0xc=1100, 0xa=1010, 0xf=1111)
258 1.1 macallan # 0x0000 means "use whatever the drive claims to support".
259 1.1 macallan #wd0 at atabus0 drive 0 flags 0x0000
260 1.1 macallan #wd* at atabus? drive ? flags 0x0000
261 1.1 macallan
262 1.1 macallan # ATAPI bus support
263 1.1 macallan #atapibus* at atapi?
264 1.1 macallan
265 1.1 macallan # ATAPI devices
266 1.1 macallan # flags have the same meaning as for IDE drives.
267 1.1 macallan #cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
268 1.1 macallan #sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
269 1.1 macallan #uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
270 1.1 macallan
271 1.1 macallan # Network Interfaces
272 1.1 macallan #ex* at pci? dev ? function ? # 3Com 3c90x[BC]
273 1.1 macallan # the 43P has this one built in
274 1.1 macallan pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet
275 1.1 macallan
276 1.1 macallan # MII/PHY support
277 1.1 macallan #exphy* at mii? phy ? # 3Com internal PHYs
278 1.1 macallan nsphy* at mii? phy ? # NS83840 PHYs
279 1.1 macallan ukphy* at mii? phy ? # generic unknown PHYs
280 1.1 macallan
281 1.1 macallan # PCI USB controllers
282 1.1 macallan #uhci* at pci? dev ? function ? # USB Universal Host Controller
283 1.1 macallan ohci* at pci? dev ? function ? # USB Open Host Controller
284 1.1 macallan #ehci* at pci? dev ? function ? # USB Enhanced Host Controller
285 1.1 macallan #options USB_FRAG_DMA_WORKAROUND # Workaround panic in usb_allocmem()
286 1.1 macallan
287 1.1 macallan #usb* at uhci? # USB bus support
288 1.1 macallan usb* at ohci? # USB bus support
289 1.1 macallan #usb* at ehci? # USB bus support
290 1.1 macallan
291 1.1 macallan include "dev/usb/usbdevices.config"
292 1.1 macallan
293 1.1 macallan # Audio support
294 1.1 macallan #audio* at audiobus?
295 1.1 macallan
296 1.1 macallan #spkr* at audio? # PC speaker (synthesized)
297 1.1 macallan
298 1.1 macallan
299 1.1 macallan #
300 1.1 macallan # accept filters
301 1.1 macallan #pseudo-device accf_data # "dataready" accept filter
302 1.1 macallan #pseudo-device accf_http # "httpready" accept filter
303 1.1 macallan
304 1.1 macallan pseudo-device vnd # disk-like interface to files
305 1.1 macallan #options VND_COMPRESSION # compressed vnd(4)
306 1.1 macallan #pseudo-device ccd # concatenated/striped disk devices
307 1.1 macallan #pseudo-device cgd # cryptographic disk devices
308 1.1 macallan #pseudo-device raid # RAIDframe disk driver
309 1.1 macallan #options RAID_AUTOCONFIG # auto-configuration of RAID components
310 1.1 macallan # Options to enable various other RAIDframe RAID types.
311 1.1 macallan #options RF_INCLUDE_EVENODD=1
312 1.1 macallan #options RF_INCLUDE_RAID5_RS=1
313 1.1 macallan #options RF_INCLUDE_PARITYLOGGING=1
314 1.1 macallan #options RF_INCLUDE_CHAINDECLUSTER=1
315 1.1 macallan #options RF_INCLUDE_INTERDECLUSTER=1
316 1.1 macallan #options RF_INCLUDE_PARITY_DECLUSTERING=1
317 1.1 macallan #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
318 1.1 macallan pseudo-device fss # file system snapshot device
319 1.1 macallan #pseudo-device md # memory disk device
320 1.1 macallan pseudo-device loop # network loopback
321 1.1 macallan pseudo-device bpfilter # packet filter
322 1.1 macallan pseudo-device carp # Common Address Redundancy Protocol
323 1.1 macallan #pseudo-device npf # NPF packet filter
324 1.1 macallan #pseudo-device ppp # Point-to-Point Protocol
325 1.1 macallan #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
326 1.1 macallan #pseudo-device sl # Serial Line IP
327 1.1 macallan pseudo-device tun # network tunneling over tty
328 1.1 macallan pseudo-device tap # virtual Ethernet
329 1.1 macallan #pseudo-device gre # generic L3 over IP tunnel
330 1.1 macallan pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
331 1.1 macallan #pseudo-device faith # IPv[46] tcp relay translation i/f
332 1.1 macallan pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
333 1.1 macallan pseudo-device vlan # IEEE 802.1q encapsulation
334 1.1 macallan #pseudo-device bridge # simple inter-network bridging
335 1.1 macallan #pseudo-device vether # Virtual Ethernet for bridge
336 1.1 macallan #pseudo-device agr # IEEE 802.3ad link aggregation
337 1.1 macallan pseudo-device pty # pseudo-terminals
338 1.1 macallan pseudo-device clockctl # user control of clock subsystem
339 1.1 macallan pseudo-device openfirm # /dev/openfirm
340 1.1 macallan pseudo-device ksyms # /dev/ksyms
341 1.1 macallan pseudo-device wsmux # mouse and keyboard multiplexor
342 1.1 macallan pseudo-device wsfont # font loader for wscons
343 1.1 macallan #pseudo-device putter # for puffs and pud
344 1.1 macallan #pseudo-device swwdog # software watchdog timer -- swwdog(4)
345 1.1 macallan
346 1.1 macallan # userland interface to drivers, including autoconf and properties retrieval
347 1.1 macallan pseudo-device drvctl
348 1.1 macallan
349 1.1 macallan #include "dev/veriexec.config"
350