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