#	$OpenBSD: GENERIC,v 1.33 2001/04/13 03:01:01 deraadt Exp $
#
# PPC GENERIC config file
#

machine		powerpc

maxusers	32

# default type, instructs system to try to determin what proper type is
# actual machine type probed via name of openfirmware root node.
option		SYS_TYPE=APPL

option		UVM
option		FIREPOWERBUGS
option		PPC_MPC106_BUG
option		PCIVERBOSE
option		USBVERBOSE
option		WSEMUL_NO_DUMB

include "../../../conf/GENERIC"

config		bsd	swap generic

#
#  Now the Machine specification
#
mainbus0	at root
cpu*		at mainbus0

ofroot*		at mainbus0
mpcpcibr*	at mainbus0	# MPC106 PCI Bridge.
pchb*		at pci?		# host bridge identifiers

#### PCI Bus devices.

pci*		at mpcpcibr?
ppb*		at pci? dev ? function ?	# PCI-PCI bridges
pci*		at ppb? bus ?

siop*		at pci? dev ? function ?
#ncr*		at pci? dev ? function ?
fxp*		at pci? dev ? function ?
de*		at pci? dev ? function ?
#vme*		at pci? dev ? function ?
vgafb0		at pci? dev ? function ?	# PCI VGA graphics 
#ep*		at pci? dev ? function ?	# 3Com 3c59x
#ne*		at pci? dev ? function ?	# NE2000-compatible Ethernet
#adv*		at pci? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI
#ahc*		at pci? dev ? function ?	# Adaptec 294x, aic78x0 SCSI
#bha*		at pci? dev ? function ?	# BusLogic 9xx SCSI
#pcscp*		at pci? dev ? function ?	# AMD Am53c974 PCscsi-PCI SCSI
#pciide*	at pci? dev ? function ?
obio0		at pci? dev ? function ?
gm*		at pci? dev ? function ?	# GMAC ethernet

# how many of these are needed?
exphy*	at mii? phy ?			# 3Com internal PHYs
inphy*	at mii? phy ?			# Intel 82555 PHYs
iophy*	at mii? phy ?			# Intel 82553 PHYs
icsphy* at mii? phy ?			# Integrated Circuit Systems ICS1890
#lxtphy* at mii? phy ?			# Level One LXT-970 PHYs
nsphy*	at mii? phy ?			# NS83840 PHYs
#nsphyter* at mii? phy ?		# NS83843 PHYs
#qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
#tlphy*	at mii? phy ?			# ThunderLAN PHYs
#tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
brgphy* at mii? phy ?			# Broadcom 10/100/1000 PHYs 
bmtphy* at mii? phy ?			# Broadcom 10/100 PHYs 
ukphy*	at mii? phy ?			# generic unknown PHYs

macintr0 at obio?			# old interrupt controller
openpic0 at obio?			# openpic interrupt controller
bm*	at obio?			# bmac ethernet
#mc*	at obio?			# MACE ethernet
#esp*	at obio? flags 0x00ff		# 53c9x SCSI
#mesh*	at obio? flags 0xffff		# MESH SCSI
#nvram*	at obio?			# nvram
adb*	at obio?			# Apple Desktop Bus
gpio*	at obio?			# GPIO, PMU interrupt router.
gpio*	at gpio?			# GPIO, PMU interrupt router.
aed*	at adb?				# ADB Event Device
akbd*	at adb?				# ADB keyboard
wskbd*		at akbd? console ?
ams*	at adb?				# ADB mouse
wsmouse* at ams?			
abtn*	at adb?				# ADB button?
#zsc*	at obio?
#zstty*	at zsc? channel ?

awacs*  at obio? disable                       # Apple audio device
audio* at awacs?


#### SCSI attachment points

scsibus*	at siop?
#scsibus*	at ncr?
#scsibus*	at adv?
#scsibus*	at ahc?
#scsibus*	at bha?
#scsibus*	at esp?
#scsibus*	at mesh?
#scsibus*	at pcscp?

wdc*	at obio? flags 0x0
#wd*	at pciide? channel ? drive ?
#wd*	at wdc? channel ? drive ? flags 0x0000
wd*	at wdc? drive ? flags 0x0000

atapiscsi* at wdc? channel ? flags 0x0000

# ATAPI<->SCSI
scsibus* at atapiscsi?

# PCI USB Controllers
ohci*	at pci? 	# Open Host Controller

# USB bus support
usb*	at ohci? flags 0x1
uhub*	at usb?
uhub*	at uhub? port ? configuration ? interface ?

uhid*	at uhub? port ? configuration ?	# USB Generic HID devices
ukbd*	at uhub? port ? configuration ?	# USB HID Keyboard devices
ums*	at uhub? port ? configuration ?	# USB Mice
wsmouse* at ums? mux 0
ulpt*	at uhub? port ? configuration ?	# USB Printer
uscanner*  at uhub? port ?		# USB Scanner driver
usscanner* at uhub? port ?		# USB SCSI scanners, e.g., HP5300
scsibus* at usscanner?
#uyap*	at uhub? port ?			# Y@P firmware loader
ugen*	at uhub? port ? configuration ? # USB Generic driver
umass*	at uhub? port ? configuration ? # USB Mass Storage devices
scsibus* at umass?
kue*	at uhub? port ?			# Kawasaki KL5KUSB101B based Ethernet

#### Workstation Console attachments

wsdisplay*	at vgafb?
wskbd*		at ukbd? console ?

#### SCSI Bus devices
 
sd*		at scsibus? target ? lun ?
st*		at scsibus? target ? lun ?
cd*		at scsibus? target ? lun ?
ch*		at scsibus? target ? lun ?
ss*		at scsibus? target ? lun ?
uk*		at scsibus? target ? lun ?

#### openfirmware devices
# mostly unused currently 
ofbus*		at openfirm?
ofrtc*		at openfirm?
ofcons*	at openfirm?

#pseudo-device        wsmux	2	# mouse & keyboard multiplexor
