1 # $NetBSD: files.landisk,v 1.7 2021/04/25 13:33:27 thorpej 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 device mainbus { } 39 attach mainbus at root 40 file arch/landisk/landisk/mainbus.c mainbus 41 42 device cpu 43 attach cpu at mainbus 44 file arch/sh3/sh3/cpu.c cpu 45 46 # 47 # Machine-independent SCSI drivers 48 # 49 include "dev/scsipi/files.scsipi" 50 51 # 52 # Machine-independent ATA drivers 53 # 54 include "dev/ata/files.ata" 55 56 # 57 # Machine-independent I2O drivers 58 # 59 include "dev/i2o/files.i2o" 60 61 # 62 # PCI bus 63 # 64 include "dev/pci/files.pci" 65 include "arch/sh3/conf/files.shpcic" 66 67 file arch/landisk/landisk/shpcic_machdep.c shpcic 68 69 # 70 # USB drivers 71 # 72 include "dev/usb/files.usb" 73 74 # 75 # SH bus 76 # 77 include "arch/sh3/conf/files.shb" 78 79 # Ricoh RS5C313 Real Time Clock 80 device rs5c313rtc: rs5c313 81 attach rs5c313rtc at shb with rs5c313_landisk 82 file arch/landisk/dev/rs5c313_landisk.c rs5c313_landisk 83 84 # 85 # on-board I/O bus 86 # 87 device obio { [port = -1], [size = 0], [iomem = -1], [iosiz = 0], [irq = -1] } 88 attach obio at mainbus 89 file arch/landisk/dev/obio.c obio needs-flag 90 91 attach wdc at obio with wdc_obio 92 file arch/landisk/dev/wdc_obio.c wdc_obio needs-flag 93 94 define button 95 file arch/landisk/dev/button.c button 96 97 device btn: sysmon_power, sysmon_taskq, button 98 attach btn at obio with btn_obio 99 file arch/landisk/dev/btn_obio.c btn_obio needs-flag 100 101 device pwrsw: sysmon_power, sysmon_taskq 102 attach pwrsw at obio with pwrsw_obio 103 file arch/landisk/dev/pwrsw_obio.c pwrsw_obio needs-flag 104 105 #device led 106 #attach led at obio 107 #file arch/landisk/dev/led_obio.c led needs-flag 108 109 include "arch/landisk/conf/majors.landisk" 110