Home | History | Annotate | Line # | Download | only in conf
files.ofppc revision 1.49
      1 #	$NetBSD: files.ofppc,v 1.49 2025/09/21 13:51:50 thorpej Exp $
      2 #
      3 # NetBSD/ofppc configuration info
      4 #
      5 
      6 # maxpartitions must be the first thing in files.${MACHINE}
      7 maxpartitions 16
      8 
      9 maxusers 8 16 64
     10 
     11 defflag	akbd.h		NO_AKDB_DEVICE
     12 defflag adbkbd.h	NO_ADBKBD_DEVICE
     13 defflag zsc.h		NO_ZSC_DEVICE
     14 defflag adb.h		NO_ADB_DEVICE
     15 defflag zstty.h		NO_ZSTTY_DEVICE
     16 defflag ofb.h		NO_OFB_DEVICE
     17 
     18 defflag opt_disksubr.h	RDB_PART
     19 
     20 file	arch/ofppc/ofppc/autoconf.c
     21 file	arch/powerpc/oea/ofw_autoconf.c
     22 file	arch/powerpc/powerpc/clock.c
     23 file	arch/ofppc/ofppc/disksubr.c		disk
     24 file	arch/powerpc/oea/ofwoea_machdep.c
     25 file	arch/powerpc/oea/ofw_consinit.c
     26 file	arch/powerpc/oea/ofw_rascons.c
     27 file	arch/ofppc/ofppc/machdep.c
     28 
     29 file	arch/powerpc/powerpc/bus_dma.c
     30 file	arch/powerpc/powerpc/bus_space.c
     31 file	arch/powerpc/powerpc/procfs_machdep.c	procfs
     32 file	dev/cons.c
     33 
     34 #
     35 # CPU specific OpenFirmware code
     36 #
     37 include "arch/powerpc/conf/files.ofw"
     38 include "arch/powerpc/pic/files.pic"
     39 include "arch/powerpc/pic/files.ipi"
     40 
     41 #
     42 # I2O device support
     43 #
     44 include "dev/i2o/files.i2o"
     45 
     46 #
     47 # SCSI support
     48 #
     49 include "dev/scsipi/files.scsipi"
     50 
     51 #
     52 # ATA/IDE support
     53 #
     54 include "dev/ata/files.ata"
     55 
     56 # Memory Disk
     57 file	dev/md_root.c				memory_disk_hooks
     58 
     59 define mainbus {}
     60 device mainbus: mainbus
     61 attach mainbus at root
     62 file	arch/ofppc/ofppc/mainbus.c		mainbus
     63 
     64 device	rtas
     65 attach	rtas at mainbus
     66 file	arch/powerpc/powerpc/rtas.c		rtas needs-flag
     67 
     68 include "dev/usb/files.usb"
     69 include "dev/ieee1394/files.ieee1394"
     70 
     71 #
     72 # PCI bus support
     73 #
     74 include "dev/pci/files.pci"
     75 include "dev/pci/files.agp"
     76 file	arch/powerpc/pci/pciconf_indirect.c	pci
     77 file	arch/powerpc/pci/pciconf_ofmethod.c	pci
     78 file	arch/powerpc/pci/pci_machdep_common.c	pci
     79 file	arch/powerpc/pci/pci_machdep_ofw.c	pci
     80 file    arch/powerpc/pci/pci_module.c		pci & modular
     81 file	dev/ofw/ofw_pci_subr.c			pci
     82 
     83 device ofwpci: pcibus
     84 attach ofwpci at mainbus
     85 file	arch/ofppc/pci/ofwpci.c			ofwpci
     86 
     87 # Marvell System-Controller MV64361(Discovery II) (on PegasosII)
     88 include "dev/marvell/files.discovery"
     89 attach	gt at mainbus
     90 file	arch/ofppc/pci/gt_mainbus.c		gt
     91 file	arch/powerpc/marvell/pci_machdep.c	gtpci
     92 
     93 device pchb: pcibus
     94 attach pchb at pci
     95 file	arch/powerpc/pci/pchb.c			pchb
     96 
     97 # PCI-ISA bridges
     98 device	pcib: isabus
     99 attach	pcib at pci
    100 file	arch/powerpc/pci/pcib.c			pcib
    101 
    102 #
    103 # ISA bus support
    104 #
    105 include "dev/isa/files.isa"
    106 file	arch/powerpc/isa/isa_machdep_common.c	isa
    107 file	arch/ofppc/isa/isa_machdep.c		isa
    108 file	arch/powerpc/isa/isadma_machdep.c	isa
    109 
    110 include "dev/pckbport/files.pckbport"
    111 
    112 # Floppy disk controller
    113 device	fdc {drive = -1}: isadma
    114 file	dev/isa/fd.c				fdc needs-flag
    115 
    116 attach	fdc at isa with fdc_isa
    117 file	dev/isa/fdc_isa.c			fdc_isa
    118 
    119 device	fd: disk
    120 attach	fd at fdc
    121 
    122 device	cpu
    123 attach	cpu at mainbus
    124 file	arch/ofppc/ofppc/cpu.c			cpu
    125 
    126 #
    127 # Support for generic OpenFirmware driver configurations.  This is
    128 # always included in the kernel.
    129 #
    130 #file	arch/ofppc/ofwgen/ofwgen.c
    131 #file	arch/ofppc/ofwgen/ofwgen_intr.c
    132 
    133 include "arch/powerpc/conf/majors.powerpc"
    134