files.macppc revision 1.85
11.85Sgarbled#	$NetBSD: files.macppc,v 1.85 2007/10/17 19:55:17 garbled Exp $
21.1Stsubai#
31.16Sthorpej# macppc-specific configuration info
41.16Sthorpej
51.16Sthorpej# maxpartitions must be first item in files.${ARCH}.newconf
61.1Stsubaimaxpartitions 16
71.1Stsubai
81.1Stsubaimaxusers 2 8 64
91.1Stsubai
101.3Stsubaiinclude "arch/powerpc/conf/files.ofw"
111.85Sgarbledinclude "arch/powerpc/pic/files.pic"
121.85Sgarbledinclude "arch/powerpc/pic/files.ipi"
131.3Stsubai
141.1Stsubaifile arch/macppc/macppc/autoconf.c
151.85Sgarbledfile arch/powerpc/powerpc/clock.c
161.1Stsubaifile arch/macppc/macppc/disksubr.c		disk
171.85Sgarbledfile arch/macppc/macppc/interrupts.c
181.85Sgarbledfile arch/powerpc/oea/ofwoea_machdep.c
191.85Sgarbledfile arch/powerpc/oea/ofw_consinit.c
201.1Stsubaifile arch/macppc/macppc/machdep.c
211.76Smacallanfile arch/macppc/dev/ofb_cons.c
221.1Stsubaifile arch/macppc/dev/dbdma.c
231.57Smatt
241.85Sgarbled# interrupt controllers
251.85Sgarbleddefine pic_ohare
261.85Sgarbleddefine pic_heathrow
271.85Sgarbled
281.85Sgarbleddefflag opt_interrupt.h PIC_OHARE: pic_ohare
291.85Sgarbleddefflag opt_interrupt.h OHARE_DEBUG
301.85Sgarbleddefflag opt_interrupt.h PIC_HEATHROW: pic_heathrow
311.85Sgarbled
321.85Sgarbledfile arch/macppc/macppc/pic_ohare.c		pic_ohare	needs-flag
331.85Sgarbledfile arch/macppc/macppc/pic_heathrow.c		pic_heathrow	needs-flag
341.85Sgarbled
351.85Sgarbled# IPI interface
361.85Sgarbleddefine ipi_hammerhead
371.85Sgarbleddefflag opt_ipi.h IPI_HAMMERHEAD: ipi_hammerhead
381.85Sgarbledfile arch/macppc/macppc/ipi_hammerhead.c	ipi_hammerhead	needs-flag
391.85Sgarbled
401.85Sgarbledfile arch/powerpc/powerpc/bus_dma.c
411.85Sgarbledfile arch/powerpc/powerpc/bus_space.c
421.57Smattfile arch/powerpc/powerpc/procfs_machdep.c	procfs
431.63Smattfile arch/powerpc/powerpc/softintr.c
441.1Stsubaifile dev/cons.c
451.1Stsubai
461.74Ssanjayl#Early serial console for G5 (uses RMCI mode of 970 */
471.74Ssanjaylfile arch/macppc/macppc/failsafe.c
481.74Ssanjayl
491.1Stsubai#
501.5Stsubai# Memory Disk for install floppy
511.5Stsubai#
521.33Stsutsuifile dev/md_root.c				memory_disk_hooks
531.5Stsubai
541.30Soster#
551.1Stsubai# Machine-independent SCSI drivers
561.1Stsubai#
571.1Stsubaiinclude "dev/scsipi/files.scsipi"
581.1Stsubai
591.1Stsubai#
601.17Stsubai# Machine-independent ATA drivers
611.17Stsubai#
621.17Stsubaiinclude "dev/ata/files.ata"
631.17Stsubai
641.17Stsubai#
651.2Sis# Generic OpenFirmware device support
661.1Stsubai#
671.37Smattinclude "dev/ofw/files.ofw"
681.36Shannken
691.36Shannken#
701.36Shannken# Machine-independent I2O drivers
711.36Shannken#
721.36Shannkeninclude "dev/i2o/files.i2o"
731.1Stsubai
741.1Stsubai#
751.1Stsubai# System bus types
761.1Stsubai#
771.1Stsubaidefine mainbus {}
781.27Stsubaidevice mainbus: mainbus
791.1Stsubaiattach mainbus at root
801.1Stsubaifile arch/macppc/macppc/mainbus.c		mainbus
811.1Stsubai
821.48Snathanwdevice cpu: sysmon_envsys
831.1Stsubaiattach cpu at mainbus
841.1Stsubaifile arch/macppc/macppc/cpu.c
851.1Stsubai
861.84Sdogcowinclude "dev/wsfb/files.wsfb"
871.84Sdogcow
881.85Sgarbled# ISA stuff
891.85Sgarbled# we don't need it but some of the shared code needs isa.h
901.85Sgarbledinclude "dev/isa/files.isa"
911.85Sgarbled
921.81Smacallan# PCI bus support
931.81Smacallaninclude "dev/pci/files.pci"
941.83Sdogcowinclude "dev/pci/files.agp"
951.27Stsubaifile arch/macppc/pci/pci_machdep.c		pci
961.81Smacallanfile arch/macppc/pci/agp_machdep.c		agp
971.85Sgarbledfile arch/powerpc/pci/pciconf_indirect.c	pci
981.85Sgarbledfile arch/powerpc/pci/pci_machdep_common.c	pci
991.27Stsubai
1001.85Sgarbleddevice bandit: pcibus, pic_ohare
1011.27Stsubaiattach bandit at mainbus
1021.27Stsubaifile arch/macppc/pci/bandit.c			bandit
1031.27Stsubai
1041.85Sgarbleddevice grackle: pcibus, pic_heathrow
1051.27Stsubaiattach grackle at mainbus
1061.27Stsubaifile arch/macppc/pci/grackle.c			grackle
1071.27Stsubai
1081.85Sgarbleddevice uninorth: pcibus, pic_openpic
1091.27Stsubaiattach uninorth at mainbus
1101.27Stsubaifile arch/macppc/pci/uninorth.c			uninorth
1111.27Stsubai
1121.65Smacallan# pseudo for the UniNorth host controller
1131.65Smacallandefine uni_n {}
1141.65Smacallandevice uni_n: uni_n
1151.65Smacallanattach uni_n at mainbus
1161.65Smacallanfile arch/macppc/dev/uni-n.c			uni_n
1171.65Smacallan
1181.13Stsubaiinclude "dev/wscons/files.wscons"
1191.28Stsubaiinclude "dev/wsfont/files.wsfont"
1201.28Stsubaiinclude "dev/rasops/files.rasops"
1211.71Sjmmvinclude "dev/usb/files.usb"
1221.13Stsubai
1231.74Ssanjayldevice ibmcpc: pcibus
1241.74Ssanjaylattach ibmcpc at mainbus
1251.74Ssanjaylfile arch/macppc/pci/u3.c			ibmcpc
1261.74Ssanjayl
1271.82Smacallandevice ofb: wsemuldisplaydev, rasops8, vcons, drm
1281.13Stsubaiattach ofb at pci
1291.13Stsubaifile arch/macppc/dev/ofb.c			ofb needs-flag
1301.1Stsubai
1311.1Stsubai# PCI-Host bridge chipsets
1321.81Smacallandevice pchb: agpbus, agp_apple
1331.1Stsubaiattach pchb at pci
1341.85Sgarbledfile arch/powerpc/pci/pchb.c			pchb
1351.29Stsubai
1361.29Stsubaidevice gm: ifnet, ether, arp, mii
1371.29Stsubaiattach gm at pci
1381.29Stsubaifile arch/macppc/dev/if_gm.c			gm
1391.58Shamajima
1401.75Sitohyattach wdc at pci with kauai: ata_dma, ata_udma
1411.58Shamajimafile arch/macppc/dev/kauai.c			kauai
1421.1Stsubai
1431.22Stsubaidefine obio {}
1441.22Stsubaidevice obio: obio
1451.1Stsubaiattach obio at pci
1461.1Stsubaifile arch/macppc/dev/obio.c			obio
1471.85Sgarbleddefflag opt_obio.h OBIO_DEBUG OBIO_SPEED_CONTROL
1481.1Stsubai
1491.22Stsubaidevice mediabay: obio
1501.22Stsubaiattach mediabay at obio
1511.22Stsubaifile arch/macppc/dev/mediabay.c			mediabay
1521.22Stsubai
1531.1Stsubaiattach esp at obio
1541.1Stsubaifile arch/macppc/dev/esp.c			esp
1551.1Stsubai
1561.17Stsubaidevice mesh: scsi
1571.17Stsubaiattach mesh at obio
1581.17Stsubaifile arch/macppc/dev/mesh.c			mesh
1591.17Stsubai
1601.1Stsubaidevice mc: ifnet, ether, arp
1611.1Stsubaiattach mc at obio
1621.1Stsubaifile arch/macppc/dev/if_mc.c			mc
1631.1Stsubaifile arch/macppc/dev/am79c950.c			mc
1641.1Stsubai
1651.26Stsubaidevice bm: ifnet, ether, arp, mii, mii_bitbang
1661.18Stsubaiattach bm at obio
1671.18Stsubaifile arch/macppc/dev/if_bm.c			bm
1681.18Stsubai
1691.1Stsubaidevice zsc {channel = -1}
1701.1Stsubaiattach zsc at obio
1711.1Stsubaifile arch/macppc/dev/zs.c	 		zsc needs-flag
1721.1Stsubaifile dev/ic/z8530sc.c				zsc
1731.47Sdbjfile arch/macppc/dev/zs_kgdb.c			zsc & kgdb
1741.1Stsubai
1751.1Stsubaidevice zstty: tty
1761.1Stsubaiattach zstty at zsc
1771.69Schsfile dev/ic/z8530tty.c				zstty needs-flag
1781.1Stsubai
1791.77Smacallaninclude "dev/adb/files.adb"
1801.77Smacallan
1811.77Smacallandefflag	opt_cuda.h	CUDA_DEBUG
1821.77Smacallandevice cuda : adb_bus, i2cbus
1831.77Smacallanattach cuda at obio
1841.77Smacallanfile arch/macppc/dev/cuda.c			cuda needs-flag
1851.77Smacallan
1861.81Smacallandefine pmu_bus {}
1871.77Smacallandefflag	opt_pmu.h	PMU_DEBUG
1881.77Smacallandefflag opt_pmu.h	PMU_VERBOSE
1891.80Smacallandevice pmu : adb_bus, i2cbus, pmu_bus
1901.77Smacallanattach pmu at obio
1911.77Smacallanfile arch/macppc/dev/pmu.c			pmu needs-flag
1921.79Smacallan
1931.79Smacallandevice battery : sysmon_envsys, sysmon_power, sysmon_taskq
1941.79Smacallanattach battery at pmu_bus
1951.79Smacallanfile arch/macppc/dev/battery.c			battery
1961.79Smacallandefflag opt_battery.h	BATTERY_DEBUG
1971.77Smacallan
1981.81Smacallandevice smartbat : sysmon_envsys, sysmon_power, sysmon_taskq
1991.81Smacallanattach smartbat at pmu_bus
2001.81Smacallanfile arch/macppc/dev/smartbat.c			smartbat
2011.81Smacallandefflag opt_battery.h	SMARTBAT_DEBUG
2021.81Smacallan
2031.82Smacallandevice adb {} 
2041.1Stsubaiattach adb at obio
2051.1Stsubaifile arch/macppc/dev/adb.c			adb needs-flag
2061.1Stsubaifile arch/macppc/dev/adb_direct.c		adb
2071.15Stsubaifile arch/macppc/dev/pm_direct.c		adb
2081.51Sitojun
2091.51Sitojundevice apm
2101.51Sitojunattach apm at adb
2111.51Sitojunfile arch/macppc/dev/apm.c			apm needs-count
2121.12Stsubai
2131.12Stsubaidevice aed
2141.12Stsubaiattach aed at adb
2151.12Stsubaifile arch/macppc/dev/aed.c			aed needs-flag
2161.12Stsubai
2171.13Stsubaidevice akbd: wskbddev
2181.12Stsubaiattach akbd at adb
2191.18Stsubaifile arch/macppc/dev/akbd.c			akbd needs-flag
2201.12Stsubai
2211.14Stsubaidevice ams: wsmousedev
2221.12Stsubaiattach ams at adb
2231.12Stsubaifile arch/macppc/dev/ams.c			ams
2241.21Stsubai
2251.70Schristosdevice pbms: wsmousedev
2261.70Schristosattach pbms at uhidbus
2271.70Schristosfile arch/macppc/dev/pbms.c			pbms
2281.70Schristos
2291.21Stsubaidevice abtn
2301.21Stsubaiattach abtn at adb
2311.21Stsubaifile arch/macppc/dev/abtn.c			abtn
2321.1Stsubai
2331.7Stsubaidevice nvram
2341.7Stsubaiattach nvram at obio
2351.7Stsubaifile arch/macppc/dev/nvram.c			nvram needs-flag
2361.17Stsubai
2371.75Sitohyattach wdc at obio with wdc_obio: ata_dma, ata_udma
2381.17Stsubaifile arch/macppc/dev/wdc_obio.c			wdc_obio
2391.42Stsubai
2401.42Stsubaiattach wi at obio with wi_obio
2411.42Stsubaifile arch/macppc/dev/if_wi_obio.c		wi_obio
2421.32Stsubai
2431.53Swizdevice awacs: audiobus, auconv, mulaw, aurateconv
2441.32Stsubaiattach awacs at obio
2451.32Stsubaifile arch/macppc/dev/awacs.c			awacs
2461.81Smacallandefflag	opt_awacs.h	AWACS_DEBUG
2471.41Smatt
2481.66Smacallandevice macgpio {}
2491.66Smacallanattach macgpio at obio with gpio_obio
2501.66Smacallan#attach gpio at macgpio with gpio_gpio
2511.66Smacallanfile arch/macppc/dev/gpio.c			macgpio
2521.10Sthorpej
2531.10Sthorpejdevice macofcons: tty
2541.10Sthorpejattach macofcons at pci
2551.10Sthorpejfile arch/macppc/dev/ofcons.c			macofcons needs-flag
2561.59Schristos
2571.74Ssanjaylattach  com at mainbus with com_mainbus
2581.74Ssanjaylfile    arch/macppc/dev/com_mainbus.c               com_mainbus
2591.74Ssanjayl
2601.34Smattinclude "dev/ieee1394/files.ieee1394"
2611.23Shaya
2621.23Shaya#
2631.23Shaya# Machine-independent CardBus drivers
2641.23Shaya#
2651.24Stsubai
2661.24Stsubai# XXX dev/pcmcia needs fdc
2671.24Stsubaidevice fdc {drive = -1}
2681.24Stsubai
2691.25Stsubaiinclude "dev/cardbus/files.cardbus"
2701.23Shayainclude "dev/pcmcia/files.pcmcia"
2711.24Stsubai
2721.81Smacallandefflag opt_macppc.h	PB3400_CARDBUS_HACK UMAX_E100_HACK
2731.81Smacallan
2741.23Shayafile arch/macppc/macppc/rbus_machdep.c		cardbus
2751.52Sgehenna
2761.61Sgrant# Keywest I2C
2771.65Smacallandefine ki2c {}
2781.65Smacallandevice ki2c: i2cbus, ki2c
2791.65Smacallanattach ki2c at obio, uni_n
2801.61Sgrantfile arch/macppc/dev/ki2c.c			ki2c
2811.61Sgrant
2821.61Sgrant# snapper audio
2831.61Sgrantdevice snapper: audiobus, auconv, mulaw, aurateconv
2841.61Sgrantattach snapper at obio
2851.61Sgrantfile arch/macppc/dev/snapper.c			snapper
2861.61Sgrant
2871.52Sgehennainclude "arch/macppc/conf/majors.macppc"
2881.65Smacallan
2891.65Smacallanattach adt7467c at ki2c with adt7467_ki2c
2901.65Smacallanfile arch/macppc/dev/adt7467_ki2c.c		adt7467c
2911.65Smacallan
2921.65Smacallanattach adm1030c at ki2c with adm1030_ki2c
2931.65Smacallanfile arch/macppc/dev/adm1030_ki2c.c		adm1030c
2941.65Smacallan
2951.65Smacallandefine deq {}
2961.65Smacallandevice deq
2971.65Smacallanattach deq at ki2c
2981.65Smacallanfile arch/macppc/dev/deq.c				deq
2991.65Smacallan
300