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