1 # $NetBSD: files.landisk,v 1.2.16.1 2007/04/10 13:23:07 ad 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 include "dev/wscons/files.wscons" 63 include "dev/wsfont/files.wsfont" 64 include "dev/rasops/files.rasops" 65 include "dev/wsfb/files.wsfb" 66 67 # 68 # PCI bus 69 # 70 include "dev/pci/files.pci" 71 include "arch/sh3/conf/files.shpcic" 72 73 file arch/landisk/landisk/shpcic_machdep.c shpcic 74 75 # 76 # USB drivers 77 # 78 include "dev/usb/files.usb" 79 80 # 81 # SH bus 82 # 83 include "arch/sh3/conf/files.shb" 84 85 # Ricoh RS5C313 Real Time Clock 86 device rs5c313rtc: rs5c313 87 attach rs5c313rtc at shb with rs5c313_landisk 88 file arch/landisk/dev/rs5c313_landisk.c rs5c313_landisk 89 90 # 91 # on-board I/O bus 92 # 93 define obio { [port = -1], [size = 0], [iomem = -1], [iosiz = 0], [irq = -1] } 94 95 device obio: obio 96 attach obio at mainbus 97 file arch/landisk/dev/obio.c obio needs-flag 98 99 attach wdc at obio with wdc_obio 100 file arch/landisk/dev/wdc_obio.c wdc_obio needs-flag 101 102 define button 103 file arch/landisk/dev/button.c button 104 105 device btn: sysmon_power, sysmon_taskq, button 106 attach btn at obio with btn_obio 107 file arch/landisk/dev/btn_obio.c btn_obio needs-flag 108 109 device pwrsw: sysmon_power, sysmon_taskq 110 attach pwrsw at obio with pwrsw_obio 111 file arch/landisk/dev/pwrsw_obio.c pwrsw_obio needs-flag 112 113 #device led 114 #attach led at obio 115 #file arch/landisk/dev/led_obio.c led needs-flag 116 117 include "arch/landisk/conf/majors.landisk" 118