1 # $NetBSD: files.newsmips,v 1.29 2012/10/02 23:54:53 christos 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/news5000.c ap 94 file arch/newsmips/newsmips/disksubr.c 95 file arch/newsmips/newsmips/mainbus.c 96 file arch/newsmips/newsmips/cpu_cons.c 97 file dev/cons.c 98 99 file dev/bus_dma/bus_dmamem_common.c 100 101 # 102 # Machine-independent SCSI driver. 103 # 104 105 include "dev/scsipi/files.scsipi" 106 107 device sc: scsi 108 attach sc at hb 109 file arch/newsmips/dev/scsi_1185.c sc needs-count 110 file arch/newsmips/dev/sc_wrap.c sc 111 112 device spifi: scsi 113 attach spifi at ap 114 file arch/newsmips/apbus/spifi.c spifi 115 116 device dmac 117 attach dmac at ap 118 file arch/newsmips/apbus/dmac3.c dmac 119 120 device xafb: wsemuldisplaydev, rasops8 121 attach xafb at ap 122 file arch/newsmips/apbus/xafb.c xafb needs-flag 123 124 # 125 # Memory Disk for install floppy 126 # 127 file dev/md_root.c memory_disk_hooks 128 129 include "arch/newsmips/conf/majors.newsmips" 130