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}.
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/news4000.c		ap & news4000
94file arch/newsmips/newsmips/news5000.c		ap & news5000
95file arch/newsmips/newsmips/disksubr.c
96file arch/newsmips/newsmips/mainbus.c
97file arch/newsmips/newsmips/cpu_cons.c
98file dev/cons.c
99
100file dev/bus_dma/bus_dmamem_common.c
101
102#
103# Stack-less Just-In-Time compiler
104#
105
106include	"external/bsd/sljit/conf/files.sljit"
107
108#
109# Machine-independent SCSI driver.
110#
111
112include "dev/scsipi/files.scsipi"
113
114device sc: scsi
115attach sc at hb
116file arch/newsmips/dev/scsi_1185.c		sc needs-count
117file arch/newsmips/dev/sc_wrap.c		sc
118
119device spifi: scsi
120attach spifi at ap
121file arch/newsmips/apbus/spifi.c		spifi
122
123device dmac
124attach dmac at ap
125file arch/newsmips/apbus/dmac3.c		dmac
126
127device xafb: wsemuldisplaydev, rasops8
128attach xafb at ap
129file arch/newsmips/apbus/xafb.c			xafb needs-flag
130
131#
132# Memory Disk for install floppy
133#
134file dev/md_root.c				memory_disk_hooks
135
136include "arch/newsmips/conf/majors.newsmips"
137