Annotation of sys/arch/sparc/conf/files.sparc, Revision 1.1.1.1
1.1 nbrk 1: # $OpenBSD: files.sparc,v 1.78 2007/05/29 09:54:03 sobrado Exp $
2: # $NetBSD: files.sparc,v 1.44 1997/08/31 21:29:16 pk Exp $
3:
4: # @(#)files.sparc 8.1 (Berkeley) 7/19/93
5: # sparc-specific configuration info
6:
7: # maxpartitions must be first item in files.${ARCH}.newconf
8: maxpartitions 16
9:
10: maxusers 2 8 64
11:
12: device mainbus {}
13: attach mainbus at root
14:
15: device obio {[addr = -1], [level = -1]}
16: attach obio at mainbus
17:
18: device iommu {}
19: attach iommu at mainbus
20: file arch/sparc/sparc/iommu.c iommu
21:
22: device vme {}
23: attach vme at iommu
24:
25: device vmel {[addr = -1], [level = -1], [vect = -1]}
26: attach vmel at mainbus, vme
27: device vmes {[addr = -1], [level = -1], [vect = -1]}
28: attach vmes at mainbus, vme
29: file arch/sparc/dev/obio.c (obio | vmel | vmes | vme) & !solbourne
30:
31: device auxreg
32: attach auxreg at mainbus, obio
33: file arch/sparc/sparc/auxreg.c auxreg needs-flag
34:
35: device clock
36: attach clock at mainbus, obio
37:
38: device oclock
39: attach oclock at obio
40:
41: device timer
42: attach timer at mainbus, obio
43:
44: device eeprom
45: attach eeprom at obio
46: file arch/sparc/sparc/clock.c !solbourne
47:
48: device power
49: attach power at obio
50: file arch/sparc/dev/power.c power needs-count
51:
52: device led
53: attach led at mainbus, obio
54: file arch/sparc/dev/led.c led needs-count
55:
56: device cpu
57: attach cpu at mainbus
58: file arch/sparc/sparc/cpu.c
59:
60: device memreg
61: attach memreg at mainbus, obio
62: file arch/sparc/sparc/memreg.c
63:
64: device zs {[channel = -1]}
65: attach zs at mainbus, obio
66: file arch/sparc/dev/zs.c zs needs-flag
67: file arch/sparc/dev/z8530sc.c zs
68:
69: device fdc {}
70: attach fdc at mainbus, obio
71: device fd: disk
72: attach fd at fdc
73: file arch/sparc/dev/fd.c fdc | fd needs-flag
74: file arch/sparc/sparc/bsd_fdintr.s fdc
75:
76: device xbox {}
77: device sbus {[slot = -1], [offset = -1]}
78: attach sbus at mainbus, iommu, sbus, xbox
79: file arch/sparc/dev/sbus.c sbus
80:
81: # Sun specific files
82: include "../../../dev/sun/files.sun"
83:
84: #
85: # Console (zs) related stuff
86: #
87:
88: device zstty: tty
89: attach zstty at zs
90: file arch/sparc/dev/z8530tty.c zstty needs-flag
91: file arch/sparc/dev/zs_kgdb.c kgdb
92:
93: device zskbd: tty, wskbddev, sunkbd
94: attach zskbd at zs
95: file arch/sparc/dev/z8530kbd.c zskbd needs-flag
96:
97: #
98: # Media Independent Interface (mii)
99: #
100: include "../../../dev/mii/files.mii"
101:
102: #
103: # Machine-independent SCSI drivers
104: #
105: include "../../../scsi/files.scsi"
106:
107: major {sd = 7}
108: major {vnd = 8}
109: major {cd = 18}
110: major {rd = 17}
111:
112: device dma {}
113: attach dma at sbus, obio
114: device ledma {}
115: attach ledma at sbus
116: file arch/sparc/dev/dma.c dma | ledma
117: device lebuffer {}
118: attach lebuffer at sbus
119: file arch/sparc/dev/lebuffer.c lebuffer
120:
121: device qec {}
122: attach qec at sbus
123: file arch/sparc/dev/qec.c qec
124:
125: device be: ifnet, ether, ifmedia
126: attach be at qec
127: file arch/sparc/dev/be.c be
128:
129: device qe: ifnet, ether, ifmedia
130: attach qe at qec
131: file arch/sparc/dev/qe.c qe
132:
133: # HappyMeal (hme) ethernet
134: device hme: ifnet, ether, mii, ifmedia
135: attach hme at sbus
136: file arch/sparc/dev/hme.c hme
137:
138: attach esp at sbus, dma, obio
139: file arch/sparc/dev/esp.c esp
140:
141: device audioamd: audio, mulaw
142: attach audioamd at mainbus, obio, sbus
143: file arch/sparc/dev/amd7930.c audio
144: file arch/sparc/sparc/amd7930intr.s audio
145:
146: device audiocs: audio, auconv
147: attach audiocs at sbus
148: file arch/sparc/dev/cs4231.c audiocs
149:
150: # Framebuffers
151:
152: file arch/sparc/dev/fb.c
153:
154: include "dev/wscons/files.wscons"
155: include "dev/rasops/files.rasops"
156: include "dev/wsfont/files.wsfont"
157:
158: define bt_dac
159: file arch/sparc/dev/bt_subr.c bt_dac
160:
161: device agten: wsemuldisplaydev, rasops8
162: attach agten at sbus
163: file arch/sparc/dev/agten.c agten
164:
165: device bwtwo: wsemuldisplaydev, rasops1
166: attach bwtwo at sbus, obio, vmes, vmel
167: file arch/sparc/dev/bwtwo.c bwtwo
168:
169: device cgeight: wsemuldisplaydev, rasops1, bt_dac
170: attach cgeight at obio
171: file arch/sparc/dev/cgeight.c cgeight
172:
173: device cgfour: wsemuldisplaydev, rasops8, bt_dac
174: attach cgfour at obio
175: file arch/sparc/dev/cgfour.c cgfour
176:
177: device cgfourteen: wsemuldisplaydev, rasops8
178: attach cgfourteen at obio
179: file arch/sparc/dev/cgfourteen.c cgfourteen
180:
181: device cgsix: wsemuldisplaydev, rasops8, bt_dac
182: attach cgsix at sbus, obio
183: file arch/sparc/dev/cgsix.c cgsix
184:
185: device cgthree: wsemuldisplaydev, rasops8, bt_dac
186: attach cgthree at sbus
187: file arch/sparc/dev/cgthree.c cgthree
188:
189: device cgtwelve: wsemuldisplaydev, rasops1
190: attach cgtwelve at sbus
191: file arch/sparc/dev/cgtwelve.c cgtwelve
192:
193: device cgtwo: wsemuldisplaydev, rasops8
194: attach cgtwo at vmes
195: file arch/sparc/dev/cgtwo.c cgtwo
196:
197: device mgx: wsemuldisplaydev, rasops8
198: attach mgx at sbus
199: file arch/sparc/dev/mgx.c mgx
200:
201: # Onboard Weitek P9000 found on Tadpole SPARCbook 3, and BT ``Chameleon'' RAMDAC
202: device pninek: wsemuldisplaydev, rasops8, bt_dac
203: attach pninek at sbus
204: file arch/sparc/dev/p9000.c pninek
205:
206: device btcham
207: attach btcham at obio
208: file arch/sparc/dev/bt445.c btcham
209:
210: # Onboard Weitek p9100 found on Tadpole SPARCbook 3GS/3GX/3TX/3XP
211: device pnozz: wsemuldisplaydev, rasops8, bt_dac
212: attach pnozz at sbus
213: file arch/sparc/dev/p9100.c pnozz
214:
215: device rfx: wsemuldisplaydev, rasops8
216: attach rfx at sbus
217: file arch/sparc/dev/rfx.c rfx
218:
219: device tcx: wsemuldisplaydev, rasops8, bt_dac
220: attach tcx at sbus
221: file arch/sparc/dev/tcx.c tcx
222:
223: device tvtwo: wsemuldisplaydev, rasops8
224: attach tvtwo at sbus
225: file arch/sparc/dev/tvtwo.c tvtwo
226:
227: device vigra: wsemuldisplaydev, rasops8
228: attach vigra at sbus
229: file arch/sparc/dev/vigra.c vigra
230:
231: device zx: wsemuldisplaydev, rasops8
232: attach zx at sbus
233: file arch/sparc/dev/zx.c zx
234:
235: # device definition in sys/conf/files
236: attach le at sbus, ledma, lebuffer, obio
237: file arch/sparc/dev/if_le.c le
238:
239: attach ie at obio, vmes, vmel
240: file arch/sparc/dev/if_ie.c ie
241:
242: device xdc {[drive = -1]}
243: attach xdc at vmel
244: device xd: disk
245: attach xd at xdc
246: file arch/sparc/dev/xd.c xd needs-flag
247: major {xd = 10}
248:
249: device xyc {[drive = -1]}
250: attach xyc at vmes
251: device xy: disk
252: attach xy at xyc
253: file arch/sparc/dev/xy.c xy needs-flag
254: major {xy = 3}
255:
256: device si: scsi, ncr5380sbc
257: attach si at vmes
258: device sw: scsi, ncr5380sbc
259: attach sw at obio
260: file arch/sparc/dev/si.c si | sw
261:
262: # Efficient Networks, Inc. ATM interface
263: # device declaration in sys/conf/files
264: #attach en at sbus with en_sbus
265: #file arch/sparc/dev/if_en_sbus.c en_sbus
266:
267: # Qlogic ISP 10x0 (SBus) family
268: # device declaration in sys/conf/files
269: attach isp at sbus with isp_sbus
270: file arch/sparc/dev/isp_sbus.c isp_sbus
271:
272: #
273: # Generic Sparc stuff
274: #
275:
276: file arch/sparc/fpu/fpu.c
277: file arch/sparc/fpu/fpu_add.c
278: file arch/sparc/fpu/fpu_compare.c
279: file arch/sparc/fpu/fpu_div.c
280: file arch/sparc/fpu/fpu_explode.c
281: file arch/sparc/fpu/fpu_implode.c
282: file arch/sparc/fpu/fpu_mul.c
283: file arch/sparc/fpu/fpu_sqrt.c
284: file arch/sparc/fpu/fpu_subr.c
285:
286: file arch/sparc/sparc/autoconf.c !solbourne
287: file arch/sparc/sparc/cache.c
288: file arch/sparc/sparc/conf.c
289: file arch/sparc/sparc/disksubr.c
290: file arch/sparc/sparc/emul.c
291: file arch/sparc/sparc/in_cksum.c inet
292: file arch/sparc/sparc/intr.c
293: file arch/sparc/sparc/kgdb_machdep.c kgdb
294: file arch/sparc/sparc/locore2.c
295: file arch/sparc/sparc/machdep.c !solbourne
296: file arch/sparc/sparc/mem.c !solbourne
297: file arch/sparc/sparc/mutex.c
298: file arch/sparc/sparc/openprom.c !solbourne
299: file arch/sparc/sparc/pmap.c !solbourne
300: file arch/sparc/sparc/process_machdep.c
301: file arch/sparc/sparc/sys_machdep.c
302: file arch/sparc/sparc/trap.c !solbourne
303: file arch/sparc/sparc/vm_machdep.c
304:
305: file arch/sparc/sparc/db_interface.c ddb | kgdb
306: file arch/sparc/sparc/db_trace.c ddb
307: file arch/sparc/sparc/db_disasm.c ddb
308:
309: #
310: # Compatibility modules
311: #
312:
313: # SVR4 Binary Compatibility (COMPAT_SVR4)
314: include "../../../compat/svr4/files.svr4"
315: file arch/sparc/sparc/svr4_machdep.c compat_svr4
316: file arch/sparc/sparc/sunos_machdep.c compat_sunos
317:
318: # SunOS Binary Compatibility (COMPAT_SUNOS)
319: include "../../../compat/sunos/files.sunos"
320:
321: # Magma Serial/Parallel boards
322: device magma {}
323: attach magma at sbus
324: device mtty
325: attach mtty at magma
326: device mbpp
327: attach mbpp at magma
328: file arch/sparc/dev/magma.c magma | mtty | mbpp needs-flag
329:
330: device spif {}
331: attach spif at sbus
332: device stty
333: attach stty at spif
334: device sbpp
335: attach sbpp at spif
336: file arch/sparc/dev/spif.c spif | stty | sbpp needs-flag
337:
338: device bpp {}
339: attach bpp at sbus
340: file arch/sparc/dev/bpp.c bpp needs-flag
341:
342: attach xbox at sbus
343: file arch/sparc/dev/xbox.c xbox
344:
345: # sysconfig registers on Force CPU-5V
346: device scf {}
347: attach scf at mainbus
348: file arch/sparc/dev/scf.c scf needs-flag
349:
350: # flash memory on Force CPU-5V
351: device flash {}
352: attach flash at obio
353: file arch/sparc/dev/flash.c flash needs-flag
354:
355: # VME/SBus bridge on Force CPU-5V
356: device fga {}
357: attach fga at iommu
358: device fvme {[addr = -1], [level = -1], [vect = -1]}
359: attach fvme at fga
360: file arch/sparc/dev/fga.c fga needs-flag
361:
362: device daadio {}
363: attach daadio at fvme
364: file arch/sparc/dev/daadio.c daadio needs-flag
365:
366: device tctrl {}
367: attach tctrl at obio
368: file arch/sparc/dev/tctrl.c tctrl needs-flag
369:
370: # Prestoserve NVRAM
371: device presto: disk
372: attach presto at sbus
373: file arch/sparc/dev/presto.c presto needs-flag
374:
375: # PCMCIA devices
376:
377: device tslot: pcmciabus
378: attach tslot at sbus
379: file arch/sparc/dev/ts102.c tslot
380:
381: device stp: pcmciabus
382: attach stp at sbus with stp_sbus
383: file dev/sbus/stp4020.c stp
384: file arch/sparc/dev/stp_sbus.c stp_sbus
385:
386: include "dev/pcmcia/files.pcmcia"
387:
388: # built-in modem on Tadpole SPARCbook
389: attach com at obio with com_obio
390: file arch/sparc/dev/com_obio.c com_obio
CVSweb