#	$NetBSD: INSTALL_601,v 1.5 2025/02/10 19:49:08 christos Exp $
#
# config file for INSTALL
#
# this config more or less matches a Power Macintosh 7200 with a USB card,
# and platinumfb

include 	"arch/macppc/conf/std.macppc.601"

#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

makeoptions	COPTS="-Os" # Reduce size.

maxusers	12

options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT

# Enable the hooks used for initializing the ram-disk.
options 	MEMORY_DISK_HOOKS
options 	MEMORY_DISK_IS_ROOT	# Force root on ram-disk
options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
options 	MEMORY_DISK_ROOT_SIZE=6000	# 3000 KiB
options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode

options 	USERCONF	# userconf(4) support
options 	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel

# Compatibility options
include 	"conf/compat_netbsd13.config"

# File systems
file-system 	FFS		# UFS
file-system 	MFS		# memory file system
file-system 	NFS		# Network File System client
file-system 	CD9660		# ISO 9660 + Rock Ridge file system
file-system 	MSDOSFS		# MS-DOS file system
#file-system	PTYFS		# /dev/pts/N support

# Filesystem options
options 	NFS_V2_ONLY	# Exclude NFS3 code to save space
options 	APPLE_UFS	# Apple UFS support in FFS
#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
options 	WAPBL		# File system journaling support

# Networking options
options 	INET		# IP + ICMP + TCP + UDP
options 	INET6		# IPV6
options 	NFS_BOOT_DHCP	# Support DHCP NFS root

options 	WSEMUL_VT100	# VT100 / VT220 emulation
options 	WSDISPLAY_DEFAULTSCREENS=1
#options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
options 	FONT_GALLANT12x22	# big, Sun-like font
options 	FONT_QVSS8x15		# a smaller font for lower resolutions

# Kernel root file system and dump configuration.
config		netbsd	root on ? type ?

#
# Device configuration
#

mainbus* at root

cpu*	at mainbus?
bandit*	at mainbus?

pci*	at bandit? bus ?
pci*	at ppb? bus ?

pchb*	at pci? dev ? function ?	# PCI-Host bridges
ppb*	at pci? dev ? function ?	# PCI-PCI bridges

# PCI SCSI controllers
ahc*	at pci? dev ? function ?	# Adaptec 294x, aic78x0 SCSI

# Display devices
#
# The 7200's onboard video is unsupported by OF so we need either a
# graphics card that works as OF console or a serial console.
# The only cards known to work ( so far ) are PCI Voodoo3s flashed with the
# official Macintosh firmware from 3Dfx. The others should work but are
# untested with OF 1.0.5
# this will take over the console if output-device is set to 'platinum'.
# It will provide a NetBSD console, but still won't work with OF
platinumfb0 	at mainbus?

#gffb*		at pci?	function ?	# NVIDIA GeForce2 MX
#machfb*		at pci? function ?	# ATI Mach 64, Rage, Rage Pro
#r128fb*		at pci? function ?	# ATI Rage 128
voodoofb*	at pci? function ?	# 3Dfx Voodoo3 

# ATI Radeon. Still has problems on some hardware
#radeonfb*	at pci? function ?

# generic PCI framebuffer, should work with everything supported by OF
genfb*		at pci? function ?

# make sure the console display is always wsdisplay0
wsdisplay0	at wsemuldisplaydev? console 1
wsdisplay*	at wsemuldisplaydev? console 0

obio*	at pci? dev ? function ?

mc*	at obio?			# MACE ethernet
esp*	at obio? flags 0x00ff		# 53c9x SCSI
# the 7200 has no mesh but other PMacs with 601 cards may
mesh*	at obio? flags 0xffff		# MESH SCSI
nvram*	at obio?			# nvram

# the new, improved ADB subsystem

cuda*	at obio?			# CUDA, for Old World PowerMacs
nadb*	at adb_bus?			# ADB bus enumerator, at cuda or pmu
adbkbd* at nadb?			# ADB keyboard
adbms*	at nadb?			# ADB mice and touchpads

wskbd*		at wskbddev? console ?
wsmouse*	at wsmousedev?

iic0	at cuda0		# CUDA's IIC bus

zsc*	at obio?
zstty*	at zsc? channel ?
mediabay* at obio?
wdc*	at mediabay? flags 0

# Cryptographic Devices

# PCI cryptographic devices
# (disabled, requires opencrypto framework which requires generic softints
#hifn*	at pci? dev ? function ?	# Hifn 7755/7811/795x
#ubsec*	at pci? dev ? function ?	# Broadcom 5501/5601/580x/582x

scsibus* at scsi?

sd*	at scsibus? target ? lun ?	# SCSI disks
cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives

wdc*	at obio? flags 0x1
atabus* at ata?
wd*	at atabus? drive ? flags 0x0000

atapibus* at atapi?

# PCI USB controllers
ohci*	at pci? dev ? function ?	# USB Open Host Controller
#ehci*	at pci? dev ? function ?	# USB Enhanced Host Controller

uhci*    at pci? dev ? function ?
usb*     at uhci?

#usb*	at ehci?					# USB bus support
usb*	at ohci?					# USB bus support
uhub*	at usb?						# USB Hubs
uhub*	at uhub? port ?
uhidev*	at uhub? port ? configuration ? interface ?	# USB HID device

ums*	at uhidev? reportid ?				# USB Mice
wsmouse* at ums? mux 0
ukbd*	at uhidev? reportid ?				# USB Keyboards
uhid*	at uhidev? reportid ?				# USB Generic HID

umass*	at uhub? port ? configuration ? interface ?	# USB Mass Storage

pseudo-device	md			# memory disk
#pseudo-device	fss			# file system snapshot device
pseudo-device	loop			# network loopback
pseudo-device	pty			# pseudo-terminals

pseudo-device	wsmux			# mouse and keyboard multiplexor
pseudo-device	openfirm		# /dev/openfirm

#pseudo-device	raid			# RAIDframe disk driver
#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
rlphy*	at mii? phy ?			# Realtek 8139/8201L PHYs
rtk*	at pci? dev ? function ?	# Realtek 8129/8139

#rgephy* at mii? phy ?			# Realtek 8169S/8110S internal PHYs
#ral*	at pci? dev ? function ?	# Ralink Technology RT25x0 802.11a/b/g
