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