1999-08-01 04:23:48 +04:00
|
|
|
# $NetBSD: files.sparc,v 1.82 1999/08/01 00:23:48 matt Exp $
|
1995-04-28 12:19:12 +04:00
|
|
|
|
|
|
|
# @(#)files.sparc 8.1 (Berkeley) 7/19/93
|
1993-10-02 13:22:00 +03:00
|
|
|
# sparc-specific configuration info
|
|
|
|
|
1996-12-07 00:57:57 +03:00
|
|
|
# maxpartitions must be first item in files.${ARCH}
|
1995-04-28 12:19:12 +04:00
|
|
|
maxpartitions 8
|
|
|
|
|
1997-07-08 01:53:43 +04:00
|
|
|
maxusers 2 8 1024
|
1993-10-02 13:22:00 +03:00
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device mainbus {}
|
1996-03-17 05:00:30 +03:00
|
|
|
attach mainbus at root
|
1995-04-28 12:19:12 +04:00
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device iommu {}
|
1996-12-07 00:57:57 +03:00
|
|
|
attach iommu at mainbus
|
|
|
|
file arch/sparc/sparc/iommu.c iommu
|
|
|
|
|
1998-03-21 14:12:56 +03:00
|
|
|
device obio { [addr = -1], [level = -1] }
|
|
|
|
attach obio at mainbus
|
|
|
|
|
1999-04-18 01:26:59 +04:00
|
|
|
include "dev/vme/files.vme"
|
1999-07-28 13:39:48 +04:00
|
|
|
device sparcvme: vmebus
|
1999-06-30 19:18:58 +04:00
|
|
|
attach sparcvme at mainbus with vme_mainbus
|
|
|
|
attach sparcvme at iommu with vme_iommu
|
1997-05-18 23:41:02 +04:00
|
|
|
|
1998-01-25 22:56:30 +03:00
|
|
|
file arch/sparc/dev/obio.c obio
|
1999-06-30 19:18:58 +04:00
|
|
|
file arch/sparc/dev/vme_machdep.c sparcvme
|
1993-10-02 13:22:00 +03:00
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device auxreg
|
1998-03-21 14:12:56 +03:00
|
|
|
attach auxreg at mainbus with auxreg_mainbus
|
|
|
|
attach auxreg at obio with auxreg_obio
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/sparc/sparc/auxreg.c
|
1993-10-02 13:22:00 +03:00
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device clock
|
1998-03-21 14:12:56 +03:00
|
|
|
attach clock at mainbus with clock_mainbus
|
|
|
|
attach clock at obio with clock_obio
|
1996-04-12 01:05:42 +04:00
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device oclock
|
1996-03-17 05:00:30 +03:00
|
|
|
attach oclock at obio
|
1996-04-12 01:05:42 +04:00
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device timer
|
1998-03-21 14:12:56 +03:00
|
|
|
attach timer at mainbus with timer_mainbus
|
|
|
|
attach timer at obio with timer_obio
|
1996-04-12 01:05:42 +04:00
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device eeprom
|
1996-03-17 05:00:30 +03:00
|
|
|
attach eeprom at obio
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/sparc/sparc/clock.c
|
1996-04-12 01:05:42 +04:00
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device power
|
1996-04-01 02:52:38 +04:00
|
|
|
attach power at obio
|
1998-06-07 01:30:34 +04:00
|
|
|
file arch/sparc/dev/power.c power needs-flag
|
1993-10-02 13:22:00 +03:00
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device cpu
|
1996-03-17 05:00:30 +03:00
|
|
|
attach cpu at mainbus
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/sparc/sparc/cpu.c
|
1993-10-02 13:22:00 +03:00
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device memreg
|
1998-03-21 14:12:56 +03:00
|
|
|
attach memreg at mainbus with memreg_mainbus
|
|
|
|
attach memreg at obio with memreg_obio
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/sparc/sparc/memreg.c
|
1993-10-02 13:22:00 +03:00
|
|
|
|
1998-09-19 00:19:12 +04:00
|
|
|
device eccmemctl
|
|
|
|
attach eccmemctl at mainbus
|
|
|
|
file arch/sparc/sparc/memecc.c eccmemctl
|
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device zs {channel = -1}
|
1998-03-21 14:12:56 +03:00
|
|
|
attach zs at mainbus with zs_mainbus
|
|
|
|
attach zs at obio with zs_obio
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/sparc/dev/zs.c zs needs-count
|
1997-10-18 03:59:44 +04:00
|
|
|
file dev/ic/z8530sc.c zs
|
1995-04-28 12:19:12 +04:00
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device fdc {}
|
1998-03-21 14:12:56 +03:00
|
|
|
attach fdc at mainbus with fdc_mainbus
|
|
|
|
attach fdc at obio with fdc_obio
|
1998-02-17 01:12:45 +03:00
|
|
|
device fd: disk
|
1996-03-17 05:00:30 +03:00
|
|
|
attach fd at fdc
|
1996-04-05 02:57:55 +04:00
|
|
|
file arch/sparc/dev/fd.c fdc | fd needs-flag
|
|
|
|
file arch/sparc/sparc/bsd_fdintr.s fdc
|
1993-10-02 13:22:00 +03:00
|
|
|
|
1999-04-18 01:26:59 +04:00
|
|
|
include "dev/sbus/files.sbus"
|
1998-03-21 14:12:56 +03:00
|
|
|
attach sbus at mainbus with sbus_mainbus
|
|
|
|
attach sbus at iommu with sbus_iommu
|
1996-04-12 01:05:42 +04:00
|
|
|
file arch/sparc/dev/sbus.c sbus
|
1993-10-02 13:22:00 +03:00
|
|
|
|
1998-11-23 02:22:26 +03:00
|
|
|
# network devices MII bus
|
1999-04-18 01:26:59 +04:00
|
|
|
include "dev/mii/files.mii"
|
1998-11-23 02:22:26 +03:00
|
|
|
|
|
|
|
# PCMCIA bus
|
1999-04-18 01:26:59 +04:00
|
|
|
include "dev/pcmcia/files.pcmcia"
|
|
|
|
include "dev/ata/files.ata"
|
1998-11-23 02:22:26 +03:00
|
|
|
|
1997-10-18 03:59:44 +04:00
|
|
|
#
|
|
|
|
# Console (zs) related stuff
|
|
|
|
#
|
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device zstty: tty
|
1997-10-18 03:59:44 +04:00
|
|
|
attach zstty at zs
|
|
|
|
file dev/ic/z8530tty.c zstty needs-flag
|
|
|
|
file arch/sparc/dev/zs_kgdb.c kgdb
|
|
|
|
|
|
|
|
define zsevent
|
|
|
|
file dev/sun/event.c zsevent
|
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device kbd: zsevent
|
1999-05-14 10:42:02 +04:00
|
|
|
attach kbd at zs with kbd_zs
|
|
|
|
file dev/sun/kbd_zs.c kbd_zs
|
1997-10-18 03:59:44 +04:00
|
|
|
file dev/sun/kbd.c kbd needs-flag
|
|
|
|
file dev/sun/kbd_tables.c kbd
|
|
|
|
file arch/sparc/dev/kd.c kbd
|
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device ms: zsevent
|
1999-05-14 10:42:02 +04:00
|
|
|
attach ms at zs with ms_zs
|
|
|
|
file dev/sun/ms_zs.c ms_zs
|
1997-10-18 03:59:44 +04:00
|
|
|
file dev/sun/ms.c ms needs-flag
|
|
|
|
|
1995-06-02 21:53:51 +04:00
|
|
|
#
|
|
|
|
# Machine-independent SCSI drivers
|
|
|
|
#
|
1999-04-18 01:26:59 +04:00
|
|
|
include "dev/scsipi/files.scsipi"
|
1995-04-28 12:19:12 +04:00
|
|
|
|
1998-08-31 01:53:35 +04:00
|
|
|
major { cd = 18 }
|
|
|
|
major { fd = 16 }
|
|
|
|
major { md = 5 }
|
|
|
|
major { sd = 7 }
|
|
|
|
major { xd = 10 }
|
|
|
|
major { xy = 3 }
|
1995-04-28 12:19:12 +04:00
|
|
|
|
1998-03-21 14:12:56 +03:00
|
|
|
attach dma at obio with dma_obio
|
1998-08-30 00:53:11 +04:00
|
|
|
file arch/sparc/dev/dma_obio.c dma_obio
|
1995-04-28 12:19:12 +04:00
|
|
|
|
1998-03-21 14:12:56 +03:00
|
|
|
attach esp at obio with esp_obio
|
1998-08-30 00:53:11 +04:00
|
|
|
file arch/sparc/dev/esp_obio.c esp_obio
|
1995-04-28 12:19:12 +04:00
|
|
|
|
1998-03-21 14:12:56 +03:00
|
|
|
attach audioamd at mainbus with audioamd_mainbus
|
|
|
|
attach audioamd at sbus with audioamd_sbus
|
1998-06-24 14:52:53 +04:00
|
|
|
file arch/sparc/dev/am7930_sparc.c audioamd
|
|
|
|
file arch/sparc/sparc/amd7930intr.s audioamd
|
1996-11-02 02:15:51 +03:00
|
|
|
|
1996-03-17 05:00:30 +03:00
|
|
|
# Brooktree DAC attribute
|
|
|
|
define bt_dac
|
|
|
|
|
1999-04-26 08:25:38 +04:00
|
|
|
# Raster operations for RASTERCONSOLE (this is here so dependancies work).
|
|
|
|
include "dev/rasops/files.rasops"
|
|
|
|
|
1997-12-24 02:57:20 +03:00
|
|
|
# Include /dev/fb driver only if a framebuffer card is included
|
|
|
|
define fb
|
|
|
|
|
1999-04-26 08:25:38 +04:00
|
|
|
device bwtwo: fb, rasops1
|
1998-03-21 14:12:56 +03:00
|
|
|
attach bwtwo at sbus with bwtwo_sbus
|
|
|
|
attach bwtwo at obio with bwtwo_obio
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/sparc/dev/bwtwo.c bwtwo needs-flag
|
1993-10-02 13:22:00 +03:00
|
|
|
|
1999-04-26 08:25:38 +04:00
|
|
|
device cgtwo: fb, rasops8
|
1998-03-21 14:12:56 +03:00
|
|
|
attach cgtwo at vme
|
1995-09-18 01:03:36 +04:00
|
|
|
file arch/sparc/dev/cgtwo.c cgtwo needs-flag
|
|
|
|
|
1999-04-26 08:25:38 +04:00
|
|
|
device cgthree: bt_dac, fb, rasops8
|
1998-03-21 14:12:56 +03:00
|
|
|
attach cgthree at sbus with cgthree_sbus
|
|
|
|
attach cgthree at obio with cgthree_obio
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/sparc/dev/cgthree.c cgthree needs-flag
|
1993-10-02 13:22:00 +03:00
|
|
|
|
1999-04-26 08:25:38 +04:00
|
|
|
device cgfour: bt_dac, fb, rasops8
|
1996-03-17 05:00:30 +03:00
|
|
|
attach cgfour at obio
|
1996-02-28 01:09:14 +03:00
|
|
|
file arch/sparc/dev/cgfour.c cgfour needs-flag
|
|
|
|
|
1999-04-26 08:25:38 +04:00
|
|
|
device cgsix: bt_dac, fb, rasops8
|
1998-03-21 14:12:56 +03:00
|
|
|
attach cgsix at sbus with cgsix_sbus
|
|
|
|
attach cgsix at obio with cgsix_obio
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/sparc/dev/cgsix.c cgsix needs-flag
|
1998-09-23 12:49:46 +04:00
|
|
|
file arch/sparc/dev/cgsix_sbus.c cgsix_sbus & (sbus | obio)
|
|
|
|
file arch/sparc/dev/cgsix_obio.c cgsix_obio & obio
|
1993-10-02 13:22:00 +03:00
|
|
|
|
1999-04-26 08:25:38 +04:00
|
|
|
device cgeight: bt_dac, fb, rasops24
|
1996-03-17 05:00:30 +03:00
|
|
|
attach cgeight at obio
|
1996-02-28 01:09:14 +03:00
|
|
|
file arch/sparc/dev/cgeight.c cgeight needs-flag
|
|
|
|
|
1999-04-26 08:25:38 +04:00
|
|
|
device tcx: bt_dac, fb, rasops8, rasops24
|
1996-06-19 17:21:09 +04:00
|
|
|
attach tcx at sbus
|
|
|
|
file arch/sparc/dev/tcx.c tcx needs-flag
|
|
|
|
|
1999-04-26 08:25:38 +04:00
|
|
|
device cgfourteen: fb, rasops32
|
1996-10-01 02:43:38 +04:00
|
|
|
attach cgfourteen at obio
|
|
|
|
file arch/sparc/dev/cgfourteen.c cgfourteen needs-flag
|
|
|
|
|
1999-08-01 04:23:48 +04:00
|
|
|
device pnozz: fb, bt_dac, rasops8, rasops16, rasops32
|
|
|
|
attach pnozz at sbus
|
|
|
|
file arch/sparc/dev/p9100.c pnozz needs-flag
|
|
|
|
|
1996-03-17 05:00:30 +03:00
|
|
|
file arch/sparc/dev/bt_subr.c bt_dac
|
1997-12-24 02:57:20 +03:00
|
|
|
file arch/sparc/dev/fb.c fb needs-flag
|
1995-04-28 12:19:12 +04:00
|
|
|
|
1996-05-07 05:24:48 +04:00
|
|
|
# device definition in sys/conf/files
|
1998-07-21 21:36:01 +04:00
|
|
|
attach le at obio with le_obio: le24
|
1998-07-28 04:10:23 +04:00
|
|
|
file arch/sparc/dev/if_le_obio.c le_obio
|
1995-04-28 12:19:12 +04:00
|
|
|
|
1998-01-25 22:56:30 +03:00
|
|
|
attach ie at obio with ie_obio
|
|
|
|
file arch/sparc/dev/if_ie_obio.c ie_obio
|
1995-09-25 23:20:27 +03:00
|
|
|
|
1999-07-31 03:58:25 +04:00
|
|
|
attach com at obio with com_obio
|
|
|
|
file arch/sparc/dev/com_obio.c com_obio
|
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device si: scsi, ncr5380sbc
|
1998-01-25 22:56:30 +03:00
|
|
|
attach si at vme
|
1998-02-17 01:12:45 +03:00
|
|
|
device sw: scsi, ncr5380sbc
|
1996-03-17 05:00:30 +03:00
|
|
|
attach sw at obio
|
1996-03-17 16:21:09 +03:00
|
|
|
file arch/sparc/dev/si.c si | sw
|
1995-07-09 01:33:48 +04:00
|
|
|
|
1996-05-30 01:56:38 +04:00
|
|
|
#
|
|
|
|
# Generic Sun stuff
|
|
|
|
#
|
|
|
|
|
1997-10-18 03:59:44 +04:00
|
|
|
file dev/cons.c
|
1995-04-28 12:19:12 +04:00
|
|
|
|
|
|
|
file arch/sparc/fpu/fpu.c
|
|
|
|
file arch/sparc/fpu/fpu_add.c
|
|
|
|
file arch/sparc/fpu/fpu_compare.c
|
|
|
|
file arch/sparc/fpu/fpu_div.c
|
|
|
|
file arch/sparc/fpu/fpu_explode.c
|
|
|
|
file arch/sparc/fpu/fpu_implode.c
|
|
|
|
file arch/sparc/fpu/fpu_mul.c
|
|
|
|
file arch/sparc/fpu/fpu_sqrt.c
|
|
|
|
file arch/sparc/fpu/fpu_subr.c
|
|
|
|
|
1993-10-02 13:22:00 +03:00
|
|
|
# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
|
|
|
|
# identified the exact problem yet. NOOPT_C suffices for now.
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/sparc/sparc/autoconf.c
|
|
|
|
file arch/sparc/sparc/cache.c
|
|
|
|
file arch/sparc/sparc/conf.c
|
1997-03-15 05:36:00 +03:00
|
|
|
file arch/sparc/sparc/emul.c
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/sparc/sparc/in_cksum.c
|
|
|
|
file arch/sparc/sparc/intr.c
|
1997-09-01 01:29:16 +04:00
|
|
|
file arch/sparc/sparc/kgdb_machdep.c kgdb
|
1993-10-02 13:22:00 +03:00
|
|
|
# sparc/sparc/locore.s is handled specially in the makefile,
|
|
|
|
# because it must come first in the "ld" command line.
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/sparc/sparc/locore2.c
|
|
|
|
file arch/sparc/sparc/machdep.c
|
|
|
|
file arch/sparc/sparc/process_machdep.c
|
|
|
|
file arch/sparc/sparc/mem.c
|
1999-02-14 15:36:50 +03:00
|
|
|
file arch/sparc/sparc/promlib.c
|
|
|
|
file arch/sparc/sparc/openfirm.c
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/sparc/sparc/openprom.c
|
|
|
|
file arch/sparc/sparc/pmap.c
|
1993-10-02 13:22:00 +03:00
|
|
|
# the following overrides the generic "sys_process.c"
|
1995-04-28 12:19:12 +04:00
|
|
|
# commented out by deraadt
|
|
|
|
#file arch/sparc/sparc/sys_process.c
|
|
|
|
file arch/sparc/sparc/sys_machdep.c
|
|
|
|
file arch/sparc/sparc/trap.c
|
|
|
|
file arch/sparc/sparc/vm_machdep.c
|
|
|
|
file arch/sparc/sparc/disksubr.c
|
1993-10-02 13:22:00 +03:00
|
|
|
|
1997-09-01 01:29:16 +04:00
|
|
|
file arch/sparc/sparc/db_interface.c ddb | kgdb
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/sparc/sparc/db_trace.c ddb
|
|
|
|
file arch/sparc/sparc/db_disasm.c ddb
|
|
|
|
|
1995-10-05 03:21:35 +03:00
|
|
|
#
|
|
|
|
# Raster Console
|
|
|
|
#
|
1999-04-18 01:26:59 +04:00
|
|
|
include "dev/rcons/files.rcons"
|
|
|
|
include "dev/wsfont/files.wsfont"
|
1995-10-05 03:21:35 +03:00
|
|
|
|
1995-04-28 12:19:12 +04:00
|
|
|
#
|
|
|
|
# Compatibility modules
|
|
|
|
#
|
|
|
|
|
|
|
|
# SVR4 Binary Compatibility (COMPAT_SVR4)
|
1999-04-18 01:26:59 +04:00
|
|
|
include "compat/svr4/files.svr4"
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/sparc/sparc/svr4_machdep.c compat_svr4
|
|
|
|
|
|
|
|
# SunOS Binary Compatibility (COMPAT_SUNOS)
|
1999-04-18 01:26:59 +04:00
|
|
|
include "compat/sunos/files.sunos"
|
1998-09-14 00:34:34 +04:00
|
|
|
file arch/sparc/sparc/sunos_machdep.c compat_sunos
|
|
|
|
|
1999-05-12 16:48:27 +04:00
|
|
|
# NetBSD a.out Binary Compatibility (COMPAT_AOUT)
|
|
|
|
include "compat/aout/files.aout"
|
|
|
|
|
1998-09-14 00:34:34 +04:00
|
|
|
# Binary compatibility with previous NetBSD releases (COMPAT_XX)
|
1999-06-20 20:30:22 +04:00
|
|
|
# Note: SunOS compatibility also uses some of `compat_13_machdep.c'
|
|
|
|
file arch/sparc/sparc/compat_13_machdep.c compat_13 | compat_sunos
|
1996-03-03 02:55:17 +03:00
|
|
|
|
|
|
|
# Miscellaneous
|
|
|
|
file netns/ns_cksum.c ns
|
1996-05-30 01:56:38 +04:00
|
|
|
|
1996-12-29 02:22:07 +03:00
|
|
|
file arch/sparc/dev/md_root.c memory_disk_hooks
|