1 # $NetBSD: files.playstation2,v 1.5.2.2 2002/01/10 19:47:26 thorpej Exp $ 2 3 maxpartitions 8 4 5 maxusers 2 8 64 6 7 defflag debug_playstation2.h GSFB_DEBUG_MONITOR INTR_DEBUG SIF_DEBUG 8 SMAP_DEBUG EMAC3_DEBUG KLOADER_DEBUG 9 10 device mainbus {} 11 attach mainbus at root 12 file arch/playstation2/playstation2/mainbus.c mainbus 13 14 device cpu 15 attach cpu at mainbus 16 file arch/playstation2/playstation2/cpu.c cpu 17 18 file arch/mips/mips/fp.S softfloat 19 20 file arch/playstation2/playstation2/autoconf.c 21 file arch/playstation2/playstation2/interrupt.c 22 file arch/playstation2/playstation2/bus_space.c 23 file arch/playstation2/playstation2/bus_dma.c 24 file arch/playstation2/playstation2/clock.c 25 file arch/playstation2/playstation2/conf.c 26 file arch/playstation2/playstation2/disksubr.c disk 27 file arch/playstation2/playstation2/machdep.c 28 file arch/playstation2/playstation2/procfs_machdep.c procfs 29 file arch/playstation2/playstation2/sifbios.c 30 defparam opt_kloader_kernel_path.h KLOADER_KERNEL_PATH 31 file arch/playstation2/playstation2/kloader.c kloader_kernel_path 32 33 file dev/clock_subr.c 34 # 35 # PlayStation 2 internal devices (not optional) 36 # 37 file arch/playstation2/ee/intc.c 38 file arch/playstation2/ee/dmac.c 39 file arch/playstation2/ee/timer.c 40 file arch/playstation2/ee/gs.c 41 file arch/playstation2/ee/sif.c 42 43 # 44 # PlayStation 2 internal devices (optional) 45 # 46 device gsfb: wsemuldisplaydev 47 attach gsfb at mainbus 48 file arch/playstation2/ee/gsfb.c gsfb 49 50 define sbus {} 51 device sbus: sbus 52 attach sbus at mainbus 53 file arch/playstation2/dev/sbus.c sbus 54 55 attach ohci at sbus with ohci_sbus 56 file arch/playstation2/dev/ohci_sbus.c ohci_sbus 57 58 # 59 # HardDisk Unit (for SCPH-18000) SCPH-10190 + SCPH-200400 60 # 61 define spd {} 62 device spd: spd 63 attach spd at sbus 64 file arch/playstation2/dev/spd.c 65 66 define emac3 67 file arch/playstation2/dev/emac3.c emac3 68 69 attach wdc at spd with wdc_spd 70 file arch/playstation2/dev/wdc_spd.c wdc_spd 71 72 device smap: emac3, ether, ifnet, arp, mii 73 attach smap at spd 74 file arch/playstation2/dev/if_smap.c smap 75 76 # Console autoconfiguration code: selects between a framebuffers 77 file arch/playstation2/playstation2/console.c 78 file dev/cons.c 79 file dev/cninit.c 80 81 82 # Memory Disk for boot tape 83 file dev/md_root.c memory_disk_hooks 84 major {md = 6} 85 86 # 87 # Workstation Console 88 # 89 include "dev/wscons/files.wscons" 90 include "dev/wsfont/files.wsfont" 91 92 # network devices MII bus 93 include "dev/mii/files.mii" 94 95 include "dev/usb/files.usb" 96 97 # 98 # Machine-independent SCSI drivers 99 # 100 101 include "dev/scsipi/files.scsipi" 102 major {sd = 3} 103 major {st = 4} 104 major {cd = 5} 105 106 # 107 # Machine-independent ATA drivers 108 # 109 110 include "dev/ata/files.ata" 111 major {wd = 1} 112