1 # $NetBSD: files.landisk,v 1.5 2017/06/22 18:39:04 uwe Exp $ 2 3 # maxpartitions must be first item in files.${MACHINE} 4 maxpartitions 16 5 6 maxusers 2 16 64 7 8 defparam opt_memsize.h IOM_ROM_BEGIN IOM_ROM_SIZE IOM_RAM_BEGIN IOM_RAM_SIZE 9 10 file arch/landisk/landisk/autoconf.c 11 file arch/landisk/landisk/bus_dma.c 12 file arch/landisk/landisk/clock_machdep.c 13 file arch/landisk/landisk/consinit.c 14 file arch/landisk/landisk/intr.c 15 file arch/landisk/landisk/machdep.c 16 17 file kern/subr_disk_mbr.c disk 18 19 # 20 # kloader 21 # 22 defflag opt_kloader.h KLOADER 23 defflag debug_kloader.h KLOADER_DEBUG 24 defparam opt_kloader_kernel_path.h KLOADER_KERNEL_PATH 25 26 file dev/kloader.c kloader 27 file arch/landisk/landisk/kloader_machdep.c kloader 28 29 # 30 # Memory Disk for install floppy 31 # 32 file dev/md_root.c memory_disk_hooks 33 34 # 35 # System bus types 36 # 37 38 define mainbus {} 39 device mainbus: pcibus, mainbus 40 attach mainbus at root 41 file arch/landisk/landisk/mainbus.c mainbus 42 43 device cpu 44 attach cpu at mainbus 45 file arch/sh3/sh3/cpu.c cpu 46 47 # 48 # Machine-independent SCSI drivers 49 # 50 include "dev/scsipi/files.scsipi" 51 52 # 53 # Machine-independent ATA drivers 54 # 55 include "dev/ata/files.ata" 56 57 # 58 # Machine-independent I2O drivers 59 # 60 include "dev/i2o/files.i2o" 61 62 # 63 # PCI bus 64 # 65 include "dev/pci/files.pci" 66 include "arch/sh3/conf/files.shpcic" 67 68 file arch/landisk/landisk/shpcic_machdep.c shpcic 69 70 # 71 # USB drivers 72 # 73 include "dev/usb/files.usb" 74 75 # 76 # SH bus 77 # 78 include "arch/sh3/conf/files.shb" 79 80 # Ricoh RS5C313 Real Time Clock 81 device rs5c313rtc: rs5c313 82 attach rs5c313rtc at shb with rs5c313_landisk 83 file arch/landisk/dev/rs5c313_landisk.c rs5c313_landisk 84 85 # 86 # on-board I/O bus 87 # 88 device obio { [port = -1], [size = 0], [iomem = -1], [iosiz = 0], [irq = -1] } 89 attach obio at mainbus 90 file arch/landisk/dev/obio.c obio needs-flag 91 92 attach wdc at obio with wdc_obio 93 file arch/landisk/dev/wdc_obio.c wdc_obio needs-flag 94 95 define button 96 file arch/landisk/dev/button.c button 97 98 device btn: sysmon_power, sysmon_taskq, button 99 attach btn at obio with btn_obio 100 file arch/landisk/dev/btn_obio.c btn_obio needs-flag 101 102 device pwrsw: sysmon_power, sysmon_taskq 103 attach pwrsw at obio with pwrsw_obio 104 file arch/landisk/dev/pwrsw_obio.c pwrsw_obio needs-flag 105 106 #device led 107 #attach led at obio 108 #file arch/landisk/dev/led_obio.c led needs-flag 109 110 include "arch/landisk/conf/majors.landisk" 111