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