#	$OpenBSD: GENERIC,v 1.20 2000/10/20 05:23:18 drahn 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		FIREPOWERBUGS
options		PPC_MPC106_BUG
option		PCIVERBOSE
option          WSEMUL_VT100
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 ?

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  G4 

# 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
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
#aed*    at adb?                         # ADB Event Device
#akbd*   at adb?                         # ADB keyboard
#ams*    at adb?                         # ADB mouse
#zsc*    at obio?
#zstty*  at zsc? channel ?


#### SCSI attachment points

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 ?

# USB Generic HID devices
uhid*  at uhub? port ? configuration ? interface ?

# USB HID Keyboard devices
ukbd*  at uhub? port ? configuration ? interface ?

# USB Mice
ums*	at uhub? port ? configuration ? interface ?
wsmouse*	at ums? mux 0

# USB Printer
ulpt*   at uhub? port ? configuration ? interface ?

# USB Generic driver
ugen*  at uhub? port ? configuration ? interface ?

#### 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?
#ofdisk*		at openfirm?	 # used for floppy support
#ofnet*		at openfirm?
ofcons*	at openfirm?

