NetBSD/sys/arch/mac68k/conf/files.mac68k
scottr 7d09ad09b4 New framework for handling processor interrupts, derived in part from
the hp300 port.

 - Interrupts 3-6 use this immediately.  Interrupt 7 is a special case,
   and the VIA interrupts (1 and 2) will be addressed when that code is
   rototilled.

 - Modify the zs front end to register with the appropriate interrupt
   controller:  through the PSC on the AV Quadras, and direct to
   interrupt 4 on the rest.  Arrange to have the appropriate zsc_softc
   supplied to us at interrupt time.

 - Modify the direct ADB driver (and its PowerManager cousin) to call
   intr_dispatch(), rather than zshard().  XXX This is a kludge, but at
   least limits the brokenness to the ADB drivers, now.

As a side effect, this should fix PR 5590.  Thanks to Bill Studenmund for
correctly determining the cause of the problem reported there.
1998-08-12 05:42:44 +00:00

152 lines
3.9 KiB
Plaintext

# $NetBSD: files.mac68k,v 1.84 1998/08/12 05:42:44 scottr Exp $
# mac68k-specific configuration info
# options understood by the mac68k-specific part of the kernel
# (note, these are case-sensitive)
defopt opt_adb.h ADB_DEBUG MRG_ADB
defopt opt_grf.h GRF_COMPAT
# maxpartitions must be first item in files.${ARCH}.newconf
maxpartitions 8
maxusers 2 8 64
device mainbus { } # no locators (yet?)
attach mainbus at root
define obio_norm { [addr = -1], ["no drq" = -1], ["no hsk" = -1] }
define obio_scsi5380 { [addr = -1], [drq = -1], [hsk = -1] }
device obio: obio_norm, obio_scsi5380
attach obio at mainbus
file arch/mac68k/obio/obio.c obio
device nubus { }
attach nubus at mainbus
file arch/mac68k/nubus/nubus.c nubus
device adb
attach adb at obio_norm
file arch/mac68k/dev/adb.c adb
file arch/mac68k/dev/adbsys.c
file arch/mac68k/dev/adbsysasm.s
file arch/mac68k/dev/adb_direct.c
file arch/mac68k/dev/pm_direct.c
device asc
attach asc at obio_norm
file arch/mac68k/obio/asc.c asc needs-flag
define grfbus { }
file arch/mac68k/dev/grf_subr.c grfbus
device intvid: grfbus
attach intvid at obio_norm
file arch/mac68k/obio/grf_obio.c intvid
device macvid: grfbus
attach macvid at nubus
file arch/mac68k/nubus/grf_nubus.c macvid
device grf { }
attach grf at grfbus
file arch/mac68k/dev/grf.c grf needs-flag
device ite: tty
attach ite at grf
file arch/mac68k/dev/ite.c ite needs-flag
device ae: ifnet, ether, arp, dp8390nic
attach ae at nubus with ae_nubus
file arch/mac68k/nubus/if_ae_nubus.c ae_nubus
file arch/mac68k/dev/if_ae.c ae
device mc: ifnet, ether, arp
attach mc at obio_norm with mc_obio
file arch/mac68k/dev/if_mc.c mc
file arch/mac68k/obio/if_mc_obio.c mc_obio
device sn: ifnet, ether, arp
attach sn at obio_norm with sn_obio
attach sn at nubus with sn_nubus
file arch/mac68k/dev/if_sn.c sn
file arch/mac68k/obio/if_sn_obio.c sn_obio
file arch/mac68k/nubus/if_sn_nubus.c sn_nubus
include "dev/scsipi/files.scsipi"
# Option 1 for ncr5380 support
device ncrscsi: scsi
attach ncrscsi at obio_scsi5380
file arch/mac68k/dev/mac68k5380.c ncrscsi needs-flag
# Option 2 for ncr5380 support
device sbc: scsi, ncr5380sbc
attach sbc at obio_scsi5380 with sbc_obio
file arch/mac68k/dev/sbc.c sbc
file arch/mac68k/obio/sbc_obio.c sbc_obio
device esp: scsi, ncr53c9x
attach esp at obio_norm
file arch/mac68k/obio/esp.c esp needs-flag
device zsc { channel = -1 }
attach zsc at obio_norm
file arch/mac68k/dev/zs.c zsc needs-flag
#file arch/mac68k/dev/z8530sc.c zsc
file dev/ic/z8530sc.c zsc
device zstty: tty
attach zstty at zsc
file dev/ic/z8530tty.c zstty needs-flag
file arch/mac68k/dev/zs_kgdb.c kgdb
# This one is out of alphabetical order
device fpu
attach fpu at mainbus
file arch/mac68k/mac68k/fpu.c fpu
file arch/m68k/m68k/db_memrw.c ddb | kgdb
include "arch/m68k/fpe/files.fpe"
file arch/mac68k/mac68k/autoconf.c
file arch/mac68k/mac68k/bus_space.c
file arch/mac68k/mac68k/clock.c
file arch/mac68k/mac68k/conf.c
file arch/mac68k/mac68k/disksubr.c disk
file arch/mac68k/mac68k/intr.c
file arch/mac68k/mac68k/kgdb_machdep.c kgdb
file arch/mac68k/mac68k/machdep.c
file arch/mac68k/mac68k/macrom.c
file arch/mac68k/mac68k/macromasm.s
file arch/mac68k/mac68k/mainbus.c
file arch/mac68k/mac68k/mem.c
file arch/mac68k/mac68k/pmap.c
file arch/mac68k/mac68k/pmap_bootstrap.c compile-with "${NOPROF_C}"
file arch/mac68k/mac68k/pram.c
file arch/mac68k/mac68k/pramasm.s
file arch/mac68k/mac68k/psc.c
file arch/mac68k/mac68k/sys_machdep.c
file arch/mac68k/mac68k/trap.c
file arch/mac68k/mac68k/via.c
file arch/mac68k/mac68k/vm_machdep.c
file dev/cons.c
file dev/cninit.c
# Memory Disk for installs
# These files are out of order
file arch/mac68k/dev/md_root.c memory_disk_hooks
major {sd = 4}
major {st = 5}
major {cd = 6}
major {vnd = 8}
major {md = 13}
# Compatibility modules
# SunOS Binary Compatibility (COMPAT_SUNOS)
include "compat/sunos/files.sunos"
file arch/m68k/m68k/sunos_machdep.c compat_sunos