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