files.mac68k revision 1.86 1 # $NetBSD: files.mac68k,v 1.86 1998/10/23 01:16:22 ender Exp $
2
3 # mac68k-specific configuration info
4
5 # options understood by the mac68k-specific part of the kernel
6 # (note, these are case-sensitive)
7 defopt opt_adb.h ADB_DEBUG MRG_ADB ALTXBUTTONS
8 defopt opt_grf.h GRF_COMPAT
9 defopt opt_mac68k.h DISABLE_EXT_CACHE ZS_CONSOLE_ABORT
10
11 # maxpartitions must be first item in files.${ARCH}.newconf
12 maxpartitions 8
13
14 maxusers 2 8 64
15
16 device mainbus { } # no locators (yet?)
17 attach mainbus at root
18
19 define obio_norm { [addr = -1], ["no drq" = -1], ["no hsk" = -1] }
20 define obio_scsi5380 { [addr = -1], [drq = -1], [hsk = -1] }
21 device obio: obio_norm, obio_scsi5380
22 attach obio at mainbus
23 file arch/mac68k/obio/obio.c obio
24
25 device nubus { }
26 attach nubus at mainbus
27 file arch/mac68k/nubus/nubus.c nubus
28
29 device adb { }
30 attach adb at obio_norm
31 file arch/mac68k/dev/adb.c adb
32 file arch/mac68k/dev/adbsysasm.s
33 file arch/mac68k/dev/adb_direct.c
34 file arch/mac68k/dev/pm_direct.c
35
36 device aed
37 attach aed at adb
38 file arch/mac68k/dev/aed.c aed needs-flag
39
40 device kbd
41 attach kbd at adb
42 file arch/mac68k/dev/kbd.c kbd needs-flag
43
44 device ms
45 attach ms at adb
46 file arch/mac68k/dev/ms.c ms needs-flag
47
48 device asc
49 attach asc at obio_norm
50 file arch/mac68k/obio/asc.c asc needs-flag
51
52 define grfbus { }
53 file arch/mac68k/dev/grf_subr.c grfbus
54
55 device intvid: grfbus
56 attach intvid at obio_norm
57 file arch/mac68k/obio/grf_obio.c intvid
58
59 device macvid: grfbus
60 attach macvid at nubus
61 file arch/mac68k/nubus/grf_nubus.c macvid
62
63 device grf { }
64 attach grf at grfbus
65 file arch/mac68k/dev/grf.c grf needs-flag
66
67 device ite: tty
68 attach ite at grf
69 file arch/mac68k/dev/ite.c ite needs-flag
70
71 device ae: ifnet, ether, arp, dp8390nic
72 attach ae at nubus with ae_nubus
73 file arch/mac68k/nubus/if_ae_nubus.c ae_nubus
74 file arch/mac68k/dev/if_ae.c ae
75
76 device mc: ifnet, ether, arp
77 attach mc at obio_norm with mc_obio
78 file arch/mac68k/dev/if_mc.c mc
79 file arch/mac68k/obio/if_mc_obio.c mc_obio
80
81 device sn: ifnet, ether, arp
82 attach sn at obio_norm with sn_obio
83 attach sn at nubus with sn_nubus
84 file arch/mac68k/dev/if_sn.c sn
85 file arch/mac68k/obio/if_sn_obio.c sn_obio
86 file arch/mac68k/nubus/if_sn_nubus.c sn_nubus
87
88 include "dev/scsipi/files.scsipi"
89
90 # Option 1 for ncr5380 support
91 device ncrscsi: scsi
92 attach ncrscsi at obio_scsi5380
93 file arch/mac68k/dev/mac68k5380.c ncrscsi needs-flag
94
95 # Option 2 for ncr5380 support
96 device sbc: scsi, ncr5380sbc
97 attach sbc at obio_scsi5380 with sbc_obio
98 file arch/mac68k/dev/sbc.c sbc
99 file arch/mac68k/obio/sbc_obio.c sbc_obio
100
101 device esp: scsi, ncr53c9x
102 attach esp at obio_norm
103 file arch/mac68k/obio/esp.c esp needs-flag
104
105 device zsc { channel = -1 }
106 attach zsc at obio_norm
107 file arch/mac68k/dev/zs.c zsc needs-flag
108 #file arch/mac68k/dev/z8530sc.c zsc
109 file dev/ic/z8530sc.c zsc
110
111 device zstty: tty
112 attach zstty at zsc
113 file dev/ic/z8530tty.c zstty needs-flag
114 file arch/mac68k/dev/zs_kgdb.c kgdb
115
116 # This one is out of alphabetical order
117 device fpu
118 attach fpu at mainbus
119 file arch/mac68k/mac68k/fpu.c fpu
120
121 file arch/m68k/m68k/db_memrw.c ddb | kgdb
122 include "arch/m68k/fpe/files.fpe"
123
124 file arch/mac68k/mac68k/autoconf.c
125 file arch/mac68k/mac68k/bus_space.c
126 file arch/mac68k/mac68k/clock.c
127 file arch/mac68k/mac68k/conf.c
128 file arch/mac68k/mac68k/disksubr.c disk
129 file arch/mac68k/mac68k/intr.c
130 file arch/mac68k/mac68k/kgdb_machdep.c kgdb
131 file arch/mac68k/mac68k/machdep.c
132 file arch/mac68k/mac68k/macrom.c
133 file arch/mac68k/mac68k/macromasm.s
134 file arch/mac68k/mac68k/mainbus.c
135 file arch/mac68k/mac68k/mem.c
136 file arch/mac68k/mac68k/pmap.c
137 file arch/mac68k/mac68k/pmap_bootstrap.c compile-with "${NOPROF_C}"
138 file arch/mac68k/mac68k/pram.c
139 file arch/mac68k/mac68k/pramasm.s
140 file arch/mac68k/mac68k/psc.c
141 file arch/mac68k/mac68k/sys_machdep.c
142 file arch/mac68k/mac68k/trap.c
143 file arch/mac68k/mac68k/via.c
144 file arch/mac68k/mac68k/vm_machdep.c
145
146 file dev/cons.c
147 file dev/cninit.c
148
149 # Memory Disk for installs
150 # These files are out of order
151 file arch/mac68k/dev/md_root.c memory_disk_hooks
152
153 major {sd = 4}
154 major {st = 5}
155 major {cd = 6}
156 major {vnd = 8}
157 major {md = 13}
158
159 # Compatibility modules
160
161 # SunOS Binary Compatibility (COMPAT_SUNOS)
162 include "compat/sunos/files.sunos"
163 file arch/m68k/m68k/sunos_machdep.c compat_sunos
164