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