device auxreg
attach auxreg at mainbus with auxreg_mainbus
attach auxreg at obio with auxreg_obio
file arch/sparc/sparc/auxreg.c
defflag BLINK
device auxiotwo
attach auxiotwo at obio with auxiotwo_obio
file arch/sparc/sparc/auxiotwo.c
device clock: mk48txx
attach clock at mainbus with clock_mainbus
attach clock at obio with clock_obio
attach clock at bootbus with clock_bootbus
file arch/sparc/sparc/mkclock.c clock
device oclock: intersil7170
attach oclock at obio
file arch/sparc/sparc/oclock.c oclock
device timer
attach timer at mainbus with timer_mainbus
attach timer at obio with timer_obio
attach timer at msiiep with timer_msiiep
file arch/sparc/sparc/timer.c timer & !msiiep
file arch/sparc/sparc/timer_sun4.c timer & (sun4 | sun4c)
file arch/sparc/sparc/timer_sun4m.c timer & sun4m & !msiiep
file arch/sparc/sparc/timer_msiiep.c timer & msiiep
device eeprom
attach eeprom at obio
file arch/sparc/sparc/eeprom.c eeprom
file arch/sparc/sparc/clock.c
device power
attach power at obio
file arch/sparc/dev/power.c power needs-flag
device cpu
attach cpu at mainbus with cpu_mainbus
attach cpu at cpuunit with cpu_cpuunit
file arch/sparc/sparc/cpu.c
device clkctrl
attach clkctrl at obio
file arch/sparc/sparc/clkctrl.c clkctrl
device memreg
attach memreg at mainbus with memreg_mainbus
attach memreg at obio with memreg_obio
file arch/sparc/sparc/memreg.c
device eccmemctl
attach eccmemctl at mainbus
file arch/sparc/sparc/memecc.c eccmemctl
device fdc {}
attach fdc at mainbus with fdc_mainbus
attach fdc at obio with fdc_obio
device fd: disk
attach fd at fdc
file arch/sparc/dev/fd.c fdc | fd needs-flag
file arch/sparc/sparc/bsd_fdintr.s fdc
include "dev/sbus/files.sbus"
attach sbus at mainbus with sbus_mainbus
attach sbus at iommu with sbus_iommu
file arch/sparc/dev/sbus.c sbus needs-flag
attach audiocs at ebus with audiocs_ebus
file dev/ebus/cs4231_ebus.c audiocs_ebus
device tslot: pcmciabus
attach tslot at sbus
file arch/sparc/dev/ts102.c tslot
# PCMCIA bus
include "dev/pcmcia/files.pcmcia"
include "dev/ata/files.ata"
#
# Console related stuff
#
file arch/sparc/dev/kd.c # console
attach pckbc at obio with pckbc_obio: pckbport_machdep_cnattach
attach pckbc at ebus with pckbc_ebus: pckbport_machdep_cnattach
file arch/sparc/dev/pckbc_js.c pckbc_obio | pckbc_ebus
# sun keyboard at a serial port
attach kbd at zs with kbd_zs
file dev/sun/kbd_zs.c kbd_zs # kbd lower layer
# sun keyboard at a tty line discipline
# only used by sparc64, but we can test-compile it here
attach kbd at zstty with kbd_tty
file dev/sun/sunkbd.c kbd_tty # kbd lower layer
# shared middle layer for serial keyboard
file dev/sun/kbdsun.c kbd_zs | kbd_tty # kbd middle layer
# PC/AT keyboard at 8042 (pckbc) for Mr.Coffee
attach kbd at pckbport with kbd_pckbport
file arch/sparc/dev/kbd_pckbport.c kbd_pckbport # kbd mid/lower layers
# sun (mouse systems) mouse at a serial port
attach ms at zs with ms_zs
file dev/sun/ms_zs.c ms_zs # mouse lower layer
# sun (mouse systems) mouse at a tty line discipline
# only used by sparc64, but we can test-compile it here
attach ms at zstty with ms_tty
file dev/sun/sunms.c ms_tty # mouse lower layer
# XXX: middle layer for sun (mouse systems) serial mice consists of
# just one function in dev/sun/ms.c (upper layer). Split it out?
# PS/2 mouse at 8042 (pckbc) for Mr.Coffee
attach ms at pckbport with ms_pckbport
file arch/sparc/dev/ms_pckbport.c ms_pckbport # lower/middle layers
#
# Stack-less Just-In-Time compiler
#
include "external/bsd/sljit/conf/files.sljit"
#
# Machine-independent SCSI drivers
#
include "dev/scsipi/files.scsipi"
attach dma at obio with dma_obio
file arch/sparc/dev/dma_obio.c dma_obio
attach esp at obio with esp_obio
file arch/sparc/dev/esp_obio.c esp_obio
device audioamd: audiobus, am7930
attach audioamd at mainbus with audioamd_mainbus
attach audioamd at obio with audioamd_obio
attach audioamd at sbus with audioamd_sbus
file arch/sparc/dev/audioamd.c audioamd
device apc
attach apc at sbus
file arch/sparc/dev/apc.c apc
attach bwtwo at obio with bwtwo_obio
file arch/sparc/dev/bwtwo_obio.c bwtwo_obio & obio