files.macppc revision 1.89
11.89Sgarbled#	$NetBSD: files.macppc,v 1.89 2007/11/26 19:58:29 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.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.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.88Smacallandevice bandit: pcibus, pic_ohare, ipi_hammerhead
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.88Smacallandevice uninorth: pcibus, pic_openpic, ipi_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.86Saymericinclude "dev/bluetooth/files.bluetooth"
1231.13Stsubai
1241.74Ssanjayldevice ibmcpc: pcibus
1251.74Ssanjaylattach ibmcpc at mainbus
1261.74Ssanjaylfile arch/macppc/pci/u3.c			ibmcpc
1271.74Ssanjayl
1281.82Smacallandevice ofb: wsemuldisplaydev, rasops8, vcons, drm
1291.13Stsubaiattach ofb at pci
1301.13Stsubaifile arch/macppc/dev/ofb.c			ofb needs-flag
1311.1Stsubai
1321.1Stsubai# PCI-Host bridge chipsets
1331.81Smacallandevice pchb: agpbus, agp_apple
1341.1Stsubaiattach pchb at pci
1351.85Sgarbledfile arch/powerpc/pci/pchb.c			pchb
1361.29Stsubai
1371.29Stsubaidevice gm: ifnet, ether, arp, mii
1381.29Stsubaiattach gm at pci
1391.29Stsubaifile arch/macppc/dev/if_gm.c			gm
1401.58Shamajima
1411.75Sitohyattach wdc at pci with kauai: ata_dma, ata_udma
1421.58Shamajimafile arch/macppc/dev/kauai.c			kauai
1431.1Stsubai
1441.22Stsubaidefine obio {}
1451.22Stsubaidevice obio: obio
1461.1Stsubaiattach obio at pci
1471.1Stsubaifile arch/macppc/dev/obio.c			obio
1481.85Sgarbleddefflag opt_obio.h OBIO_DEBUG OBIO_SPEED_CONTROL
1491.1Stsubai
1501.22Stsubaidevice mediabay: obio
1511.22Stsubaiattach mediabay at obio
1521.22Stsubaifile arch/macppc/dev/mediabay.c			mediabay
1531.22Stsubai
1541.1Stsubaiattach esp at obio
1551.1Stsubaifile arch/macppc/dev/esp.c			esp
1561.1Stsubai
1571.17Stsubaidevice mesh: scsi
1581.17Stsubaiattach mesh at obio
1591.17Stsubaifile arch/macppc/dev/mesh.c			mesh
1601.17Stsubai
1611.1Stsubaidevice mc: ifnet, ether, arp
1621.1Stsubaiattach mc at obio
1631.1Stsubaifile arch/macppc/dev/if_mc.c			mc
1641.1Stsubaifile arch/macppc/dev/am79c950.c			mc
1651.1Stsubai
1661.26Stsubaidevice bm: ifnet, ether, arp, mii, mii_bitbang
1671.18Stsubaiattach bm at obio
1681.18Stsubaifile arch/macppc/dev/if_bm.c			bm
1691.18Stsubai
1701.1Stsubaidevice zsc {channel = -1}
1711.1Stsubaiattach zsc at obio
1721.1Stsubaifile arch/macppc/dev/zs.c	 		zsc needs-flag
1731.1Stsubaifile dev/ic/z8530sc.c				zsc
1741.47Sdbjfile arch/macppc/dev/zs_kgdb.c			zsc & kgdb
1751.1Stsubai
1761.1Stsubaidevice zstty: tty
1771.1Stsubaiattach zstty at zsc
1781.69Schsfile dev/ic/z8530tty.c				zstty needs-flag
1791.1Stsubai
1801.77Smacallaninclude "dev/adb/files.adb"
1811.77Smacallan
1821.77Smacallandefflag	opt_cuda.h	CUDA_DEBUG
1831.77Smacallandevice cuda : adb_bus, i2cbus
1841.77Smacallanattach cuda at obio
1851.77Smacallanfile arch/macppc/dev/cuda.c			cuda needs-flag
1861.77Smacallan
1871.81Smacallandefine pmu_bus {}
1881.77Smacallandefflag	opt_pmu.h	PMU_DEBUG
1891.77Smacallandefflag opt_pmu.h	PMU_VERBOSE
1901.80Smacallandevice pmu : adb_bus, i2cbus, pmu_bus
1911.77Smacallanattach pmu at obio
1921.77Smacallanfile arch/macppc/dev/pmu.c			pmu needs-flag
1931.79Smacallan
1941.79Smacallandevice battery : sysmon_envsys, sysmon_power, sysmon_taskq
1951.79Smacallanattach battery at pmu_bus
1961.79Smacallanfile arch/macppc/dev/battery.c			battery
1971.79Smacallandefflag opt_battery.h	BATTERY_DEBUG
1981.77Smacallan
1991.81Smacallandevice smartbat : sysmon_envsys, sysmon_power, sysmon_taskq
2001.81Smacallanattach smartbat at pmu_bus
2011.81Smacallanfile arch/macppc/dev/smartbat.c			smartbat
2021.81Smacallandefflag opt_battery.h	SMARTBAT_DEBUG
2031.81Smacallan
2041.82Smacallandevice adb {} 
2051.1Stsubaiattach adb at obio
2061.1Stsubaifile arch/macppc/dev/adb.c			adb needs-flag
2071.1Stsubaifile arch/macppc/dev/adb_direct.c		adb
2081.15Stsubaifile arch/macppc/dev/pm_direct.c		adb
2091.51Sitojun
2101.51Sitojundevice apm
2111.51Sitojunattach apm at adb
2121.51Sitojunfile arch/macppc/dev/apm.c			apm needs-count
2131.12Stsubai
2141.12Stsubaidevice aed
2151.12Stsubaiattach aed at adb
2161.12Stsubaifile arch/macppc/dev/aed.c			aed needs-flag
2171.12Stsubai
2181.13Stsubaidevice akbd: wskbddev
2191.12Stsubaiattach akbd at adb
2201.18Stsubaifile arch/macppc/dev/akbd.c			akbd needs-flag
2211.12Stsubai
2221.14Stsubaidevice ams: wsmousedev
2231.12Stsubaiattach ams at adb
2241.12Stsubaifile arch/macppc/dev/ams.c			ams
2251.21Stsubai
2261.70Schristosdevice pbms: wsmousedev
2271.70Schristosattach pbms at uhidbus
2281.70Schristosfile arch/macppc/dev/pbms.c			pbms
2291.70Schristos
2301.21Stsubaidevice abtn
2311.21Stsubaiattach abtn at adb
2321.21Stsubaifile arch/macppc/dev/abtn.c			abtn
2331.1Stsubai
2341.7Stsubaidevice nvram
2351.7Stsubaiattach nvram at obio
2361.7Stsubaifile arch/macppc/dev/nvram.c			nvram needs-flag
2371.17Stsubai
2381.75Sitohyattach wdc at obio with wdc_obio: ata_dma, ata_udma
2391.17Stsubaifile arch/macppc/dev/wdc_obio.c			wdc_obio
2401.42Stsubai
2411.42Stsubaiattach wi at obio with wi_obio
2421.42Stsubaifile arch/macppc/dev/if_wi_obio.c		wi_obio
2431.32Stsubai
2441.53Swizdevice awacs: audiobus, auconv, mulaw, aurateconv
2451.32Stsubaiattach awacs at obio
2461.32Stsubaifile arch/macppc/dev/awacs.c			awacs
2471.81Smacallandefflag	opt_awacs.h	AWACS_DEBUG
2481.41Smatt
2491.66Smacallandevice macgpio {}
2501.66Smacallanattach macgpio at obio with gpio_obio
2511.66Smacallan#attach gpio at macgpio with gpio_gpio
2521.66Smacallanfile arch/macppc/dev/gpio.c			macgpio
2531.10Sthorpej
2541.10Sthorpejdevice macofcons: tty
2551.10Sthorpejattach macofcons at pci
2561.10Sthorpejfile arch/macppc/dev/ofcons.c			macofcons needs-flag
2571.59Schristos
2581.74Ssanjaylattach  com at mainbus with com_mainbus
2591.74Ssanjaylfile    arch/macppc/dev/com_mainbus.c               com_mainbus
2601.74Ssanjayl
2611.34Smattinclude "dev/ieee1394/files.ieee1394"
2621.23Shaya
2631.23Shaya#
2641.23Shaya# Machine-independent CardBus drivers
2651.23Shaya#
2661.24Stsubai
2671.24Stsubai# XXX dev/pcmcia needs fdc
2681.24Stsubaidevice fdc {drive = -1}
2691.24Stsubai
2701.25Stsubaiinclude "dev/cardbus/files.cardbus"
2711.23Shayainclude "dev/pcmcia/files.pcmcia"
2721.24Stsubai
2731.81Smacallandefflag opt_macppc.h	PB3400_CARDBUS_HACK UMAX_E100_HACK
2741.81Smacallan
2751.23Shayafile arch/macppc/macppc/rbus_machdep.c		cardbus
2761.52Sgehenna
2771.61Sgrant# Keywest I2C
2781.65Smacallandefine ki2c {}
2791.65Smacallandevice ki2c: i2cbus, ki2c
2801.65Smacallanattach ki2c at obio, uni_n
2811.61Sgrantfile arch/macppc/dev/ki2c.c			ki2c
2821.61Sgrant
2831.61Sgrant# snapper audio
2841.61Sgrantdevice snapper: audiobus, auconv, mulaw, aurateconv
2851.61Sgrantattach snapper at obio
2861.61Sgrantfile arch/macppc/dev/snapper.c			snapper
2871.61Sgrant
2881.52Sgehennainclude "arch/macppc/conf/majors.macppc"
2891.65Smacallan
2901.65Smacallanattach adt7467c at ki2c with adt7467_ki2c
2911.65Smacallanfile arch/macppc/dev/adt7467_ki2c.c		adt7467c
2921.65Smacallan
2931.65Smacallanattach adm1030c at ki2c with adm1030_ki2c
2941.65Smacallanfile arch/macppc/dev/adm1030_ki2c.c		adm1030c
2951.65Smacallan
2961.65Smacallandefine deq {}
2971.65Smacallandevice deq
2981.65Smacallanattach deq at ki2c
2991.65Smacallanfile arch/macppc/dev/deq.c				deq
3001.65Smacallan
301