1# $NetBSD: files.amigappc,v 1.9 2002/04/22 09:41:20 augustss Exp $ 2 3# maxpartitions must be first item in files.${ARCH}.newconf 4maxpartitions 16 # NOTE THAT AMIGA IS SPECIAL! 5 6maxusers 2 8 64 7 8defflag opt_amigaccgrf.h GRF_PAL :GRF_NTSC # temporary workaround 9defflag opt_amigaccgrf.h GRF_NTSC 10defflag opt_amigaccgrf.h GRF_ECS GRF_AGA 11defflag opt_amigaccgrf.h GRF_A2024:GRF_ECS 12defflag opt_amigaccgrf.h GRF_AGA_VGA:GRF_AGA 13defflag opt_amigaccgrf.h GRF_SUPER72:GRF_AGA 14defflag opt_amigaccgrf.h USE_C_BFOPS 15 16defflag opt_amigacons.h RETINACONSOLE ULOWELLCONSOLE CL5426CONSOLE 17defflag opt_amigacons.h CV64CONSOLE CV3DCONSOLE TSENGCONSOLE 18defflag opt_amigacons.h CV3DONZORRO2 19 20defparam opt_retina.h RH_MEMCLK 21defflag opt_retina.h RH_64BIT_SPRITE RH_HARDWARECURSOR 22defflag opt_retina.h RETINA_SPEED_HACK 23 24defflag BB060STUPIDROM 25defflag P5PPC68KBOARD 26 27defflag LEV6_DEFER 28 29device mainbus {} 30attach mainbus at root 31 32device cpu 33attach cpu at mainbus 34 35# zorro expansion bus. 36device zbus {} 37attach zbus at mainbus 38file arch/amiga/dev/zbus.c zbus 39 40define event {} 41file arch/amiga/dev/event.c event 42 43device clock 44attach clock at mainbus 45file arch/amiga/dev/clock.c 46file dev/clock_subr.c 47 48# A2000 internal hwc 49device a2kbbc 50attach a2kbbc at mainbus 51file arch/amiga/dev/a2kbbc.c a2kbbc 52 53# A3000/4000 internal hwc 54device a34kbbc 55attach a34kbbc at mainbus 56file arch/amiga/dev/a34kbbc.c a34kbbc 57 58# keyboard 59device kbd: event,wskbddev 60attach kbd at mainbus 61file arch/amiga/dev/kbd.c kbd needs-flag 62file arch/amiga/dev/wskbdmap_amiga.c kbd 63 64# serial port 65device ser: tty 66attach ser at mainbus 67file arch/amiga/dev/ser.c ser needs-count 68 69# parallel port 70device par 71attach par at mainbus 72file arch/amiga/dev/par.c par needs-count 73 74# audio 75device aucc: audiobus 76attach aucc at mainbus 77file arch/amiga/dev/aucc.c aucc needs-flag 78 79device melody: audiobus, tms320av110 80attach melody at zbus 81file arch/amiga/dev/melody.c melody 82 83# mouse 84device ms: event 85attach ms at mainbus 86file arch/amiga/dev/ms.c ms needs-flag 87 88# floppy 89device fdc { unit = -1 } 90attach fdc at mainbus 91 92device fd: disk 93attach fd at fdc 94file arch/amiga/dev/fd.c fd needs-flag 95major {fd = 2} 96 97# graphic devices 98define grfbus {} 99 100device grf {} 101attach grf at grfbus 102file arch/amiga/dev/grf.c grf needs-count 103 104device ite: tty 105attach ite at grf 106file arch/amiga/dev/ite.c ite needs-flag 107file arch/amiga/dev/kbdmap.c ite 108file arch/amiga/dev/kf_8x8.c ite | amidisplaycc 109file arch/amiga/dev/kf_8x11.c kfont_8x11 110file arch/amiga/dev/kf_custom.c kfont_custom 111 112# custom chips grf (ite0 grf0) 113device grfcc: grfbus 114attach grfcc at mainbus 115file arch/amiga/dev/grf_cc.c grfcc needs-flag 116file arch/amiga/dev/ite_cc.c grfcc & ite 117 118# wscons interface to custom chips 119device amidisplaycc: wsemuldisplaydev 120attach amidisplaycc at mainbus 121file arch/amiga/dev/amidisplaycc.c amidisplaycc needs-flag 122 123include "dev/wscons/files.wscons" 124 125defpseudo view 126file arch/amiga/dev/view.c view | grfcc needs-count 127file arch/amiga/dev/grfabs.c grfcc | view | amidisplaycc 128file arch/amiga/dev/grfabs_cc.c grfcc | view | amidisplaycc 129file arch/amiga/dev/grfabs_ccglb.c grfcc | view | amidisplaycc 130 131# retina ZII grf (ite1 grf1) 132device grfrt: grfbus 133attach grfrt at zbus 134file arch/amiga/dev/grf_rt.c grfrt needs-flag 135file arch/amiga/dev/ite_rt.c grfrt & ite 136 137# retina ZIII grf (ite2 grf2) 138device grfrh: grfbus 139attach grfrh at zbus 140file arch/amiga/dev/grf_rh.c grfrh needs-flag 141file arch/amiga/dev/ite_rh.c grfrh & ite 142 143# cirrus grf (ite3 grf3) 144device grfcl: grfbus 145attach grfcl at zbus 146file arch/amiga/dev/grf_cl.c grfcl needs-flag 147file arch/amiga/dev/ite_cl.c grfcl & ite 148 149# A2410 grf (ite4 grf4) 150device grful: grfbus 151attach grful at zbus 152file arch/amiga/dev/grf_ul.c grful needs-flag 153file arch/amiga/dev/ite_ul.c grful & ite 154file arch/amiga/dev/grf_ultms.g grful 155 156# CyberVison 64 grf (ite5 grf5) 157device grfcv: grfbus 158attach grfcv at zbus 159file arch/amiga/dev/grf_cv.c grfcv needs-flag 160file arch/amiga/dev/ite_cv.c grfcv & ite 161 162# Tseng grf (ite6 grf6) 163device grfet: grfbus 164attach grfet at zbus 165file arch/amiga/dev/grf_et.c grfet needs-flag 166file arch/amiga/dev/ite_et.c grfet & ite 167 168# CyberVison 64/3D grf (ite7 grf7) 169device grfcv3d: grfbus 170attach grfcv3d at zbus 171file arch/amiga/dev/grf_cv3d.c grfcv3d needs-flag 172file arch/amiga/dev/ite_cv3d.c grfcv3d & ite 173 174# device defined in sys/conf/files 175# A2065, Ameristar, Ariadne ethernet cards 176attach le at zbus with le_zbus: le24 177file arch/amiga/dev/if_le.c le_zbus needs-flag 178 179# AriadneII ethernet card 180# device defined in sys/conf/files 181attach ne at zbus with ne_zbus: rtl80x9 182file arch/amiga/dev/if_ne_zbus.c ne_zbus needs-flag 183 184# Hydra ethernet card 185device ed: ifnet, ether, arp 186attach ed at zbus with ed_zbus 187file arch/amiga/dev/if_ed.c ed_zbus needs-flag 188 189# C=/Ameristar A2060 / 560 190attach bah at zbus with bah_zbus 191file arch/amiga/dev/if_bah_zbus.c bah_zbus 192 193# CEI A4066 EthernetPLUS 194device es: ifnet, ether, arp 195attach es at zbus 196file arch/amiga/dev/if_es.c es needs-flag 197 198# Quicknet ethernet card 199device qn: ifnet, ether, arp 200attach qn at zbus 201file arch/amiga/dev/if_qn.c qn needs-flag 202 203# A2232 msc serial ports 204device msc: tty 205attach msc at zbus 206file arch/amiga/dev/msc.c msc needs-count 207 208# bsc/Alf Data MultiFaceCard 209device mfc { unit = -1 } 210attach mfc at zbus 211 212device mfcs: tty 213attach mfcs at mfc 214device mfcp 215attach mfcp at mfc 216file arch/amiga/dev/mfc.c mfcs | mfcp needs-count 217 218# direct bus ISA-chip i/o 219define supio {port = -1} 220 221# DraCo superio chip 222 223device drsupio: supio 224attach drsupio at mainbus 225file arch/amiga/dev/drsupio.c drsupio 226 227# ZBus HyperComs: HyperCom Z3, HyperCom 4 228device hyper: supio 229attach hyper at zbus 230file arch/amiga/dev/hyper.c hyper 231 232attach com at supio with com_supio 233file arch/amiga/dev/com_supio.c com_supio 234 235# ISDN Blaster, ISDN Master 236device aster: supio 237attach aster at zbus 238file arch/amiga/dev/aster.c aster 239 240# handle gvp's odd autoconf info.. 241device gvpbus {} 242attach gvpbus at zbus 243file arch/amiga/dev/gvpbus.c gvpbus 244 245device lpt 246file dev/ic/lpt.c lpt needs-flag 247 248attach lpt at supio with lpt_supio 249file arch/amiga/dev/lpt_supio.c lpt_supio 250 251include "dev/scsipi/files.scsipi" 252major {sd = 4} 253major {cd = 7} 254 255# wd 33c93 contrllers 256define sbic 257file arch/amiga/dev/sbic.c sbic 258 259# GVP series II 260device gtsc: scsi, sbic 261attach gtsc at gvpbus 262file arch/amiga/dev/gtsc.c gtsc needs-flag 263 264# Amiga 3000 internal 265device ahsc: scsi, sbic 266attach ahsc at mainbus 267file arch/amiga/dev/ahsc.c ahsc needs-flag 268 269# C= A2091 270device atzsc: scsi, sbic 271attach atzsc at zbus 272file arch/amiga/dev/atzsc.c atzsc needs-flag 273 274# ncr 5380 controllers 275define sci 276file arch/amiga/dev/sci.c sci 277 278# Supra Wordsync II 279device wstsc: scsi, sci 280attach wstsc at zbus 281file arch/amiga/dev/wstsc.c wstsc needs-flag 282 283# IVS 284device ivsc: scsi, sci 285attach ivsc at zbus 286file arch/amiga/dev/ivsc.c ivsc needs-flag 287 288# MLH 289device mlhsc: scsi, sci 290attach mlhsc at zbus 291file arch/amiga/dev/mlhsc.c mlhsc needs-flag 292 293# CSA twelve gauge. 294device otgsc: scsi, sci 295attach otgsc at zbus 296file arch/amiga/dev/otgsc.c otgsc needs-flag 297 298# ncr 57c710 controllers 299define asiop 300file arch/amiga/dev/siop.c asiop 301 302# PPI Zeus 303device zssc: scsi, asiop 304attach zssc at zbus 305file arch/amiga/dev/zssc.c zssc needs-flag 306 307# CSA Magnum 308device mgnsc: scsi, asiop 309attach mgnsc at zbus 310file arch/amiga/dev/mgnsc.c mgnsc needs-flag 311 312# MacroSystems USA Warp Engine 313device wesc: scsi, asiop 314attach wesc at zbus 315file arch/amiga/dev/wesc.c wesc needs-flag 316 317# C= A4091 & A4000T 318device afsc: scsi, asiop 319attach afsc at zbus 320device aftsc: scsi, asiop 321attach aftsc at mainbus 322file arch/amiga/dev/afsc.c afsc | aftsc needs-flag 323 324# ncr 57c720/770 controllers 325define siopng 326file arch/amiga/dev/siop2.c siopng 327 328# CyberStorm MKIII scsi 329device cbiiisc: scsi, siopng 330attach cbiiisc at zbus 331file arch/amiga/dev/cbiiisc.c cbiiisc needs-flag 332 333# Emulex ESP216 & FAS216 controllers 334 335# FastlaneZ3 336device flsc: scsi, ncr53c9x 337attach flsc at zbus 338file arch/amiga/dev/flsc.c flsc needs-flag 339 340# Blizzard1230-I,II 341device bzsc: scsi, ncr53c9x 342attach bzsc at zbus 343file arch/amiga/dev/bzsc.c bzsc needs-flag 344 345# Blizzard12x0-IV 346device bzivsc: scsi, ncr53c9x 347attach bzivsc at zbus 348file arch/amiga/dev/bzivsc.c bzivsc needs-flag 349 350# Blizzard2060 scsi 351device bztzsc: scsi, ncr53c9x 352attach bztzsc at zbus 353file arch/amiga/dev/bztzsc.c bztzsc needs-flag 354 355# CyberSCSI [I] scsi 356device cbsc: scsi, ncr53c9x 357attach cbsc at zbus 358file arch/amiga/dev/cbsc.c cbsc needs-flag 359 360# CyberSCSI MKII scsi 361device cbiisc: scsi, ncr53c9x 362attach cbiisc at zbus 363file arch/amiga/dev/cbiisc.c cbiisc needs-flag 364 365# EMPLANT 366device empsc: scsi, sci 367attach empsc at zbus 368file arch/amiga/dev/empsc.c empsc needs-flag 369 370# Amiga 4000/1200 IDE masquerading as SCSI 371device idesc: scsi 372attach idesc at mainbus 373file arch/amiga/dev/idesc.c idesc needs-flag 374 375# MacroSystem DraCo internal 376device drsc: scsi, asiop 377attach drsc at mainbus 378file arch/amiga/dev/drsc.c drsc needs-flag 379 380# MacroSystem DraCo internal DS2404 hwc 381device drbbc 382attach drbbc at mainbus 383file arch/amiga/dev/drbbc.c drbbc 384 385# list of standard files... 386 387file dev/cons.c ite | ser 388file dev/cninit.c ite | ser 389file arch/amigappc/amigappc/amiga_init.c 390file arch/amiga/amiga/autoconf.c 391file arch/amiga/amiga/busfuncs.c 392file arch/amiga/amiga/cia.c 393file arch/amiga/amiga/conf.c 394file arch/amiga/amiga/disksubr.c 395file arch/amiga/amiga/dkbad.c 396file arch/amigappc/amigappc/machdep.c 397file arch/amiga/amiga/cc.c 398file arch/amiga/dev/md_root.c memory_disk_hooks 399#file arch/m68k/m68k/cacheops.c 400 401define gayle 402file arch/amiga/amiga/gayle.c gayle 403 404include "dev/ata/files.ata" 405major {wd = 17} 406 407# Amiga 4000/1200 IDE using MI wdc 408attach wdc at mainbus with wdc_amiga: gayle 409file arch/amiga/dev/wdc_amiga.c wdc_amiga 410 411major {md = 15} # Memory disk (for mini-kernel) 412 413# Compatibility modules 414 415# SunOS Binary Compatibility (COMPAT_SUNOS) 416#include "compat/sunos/files.sunos" 417#file arch/m68k/m68k/sunos_machdep.c compat_sunos 418 419# SVR4 Binary Compatibility (COMPAT_SVR4) 420#include "compat/svr4/files.svr4" 421 422# Linux binary compatibility (COMPAT_LINUX) 423#include "compat/linux/files.linux" 424#include "compat/linux/arch/m68k/files.linux_m68k" 425#file arch/m68k/m68k/linux_trap.c compat_linux 426 427# OSS audio driver compatibility 428include "compat/ossaudio/files.ossaudio" 429