1998-03-21 14:12:56 +03:00
|
|
|
# $NetBSD: files.sparc,v 1.50 1998/03/21 11:12:56 pk 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
|
|
|
|
|
1998-01-25 22:56:30 +03:00
|
|
|
include "../../../dev/vme/files.vme"
|
1998-03-21 14:12:56 +03:00
|
|
|
attach vme at mainbus with vme_mainbus
|
|
|
|
attach vme 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
|
|
|
|
file arch/sparc/dev/vme_machdep.c vme
|
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
|
1996-04-12 01:05:42 +04:00
|
|
|
file arch/sparc/dev/power.c power
|
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-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
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device sbus { slot = -1, offset = -1 }
|
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-03-21 14:12:56 +03:00
|
|
|
#device xbox class dull {}
|
|
|
|
#attach xbox at sbus
|
|
|
|
#attach sbus at xbox with sbus_xbox
|
|
|
|
#file arch/sparc/dev/xbox.c xbox
|
|
|
|
|
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
|
1997-10-18 03:59:44 +04:00
|
|
|
attach kbd at zs
|
|
|
|
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
|
1997-10-18 03:59:44 +04:00
|
|
|
attach ms at zs
|
|
|
|
file dev/sun/ms.c ms needs-flag
|
|
|
|
|
1996-04-01 02:52:38 +04:00
|
|
|
|
1995-06-02 21:53:51 +04:00
|
|
|
#
|
|
|
|
# Machine-independent SCSI drivers
|
|
|
|
#
|
1997-08-27 15:22:52 +04:00
|
|
|
include "../../../dev/scsipi/files.scsipi"
|
1995-04-28 12:19:12 +04:00
|
|
|
|
|
|
|
major { sd = 7 }
|
|
|
|
major { vnd = 8 }
|
|
|
|
major { cd = 18 }
|
1998-01-25 22:56:30 +03:00
|
|
|
major { xd = 10 }
|
|
|
|
major { xy = 3 }
|
1995-04-28 12:19:12 +04:00
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device dma {}
|
1998-03-21 14:12:56 +03:00
|
|
|
attach dma at sbus with dma_sbus
|
|
|
|
attach dma at obio with dma_obio
|
1998-02-17 01:12:45 +03:00
|
|
|
device ledma {}
|
1996-03-17 05:00:30 +03:00
|
|
|
attach ledma at sbus
|
1996-05-21 23:06:26 +04:00
|
|
|
file arch/sparc/dev/dma.c dma | ledma
|
1998-02-17 01:12:45 +03:00
|
|
|
device lebuffer {}
|
1996-12-07 00:57:57 +03:00
|
|
|
attach lebuffer at sbus
|
|
|
|
file arch/sparc/dev/lebuffer.c lebuffer
|
1995-04-28 12:19:12 +04:00
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device esp: scsi, ncr53c9x
|
1998-03-21 14:12:56 +03:00
|
|
|
##attach esp at sbus, dma, obio
|
|
|
|
attach esp at sbus with esp_sbus
|
|
|
|
attach esp at dma with esp_dma
|
|
|
|
attach esp at obio with esp_obio
|
1996-05-21 23:06:26 +04:00
|
|
|
file arch/sparc/dev/esp.c esp
|
1995-04-28 12:19:12 +04:00
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device audioamd: audio
|
1998-03-21 14:12:56 +03:00
|
|
|
attach audioamd at mainbus with audioamd_mainbus
|
|
|
|
attach audioamd at sbus with audioamd_sbus
|
1996-11-02 02:15:51 +03:00
|
|
|
file arch/sparc/dev/amd7930.c audio
|
|
|
|
file arch/sparc/sparc/amd7930intr.s audio
|
|
|
|
|
1996-03-17 05:00:30 +03:00
|
|
|
# Brooktree DAC attribute
|
|
|
|
define bt_dac
|
|
|
|
|
1997-12-24 02:57:20 +03:00
|
|
|
# Include /dev/fb driver only if a framebuffer card is included
|
|
|
|
define fb
|
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device bwtwo: fb
|
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
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device cgtwo: fb
|
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
|
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device cgthree: bt_dac, fb
|
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
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device cgfour: bt_dac, fb
|
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
|
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device cgsix: bt_dac, fb
|
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
|
1993-10-02 13:22:00 +03:00
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device cgeight: bt_dac, fb
|
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
|
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device tcx: bt_dac, fb
|
1996-06-19 17:21:09 +04:00
|
|
|
attach tcx at sbus
|
|
|
|
file arch/sparc/dev/tcx.c tcx needs-flag
|
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device cgfourteen: fb
|
1996-10-01 02:43:38 +04:00
|
|
|
attach cgfourteen at obio
|
|
|
|
file arch/sparc/dev/cgfourteen.c cgfourteen 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-03-21 14:12:56 +03:00
|
|
|
attach le at sbus with le_sbus
|
|
|
|
attach le at ledma with le_ledma
|
|
|
|
attach le at lebuffer with le_lebuffer
|
|
|
|
attach le at obio with le_obio
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/sparc/dev/if_le.c le
|
|
|
|
|
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
|
|
|
|
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-11-13 02:58:01 +03:00
|
|
|
# Efficient Networks, Inc. ATM interface
|
|
|
|
# device declaration in sys/conf/files
|
1996-06-22 06:02:48 +04:00
|
|
|
attach en at sbus with en_sbus
|
1996-11-13 02:58:01 +03:00
|
|
|
file arch/sparc/dev/if_en_sbus.c en_sbus
|
1996-06-22 06:02:48 +04:00
|
|
|
|
1997-03-12 09:43:25 +03:00
|
|
|
# Qlogic ISP 10x0 (Sbus) family
|
|
|
|
# device declaration in sys/conf/files
|
|
|
|
attach isp at sbus with isp_sbus
|
|
|
|
file arch/sparc/dev/isp_sbus.c isp_sbus
|
|
|
|
|
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
|
|
|
|
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
|
|
|
|
|
|
|
file kludge_for_in_proto.c hy needs-flag
|
1995-04-28 12:19:12 +04: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
|
|
|
|
#
|
|
|
|
include "../../../dev/rcons/files.rcons"
|
|
|
|
|
1995-04-28 12:19:12 +04:00
|
|
|
#
|
|
|
|
# Compatibility modules
|
|
|
|
#
|
|
|
|
|
|
|
|
# SVR4 Binary Compatibility (COMPAT_SVR4)
|
|
|
|
include "../../../compat/svr4/files.svr4"
|
|
|
|
file arch/sparc/sparc/svr4_machdep.c compat_svr4
|
1995-05-08 23:14:21 +04:00
|
|
|
file arch/sparc/sparc/sunos_machdep.c compat_sunos
|
1995-04-28 12:19:12 +04:00
|
|
|
|
|
|
|
# SunOS Binary Compatibility (COMPAT_SUNOS)
|
|
|
|
include "../../../compat/sunos/files.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
|
|
|
major {md = 5}
|
|
|
|
file arch/sparc/dev/md_root.c memory_disk_hooks
|