files.macppc revision 1.93
11.93Smacallan#	$NetBSD: files.macppc,v 1.93 2008/08/26 16:14:45 macallan 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.87Sgarbledfile arch/powerpc/oea/ofw_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.89Sgarbledfile arch/powerpc/oea/ofw_rascons.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.1Stsubaifile dev/cons.c
441.1Stsubai
451.74Ssanjayl#Early serial console for G5 (uses RMCI mode of 970 */
461.74Ssanjaylfile arch/macppc/macppc/failsafe.c
471.74Ssanjayl
481.1Stsubai#
491.5Stsubai# Memory Disk for install floppy
501.5Stsubai#
511.33Stsutsuifile dev/md_root.c				memory_disk_hooks
521.5Stsubai
531.30Soster#
541.1Stsubai# Machine-independent SCSI drivers
551.1Stsubai#
561.1Stsubaiinclude "dev/scsipi/files.scsipi"
571.1Stsubai
581.1Stsubai#
591.17Stsubai# Machine-independent ATA drivers
601.17Stsubai#
611.17Stsubaiinclude "dev/ata/files.ata"
621.17Stsubai
631.17Stsubai#
641.2Sis# Generic OpenFirmware device support
651.1Stsubai#
661.37Smattinclude "dev/ofw/files.ofw"
671.36Shannken
681.36Shannken#
691.36Shannken# Machine-independent I2O drivers
701.36Shannken#
711.36Shannkeninclude "dev/i2o/files.i2o"
721.1Stsubai
731.1Stsubai#
741.1Stsubai# System bus types
751.1Stsubai#
761.1Stsubaidefine mainbus {}
771.27Stsubaidevice mainbus: mainbus
781.1Stsubaiattach mainbus at root
791.1Stsubaifile arch/macppc/macppc/mainbus.c		mainbus
801.1Stsubai
811.48Snathanwdevice cpu: sysmon_envsys
821.1Stsubaiattach cpu at mainbus
831.1Stsubaifile arch/macppc/macppc/cpu.c
841.1Stsubai
851.93Smacallandevice memory: iic
861.93Smacallanattach memory at mainbus
871.93Smacallanfile arch/macppc/macppc/memory.c		memory
881.93Smacallan
891.85Sgarbled# ISA stuff
901.85Sgarbled# we don't need it but some of the shared code needs isa.h
911.85Sgarbledinclude "dev/isa/files.isa"
921.85Sgarbled
931.81Smacallan# PCI bus support
941.81Smacallaninclude "dev/pci/files.pci"
951.83Sdogcowinclude "dev/pci/files.agp"
961.27Stsubaifile arch/macppc/pci/pci_machdep.c		pci
971.81Smacallanfile arch/macppc/pci/agp_machdep.c		agp
981.85Sgarbledfile arch/powerpc/pci/pciconf_indirect.c	pci
991.85Sgarbledfile arch/powerpc/pci/pci_machdep_common.c	pci
1001.27Stsubai
1011.88Smacallandevice bandit: pcibus, pic_ohare, ipi_hammerhead
1021.27Stsubaiattach bandit at mainbus
1031.27Stsubaifile arch/macppc/pci/bandit.c			bandit
1041.27Stsubai
1051.85Sgarbleddevice grackle: pcibus, pic_heathrow
1061.27Stsubaiattach grackle at mainbus
1071.27Stsubaifile arch/macppc/pci/grackle.c			grackle
1081.27Stsubai
1091.88Smacallandevice uninorth: pcibus, pic_openpic, ipi_openpic
1101.27Stsubaiattach uninorth at mainbus
1111.27Stsubaifile arch/macppc/pci/uninorth.c			uninorth
1121.27Stsubai
1131.65Smacallan# pseudo for the UniNorth host controller
1141.65Smacallandefine uni_n {}
1151.65Smacallandevice uni_n: uni_n
1161.65Smacallanattach uni_n at mainbus
1171.65Smacallanfile arch/macppc/dev/uni-n.c			uni_n
1181.65Smacallan
1191.71Sjmmvinclude "dev/usb/files.usb"
1201.86Saymericinclude "dev/bluetooth/files.bluetooth"
1211.13Stsubai
1221.74Ssanjayldevice ibmcpc: pcibus
1231.74Ssanjaylattach ibmcpc at mainbus
1241.74Ssanjaylfile arch/macppc/pci/u3.c			ibmcpc
1251.74Ssanjayl
1261.82Smacallandevice ofb: wsemuldisplaydev, rasops8, vcons, drm
1271.13Stsubaiattach ofb at pci
1281.13Stsubaifile arch/macppc/dev/ofb.c			ofb needs-flag
1291.1Stsubai
1301.1Stsubai# PCI-Host bridge chipsets
1311.81Smacallandevice pchb: agpbus, agp_apple
1321.1Stsubaiattach pchb at pci
1331.85Sgarbledfile arch/powerpc/pci/pchb.c			pchb
1341.29Stsubai
1351.29Stsubaidevice gm: ifnet, ether, arp, mii
1361.29Stsubaiattach gm at pci
1371.29Stsubaifile arch/macppc/dev/if_gm.c			gm
1381.58Shamajima
1391.75Sitohyattach wdc at pci with kauai: ata_dma, ata_udma
1401.58Shamajimafile arch/macppc/dev/kauai.c			kauai
1411.1Stsubai
1421.22Stsubaidefine obio {}
1431.22Stsubaidevice obio: obio
1441.1Stsubaiattach obio at pci
1451.1Stsubaifile arch/macppc/dev/obio.c			obio
1461.85Sgarbleddefflag opt_obio.h OBIO_DEBUG OBIO_SPEED_CONTROL
1471.1Stsubai
1481.22Stsubaidevice mediabay: obio
1491.22Stsubaiattach mediabay at obio
1501.22Stsubaifile arch/macppc/dev/mediabay.c			mediabay
1511.22Stsubai
1521.1Stsubaiattach esp at obio
1531.1Stsubaifile arch/macppc/dev/esp.c			esp
1541.1Stsubai
1551.17Stsubaidevice mesh: scsi
1561.17Stsubaiattach mesh at obio
1571.17Stsubaifile arch/macppc/dev/mesh.c			mesh
1581.17Stsubai
1591.1Stsubaidevice mc: ifnet, ether, arp
1601.1Stsubaiattach mc at obio
1611.1Stsubaifile arch/macppc/dev/if_mc.c			mc
1621.1Stsubaifile arch/macppc/dev/am79c950.c			mc
1631.1Stsubai
1641.26Stsubaidevice bm: ifnet, ether, arp, mii, mii_bitbang
1651.18Stsubaiattach bm at obio
1661.18Stsubaifile arch/macppc/dev/if_bm.c			bm
1671.18Stsubai
1681.1Stsubaidevice zsc {channel = -1}
1691.1Stsubaiattach zsc at obio
1701.1Stsubaifile arch/macppc/dev/zs.c	 		zsc needs-flag
1711.1Stsubaifile dev/ic/z8530sc.c				zsc
1721.47Sdbjfile arch/macppc/dev/zs_kgdb.c			zsc & kgdb
1731.1Stsubai
1741.1Stsubaidevice zstty: tty
1751.1Stsubaiattach zstty at zsc
1761.69Schsfile dev/ic/z8530tty.c				zstty needs-flag
1771.1Stsubai
1781.77Smacallaninclude "dev/adb/files.adb"
1791.77Smacallan
1801.77Smacallandefflag	opt_cuda.h	CUDA_DEBUG
1811.77Smacallandevice cuda : adb_bus, i2cbus
1821.77Smacallanattach cuda at obio
1831.77Smacallanfile arch/macppc/dev/cuda.c			cuda needs-flag
1841.77Smacallan
1851.81Smacallandefine pmu_bus {}
1861.77Smacallandefflag	opt_pmu.h	PMU_DEBUG
1871.77Smacallandefflag opt_pmu.h	PMU_VERBOSE
1881.80Smacallandevice pmu : adb_bus, i2cbus, pmu_bus
1891.77Smacallanattach pmu at obio
1901.77Smacallanfile arch/macppc/dev/pmu.c			pmu needs-flag
1911.79Smacallan
1921.79Smacallandevice battery : sysmon_envsys, sysmon_power, sysmon_taskq
1931.79Smacallanattach battery at pmu_bus
1941.79Smacallanfile arch/macppc/dev/battery.c			battery
1951.79Smacallandefflag opt_battery.h	BATTERY_DEBUG
1961.77Smacallan
1971.81Smacallandevice smartbat : sysmon_envsys, sysmon_power, sysmon_taskq
1981.81Smacallanattach smartbat at pmu_bus
1991.81Smacallanfile arch/macppc/dev/smartbat.c			smartbat
2001.81Smacallandefflag opt_battery.h	SMARTBAT_DEBUG
2011.81Smacallan
2021.82Smacallandevice adb {} 
2031.1Stsubaiattach adb at obio
2041.1Stsubaifile arch/macppc/dev/adb.c			adb needs-flag
2051.1Stsubaifile arch/macppc/dev/adb_direct.c		adb
2061.15Stsubaifile arch/macppc/dev/pm_direct.c		adb
2071.51Sitojun
2081.51Sitojundevice apm
2091.51Sitojunattach apm at adb
2101.51Sitojunfile arch/macppc/dev/apm.c			apm needs-count
2111.12Stsubai
2121.12Stsubaidevice aed
2131.12Stsubaiattach aed at adb
2141.12Stsubaifile arch/macppc/dev/aed.c			aed needs-flag
2151.12Stsubai
2161.13Stsubaidevice akbd: wskbddev
2171.12Stsubaiattach akbd at adb
2181.18Stsubaifile arch/macppc/dev/akbd.c			akbd needs-flag
2191.12Stsubai
2201.14Stsubaidevice ams: wsmousedev
2211.12Stsubaiattach ams at adb
2221.12Stsubaifile arch/macppc/dev/ams.c			ams
2231.21Stsubai
2241.70Schristosdevice pbms: wsmousedev
2251.70Schristosattach pbms at uhidbus
2261.70Schristosfile arch/macppc/dev/pbms.c			pbms
2271.70Schristos
2281.21Stsubaidevice abtn
2291.21Stsubaiattach abtn at adb
2301.21Stsubaifile arch/macppc/dev/abtn.c			abtn
2311.1Stsubai
2321.7Stsubaidevice nvram
2331.7Stsubaiattach nvram at obio
2341.7Stsubaifile arch/macppc/dev/nvram.c			nvram needs-flag
2351.17Stsubai
2361.75Sitohyattach wdc at obio with wdc_obio: ata_dma, ata_udma
2371.17Stsubaifile arch/macppc/dev/wdc_obio.c			wdc_obio
2381.42Stsubai
2391.42Stsubaiattach wi at obio with wi_obio
2401.42Stsubaifile arch/macppc/dev/if_wi_obio.c		wi_obio
2411.32Stsubai
2421.53Swizdevice awacs: audiobus, auconv, mulaw, aurateconv
2431.32Stsubaiattach awacs at obio
2441.93Smacallanfile arch/macppc/dev/awacs.c			awacs needs-flag
2451.81Smacallandefflag	opt_awacs.h	AWACS_DEBUG
2461.41Smatt
2471.66Smacallandevice macgpio {}
2481.66Smacallanattach macgpio at obio with gpio_obio
2491.66Smacallan#attach gpio at macgpio with gpio_gpio
2501.66Smacallanfile arch/macppc/dev/gpio.c			macgpio
2511.10Sthorpej
2521.10Sthorpejdevice macofcons: tty
2531.10Sthorpejattach macofcons at pci
2541.10Sthorpejfile arch/macppc/dev/ofcons.c			macofcons needs-flag
2551.59Schristos
2561.74Ssanjaylattach  com at mainbus with com_mainbus
2571.74Ssanjaylfile    arch/macppc/dev/com_mainbus.c               com_mainbus
2581.74Ssanjayl
2591.34Smattinclude "dev/ieee1394/files.ieee1394"
2601.23Shaya
2611.23Shaya#
2621.23Shaya# Machine-independent CardBus drivers
2631.23Shaya#
2641.24Stsubai
2651.24Stsubai# XXX dev/pcmcia needs fdc
2661.24Stsubaidevice fdc {drive = -1}
2671.24Stsubai
2681.25Stsubaiinclude "dev/cardbus/files.cardbus"
2691.23Shayainclude "dev/pcmcia/files.pcmcia"
2701.24Stsubai
2711.81Smacallandefflag opt_macppc.h	PB3400_CARDBUS_HACK UMAX_E100_HACK
2721.81Smacallan
2731.23Shayafile arch/macppc/macppc/rbus_machdep.c		cardbus
2741.52Sgehenna
2751.61Sgrant# Keywest I2C
2761.65Smacallandefine ki2c {}
2771.65Smacallandevice ki2c: i2cbus, ki2c
2781.65Smacallanattach ki2c at obio, uni_n
2791.61Sgrantfile arch/macppc/dev/ki2c.c			ki2c
2801.61Sgrant
2811.61Sgrant# snapper audio
2821.61Sgrantdevice snapper: audiobus, auconv, mulaw, aurateconv
2831.61Sgrantattach snapper at obio
2841.61Sgrantfile arch/macppc/dev/snapper.c			snapper
2851.61Sgrant
2861.91Smacallaninclude "arch/powerpc/conf/majors.powerpc"
2871.65Smacallan
2881.65Smacallanattach adt7467c at ki2c with adt7467_ki2c
2891.65Smacallanfile arch/macppc/dev/adt7467_ki2c.c		adt7467c
2901.65Smacallan
2911.65Smacallanattach adm1030c at ki2c with adm1030_ki2c
2921.65Smacallanfile arch/macppc/dev/adm1030_ki2c.c		adm1030c
2931.65Smacallan
2941.65Smacallandefine deq {}
2951.65Smacallandevice deq
2961.65Smacallanattach deq at ki2c
2971.65Smacallanfile arch/macppc/dev/deq.c				deq
2981.65Smacallan
299