Annotation of sys/arch/macppc/conf/files.macppc, Revision 1.1.1.1
1.1 nbrk 1: # $OpenBSD: files.macppc,v 1.56 2007/06/08 22:57:43 jasper Exp $
2:
3: #
4: # macppc-specific configuration info
5: #
6: maxpartitions 16
7:
8: maxusers 2 8 64
9:
10: file arch/macppc/macppc/autoconf.c
11: file arch/macppc/macppc/clock.c
12: file arch/macppc/macppc/conf.c
13: file arch/macppc/macppc/disksubr.c disk
14: file arch/macppc/macppc/machdep.c
15: file arch/macppc/macppc/wscons_machdep.c
16: file arch/macppc/macppc/mem.c
17: file arch/macppc/macppc/dma.c
18: file arch/macppc/macppc/ofw_machdep.c
19: file arch/macppc/macppc/openfirm.c
20: file dev/cninit.c
21: file arch/macppc/macppc/ofwreal.S
22: file arch/macppc/macppc/db_interface.c ddb
23:
24: #
25: # Media Independent Interface (mii)
26: #
27: include "../../../dev/mii/files.mii"
28:
29: #
30: # MAC generic
31: #
32: file arch/macppc/dev/dbdma.c
33:
34: #
35: # Openfirmware support
36: #
37:
38: define mainbus {}
39: device mainbus
40: attach mainbus at root
41: file arch/macppc/macppc/mainbus.c mainbus
42:
43: device cpu
44: attach cpu at mainbus
45: file arch/macppc/macppc/cpu.c
46: file arch/macppc/macppc/opendev.c
47:
48: device memc {}
49: attach memc at mainbus
50: file arch/macppc/dev/uni_n.c memc
51:
52: major {rd = 17}
53: major {wd = 0}
54: major {sd = 2}
55: major {cd = 3}
56:
57: include "../../../scsi/files.scsi"
58:
59: #
60: # I2O
61: #
62: include "../../../dev/i2o/files.i2o"
63:
64: include "dev/pci/files.pci"
65: file arch/macppc/pci/pciide_machdep.c pciide
66:
67: include "dev/puc/files.puc"
68:
69: device mpcpcibr {} : pcibus
70: attach mpcpcibr at mainbus
71: file arch/macppc/pci/mpcpcibus.c mpcpcibr
72: file arch/macppc/pci/pci_addr_fixup.c mpcpcibr
73:
74: device ht {} : pcibus
75: attach ht at mainbus
76: file arch/macppc/pci/ht.c ht
77:
78: device smu: i2cbus
79: attach smu at mainbus
80: file arch/macppc/dev/smu.c smu
81:
82: #
83: # "workstation console" routines
84: #
85:
86: include "dev/wscons/files.wscons"
87:
88: #
89: # mac peripheral pieces.
90: #
91:
92: #file arch/macppc/pci/bandit.c pci
93:
94: #PCI-Host bridge chipsets
95: device pchb
96: attach pchb at pci
97: file arch/macppc/pci/pchb.c pchb
98:
99:
100: #
101: # Machine-independent ATAPI drivers
102: #
103:
104: include "../../../dev/atapiscsi/files.atapiscsi"
105: include "../../../dev/ata/files.ata"
106:
107: # MAC periph
108:
109: device macobio {}
110: attach macobio at pci
111: file arch/macppc/pci/macobio.c macobio
112:
113:
114: # kauai ATA glue
115: device kauaiata {}
116: attach kauaiata at pci
117: file arch/macppc/pci/kauaiata.c kauaiata needs-flag
118:
119: #device esp: scsi, ncr53c9x
120: #attach esp at macobio
121: #file arch/macppc/dev/esp.c esp
122:
123: device mesh: scsi
124: attach mesh at macobio
125: file arch/macppc/dev/mesh.c mesh
126:
127: device mc: ifnet, ether
128: attach mc at macobio
129: file arch/macppc/dev/if_mc.c mc
130:
131: device bm: ether, ifnet, ifmedia, mii, mii_bitbang
132: attach bm at macobio
133: file arch/macppc/dev/if_bm.c bm
134:
135: device macintr {}
136: attach macintr at macobio
137: file arch/macppc/dev/macintr.c macintr
138:
139: device openpic {}
140: attach openpic at macobio, memc
141: file arch/macppc/dev/openpic.c openpic
142:
143: device zsc {[channel = -1]}
144: attach zsc at macobio
145: file arch/macppc/dev/zs.c zsc needs-flag
146: file arch/macppc/dev/z8530sc.c zsc
147:
148: device zstty: tty
149: attach zstty at zsc
150: file arch/macppc/dev/z8530tty.c zstty needs-flag
151:
152: device adb {}
153: attach adb at macobio
154: file arch/macppc/dev/adb.c adb needs-flag
155: file arch/macppc/dev/pm_direct.c adb
156:
157: include "dev/adb/files.adb"
158: file arch/macppc/dev/akbd_machdep.c akbd
159:
160: device apm
161: attach apm at adb
162: file arch/macppc/dev/apm.c apm needs-count
163:
164: device abtn
165: attach abtn at adb
166: file arch/macppc/dev/abtn.c abtn
167:
168: device awacs: audio, auconv, mulaw
169: attach awacs at macobio
170: file arch/macppc/dev/awacs.c awacs
171:
172: # Mediabay
173: device mediabay {}
174: attach mediabay at macobio
175: file arch/macppc/dev/mediabay.c mediabay
176:
177: # Keywest I2C
178: device kiic: i2cbus
179: attach kiic at macobio
180: attach kiic at memc with kiic_memc
181: file arch/macppc/dev/kiic.c kiic
182:
183: # PMU I2C
184: device piic: i2cbus
185: attach piic at adb
186: file arch/macppc/dev/piic.c piic
187:
188: # I2S
189: define i2s
190: file arch/macppc/dev/i2s.c i2s
191:
192: # blinkenlights
193: device xlights
194: attach xlights at macobio
195: file arch/macppc/dev/xlights.c xlights
196:
197: # snapper audio
198: device snapper: audio, auconv, mulaw, i2s
199: attach snapper at macobio
200: file arch/macppc/dev/snapper.c snapper
201:
202: # tumbler audio
203: device tumbler: audio, auconv, mulaw, i2s
204: attach tumbler at macobio
205: file arch/macppc/dev/tumbler.c tumbler
206:
207: # onyx audio
208: device onyx: audio, auconv, mulaw, i2s
209: attach onyx at macobio
210: file arch/macppc/dev/onyx.c onyx
211:
212: # aoa audio
213: device aoa: audio, auconv, mulaw, i2s
214: attach aoa at macobio
215: file arch/macppc/dev/aoa.c aoa
216:
217: # daca audio
218: device daca: audio, auconv, mulaw, i2s
219: attach daca at macobio
220: file arch/macppc/dev/daca.c daca
221:
222: #device nvram
223: #attach nvram at macobio
224: #file arch/macppc/dev/nvram.c nvram needs-flag
225:
226: device macgpio {}
227: attach macgpio at macobio with macgpio
228: attach macgpio at macgpio with macgpio_gpio
229: file arch/macppc/dev/macgpio.c macgpio
230:
231: device sysbutton {}
232: attach sysbutton at macgpio
233: file arch/macppc/dev/sysbutton.c
234:
235: attach wdc at mediabay, macobio, kauaiata with wdc_obio
236: file arch/macppc/dev/wdc_obio.c wdc_obio
237:
238: attach wi at macobio with wi_obio
239: file arch/macppc/dev/if_wi_obio.c wi_obio
240:
241: # Raster operations
242: include "dev/rasops/files.rasops"
243: include "dev/wsfont/files.wsfont"
244:
245: # VGA framebuffer
246: device vgafb: wsemuldisplaydev, rasops8, rasops16, rasops32
247: file arch/macppc/pci/vgafb.c vgafb & vgafb_pci
248:
249: # Generic VGA Framebuffer version
250: attach vgafb at pci with vgafb_pci
251: file arch/macppc/pci/vgafb_pci.c vgafb_pci needs-flag
252:
253: #
254: # CARDBUS
255: #
256: include "dev/cardbus/files.cardbus"
257: file arch/macppc/macppc/rbus_machdep.c cardbus
258:
259: #
260: # Machine-independent PCMCIA drivers
261: #
262: include "dev/pcmcia/files.pcmcia"
263:
264: #
265: # Machine-independent USB drivers
266: #
267: include "dev/usb/files.usb"
268:
269: #
270: # Bluetooth
271: #
272: include "dev/bluetooth/files.bluetooth"
273:
274: #
275: # Machine-independent I2C drivers
276: #
277: include "dev/i2c/files.i2c"
278: file arch/macppc/dev/maci2c.c i2cbus
279:
280: #
281: # Machine-independent GPIO drivers
282: #
283: include "dev/gpio/files.gpio"
284:
285: #
286: # Machine-independent 1-Wire drivers
287: #
288: include "dev/onewire/files.onewire"
289:
290: # Sun HME Ethernet controllers
291: device hme: ether, ifnet, mii, ifmedia
292: file dev/ic/hme.c
293:
294: attach hme at pci with hme_pci
295: file dev/pci/if_hme_pci.c hme_pci
296:
297: device tpms: hid, wsmousedev
298: attach tpms at uhidbus
299: file arch/macppc/dev/tpms.c tpms
300:
301: # Apple Sudden Motion Sensor
302: device asms
303: attach asms at i2c
304: file arch/macppc/dev/asms.c asms
CVSweb