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