1# $NetBSD: files.newsmips,v 1.27 2009/08/21 04:03:01 thorpej Exp $ 2 3# NEWSMIPS-specific configuration info 4 5# maxpartitions must be first item in files.${ARCH}. 6maxpartitions 8 7 8maxusers 2 8 64 9 10device mainbus {} # no locators 11attach mainbus at root 12 13device cpu 14attach cpu at mainbus 15file arch/newsmips/newsmips/cpu.c cpu 16 17device hb { [addr = -1], [level = -1] } 18attach hb at mainbus 19file arch/newsmips/dev/hb.c hb 20 21#device iop { [addr = -1], [level = -1] } 22#attach iop at mainbus 23#file arch/newsmips/dev/iop.c iop 24 25device ap { [addr = -1], [level = -1] } 26attach ap at mainbus 27file arch/newsmips/apbus/apbus.c ap 28file arch/newsmips/apbus/apbus_subr.c ap 29 30# MK48T02 TOD clock and NVRAM 31device mkclock: mk48txx 32attach mkclock at hb with mkclock_hb 33file arch/newsmips/dev/mkclock_hb.c mkclock_hb 34attach mkclock at ap with mkclock_ap 35file arch/newsmips/apbus/mkclock_ap.c mkclock_ap 36 37attach le at hb: le24 38file arch/newsmips/dev/if_le.c le needs-count 39 40device zsc { [channel = -1] } 41file arch/newsmips/dev/zs.c zsc needs-count 42file dev/ic/z8530sc.c zsc 43 44attach zsc at hb with zsc_hb 45file arch/newsmips/dev/zs_hb.c zsc_hb 46 47attach zsc at ap with zsc_ap 48file arch/newsmips/apbus/zs_ap.c zsc_ap 49 50device zstty: tty 51attach zstty at zsc 52file dev/ic/z8530tty.c zstty needs-count 53 54device kb: wskbddev 55file dev/news/newskeymap.c kb 56 57attach kb at hb with kb_hb 58file arch/newsmips/dev/kb_hb.c kb_hb 59 60attach kb at ap with kb_ap 61file arch/newsmips/apbus/kb_ap.c kb_ap 62 63device ms: wsmousedev 64attach ms at hb with ms_hb 65file arch/newsmips/dev/ms_hb.c ms_hb 66 67attach ms at ap with ms_ap 68file arch/newsmips/apbus/ms_ap.c ms_ap 69 70device fb: wsemuldisplaydev, rasops1 71attach fb at hb 72file arch/newsmips/dev/fb.c fb needs-flag 73 74device fdc {} 75attach fdc at hb 76device fd: disk 77attach fd at fdc 78file arch/newsmips/dev/fd.c fdc | fd needs-count 79 80device sn: arp, ether, ifnet 81attach sn at ap with sn_ap 82file arch/newsmips/apbus/if_sn.c sn 83file arch/newsmips/apbus/if_sn_ap.c sn_ap 84 85attach tlp at ap with tlp_ap 86file arch/newsmips/apbus/if_tlp_ap.c tlp_ap 87 88file arch/newsmips/newsmips/autoconf.c 89file arch/newsmips/newsmips/bus.c 90file arch/newsmips/newsmips/clock.c 91file arch/newsmips/newsmips/machdep.c 92file arch/newsmips/newsmips/news3400.c hb 93file arch/newsmips/newsmips/news5000.c ap 94file arch/newsmips/newsmips/disksubr.c 95file arch/newsmips/newsmips/mainbus.c 96file arch/newsmips/newsmips/cpu_cons.c 97file dev/cons.c 98 99file common/bus_dma/bus_dmamem_common.c 100 101file arch/mips/mips/softintr.c 102 103# 104# Machine-independent SCSI driver. 105# 106 107include "dev/scsipi/files.scsipi" 108 109device sc: scsi 110attach sc at hb 111file arch/newsmips/dev/scsi_1185.c sc needs-count 112file arch/newsmips/dev/sc_wrap.c sc 113 114device spifi: scsi 115attach spifi at ap 116file arch/newsmips/apbus/spifi.c spifi 117 118device dmac 119attach dmac at ap 120file arch/newsmips/apbus/dmac3.c dmac 121 122device xafb: wsemuldisplaydev, rasops8 123attach xafb at ap 124file arch/newsmips/apbus/xafb.c xafb needs-flag 125 126# 127# Memory Disk for install floppy 128# 129file dev/md_root.c memory_disk_hooks 130 131include "arch/newsmips/conf/majors.newsmips" 132