2002-04-22 13:41:19 +04:00
|
|
|
# $NetBSD: files.sparc,v 1.112 2002/04/22 09:41:21 augustss 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
|
|
|
|
|
2001-12-05 02:14:48 +03:00
|
|
|
defflag opt_sparc_arch.h SUN4
|
|
|
|
defflag opt_sparc_arch.h SUN4_MMU3L
|
|
|
|
defflag opt_sparc_arch.h SUN4C
|
|
|
|
defflag opt_sparc_arch.h SUN4M
|
|
|
|
defflag opt_sparc_arch.h SUN4U
|
2001-12-11 07:25:58 +03:00
|
|
|
defflag opt_sparc_arch.h MSIIEP
|
2001-12-04 03:05:04 +03:00
|
|
|
|
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
|
|
|
|
2002-03-28 22:50:20 +03:00
|
|
|
device msiiep {}
|
|
|
|
attach msiiep at mainbus
|
|
|
|
|
2001-12-11 07:25:58 +03:00
|
|
|
include "dev/i2o/files.i2o"
|
|
|
|
include "dev/pci/files.pci"
|
2002-03-28 22:50:20 +03:00
|
|
|
device mspcic {}: pcibus
|
|
|
|
attach mspcic at msiiep
|
|
|
|
file arch/sparc/sparc/msiiep.c msiiep | mspcic
|
|
|
|
file arch/sparc/sparc/pci_machdep.c msiiep | mspcic
|
2001-12-11 07:25:58 +03:00
|
|
|
|
|
|
|
device ebus {[addr = -1]}: pcibus
|
|
|
|
attach ebus at pci
|
|
|
|
file arch/sparc/dev/ebus.c ebus
|
|
|
|
|
|
|
|
device rtc
|
|
|
|
attach rtc at ebus with rtc_ebus
|
|
|
|
file arch/sparc/dev/rtc.c rtc_ebus
|
|
|
|
|
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
|
|
|
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag BLINK
|
2000-11-14 14:34:51 +03:00
|
|
|
|
2000-02-25 21:24:40 +03:00
|
|
|
device auxiotwo
|
|
|
|
attach auxiotwo at obio with auxiotwo_obio
|
|
|
|
file arch/sparc/sparc/auxiotwo.c
|
|
|
|
|
2000-11-11 14:19:52 +03:00
|
|
|
device clock: mk48txx
|
1998-03-21 14:12:56 +03:00
|
|
|
attach clock at mainbus with clock_mainbus
|
|
|
|
attach clock at obio with clock_obio
|
2002-03-28 14:54:16 +03:00
|
|
|
file arch/sparc/sparc/mkclock.c clock
|
1996-04-12 01:05:42 +04:00
|
|
|
|
2000-11-11 14:19:52 +03:00
|
|
|
device oclock: intersil7170
|
1996-03-17 05:00:30 +03:00
|
|
|
attach oclock at obio
|
2002-03-28 14:54:16 +03:00
|
|
|
file arch/sparc/sparc/oclock.c oclock
|
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
|
2002-03-28 14:54:16 +03:00
|
|
|
attach timer at msiiep with timer_msiiep
|
|
|
|
file arch/sparc/sparc/timer.c timer
|
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
|
2002-03-28 14:54:16 +03:00
|
|
|
file arch/sparc/sparc/eeprom.c eeprom
|
2000-11-11 14:19:52 +03:00
|
|
|
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/sparc/sparc/clock.c
|
2000-11-11 14:19:52 +03:00
|
|
|
file dev/clock_subr.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
|
|
|
|
|
1999-08-09 22:34:43 +04:00
|
|
|
device tctrl
|
|
|
|
attach tctrl at obio
|
|
|
|
file arch/sparc/dev/tctrl.c tctrl needs-flag
|
|
|
|
|
2000-08-23 01:29:49 +04:00
|
|
|
include "dev/sun/files.sun"
|
|
|
|
|
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
|
2000-02-25 19:02:49 +03:00
|
|
|
file arch/sparc/dev/sbus.c sbus needs-flag
|
1993-10-02 13:22:00 +03:00
|
|
|
|
2002-03-12 07:48:28 +03:00
|
|
|
attach audiocs at ebus with audiocs_ebus
|
|
|
|
file dev/ebus/cs4231_ebus.c audiocs_ebus
|
|
|
|
|
1999-08-09 22:34:43 +04:00
|
|
|
device tpcic: pcmciabus
|
|
|
|
attach tpcic at sbus
|
|
|
|
file arch/sparc/dev/ts102.c tpcic
|
|
|
|
|
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
|
2000-08-23 01:29:49 +04:00
|
|
|
#file dev/sun/event.c zsevent
|
1997-10-18 03:59:44 +04:00
|
|
|
|
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
|
2000-10-13 01:27:13 +04:00
|
|
|
file dev/sun/sunkbd.c kbd
|
2000-03-19 17:19:17 +03:00
|
|
|
file arch/sparc/dev/kd.c
|
1997-10-18 03:59:44 +04:00
|
|
|
|
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
|
2000-10-13 01:27:13 +04:00
|
|
|
file dev/sun/sunms.c ms
|
1997-10-18 03:59:44 +04:00
|
|
|
|
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
|
|
|
|
2000-03-14 18:56:51 +03:00
|
|
|
# RAIDframe
|
|
|
|
major { raid = 25 }
|
|
|
|
|
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
|
|
|
|
2002-04-22 13:41:19 +04:00
|
|
|
device audioamd: audiobus, am7930
|
2000-05-02 10:35:12 +04:00
|
|
|
attach audioamd at mainbus with audioamd_mainbus
|
|
|
|
attach audioamd at sbus with audioamd_sbus
|
|
|
|
file arch/sparc/dev/audioamd.c audioamd
|
2000-05-05 18:19:25 +04:00
|
|
|
file arch/sparc/sparc/amd7930intr.s audioamd
|
1996-11-02 02:15:51 +03:00
|
|
|
|
1998-03-21 14:12:56 +03:00
|
|
|
attach bwtwo at obio with bwtwo_obio
|
1999-08-10 09:04:08 +04:00
|
|
|
file arch/sparc/dev/bwtwo_obio.c bwtwo_obio & obio
|
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
|
|
|
|
|
1998-03-21 14:12:56 +03:00
|
|
|
attach cgthree at obio with cgthree_obio
|
2000-08-23 01:29:49 +04:00
|
|
|
file arch/sparc/dev/cgthree_obio.c cgthree_obio & obio
|
1993-10-02 13:22:00 +03:00
|
|
|
|
2000-08-23 01:29:49 +04:00
|
|
|
device cgfour: bt_dac, fb, rasops8, pfour
|
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-03-21 14:12:56 +03:00
|
|
|
attach cgsix at obio with cgsix_obio
|
1998-09-23 12:49:46 +04:00
|
|
|
file arch/sparc/dev/cgsix_obio.c cgsix_obio & obio
|
1993-10-02 13:22:00 +03:00
|
|
|
|
2000-08-23 01:29:49 +04:00
|
|
|
device cgeight: bt_dac, fb, rasops24, pfour
|
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 cgfourteen: fb, rasops32
|
1996-10-01 02:43:38 +04:00
|
|
|
attach cgfourteen at obio
|
|
|
|
file arch/sparc/dev/cgfourteen.c cgfourteen needs-flag
|
|
|
|
|
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
|
|
|
|
|
2001-12-11 07:25:58 +03:00
|
|
|
attach com at ebus with com_ebus
|
|
|
|
file arch/sparc/dev/com_ebus.c com_ebus
|
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device sw: scsi, ncr5380sbc
|
1996-03-17 05:00:30 +03:00
|
|
|
attach sw at obio
|
2000-06-26 23:54:08 +04:00
|
|
|
file arch/sparc/dev/sw.c 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
|
|
|
|
|
|
|
|
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
|
2001-01-17 03:07:18 +03:00
|
|
|
file arch/sparc/sparc/procfs_machdep.c procfs
|
1995-04-28 12:19:12 +04:00
|
|
|
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"
|
2001-06-08 08:49:45 +04:00
|
|
|
file arch/sparc/sparc/svr4_sigcode.s compat_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"
|
2001-06-08 08:49:45 +04:00
|
|
|
file arch/sparc/sparc/sunos_sigcode.s compat_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
|
|
|
|
2002-01-22 00:56:57 +03:00
|
|
|
file dev/md_root.c memory_disk_hooks
|