2001-03-25 17:06:52 +04:00
|
|
|
# $NetBSD: files.hpcmips,v 1.53 2001/03/25 13:06:53 takemura Exp $
|
1999-09-16 16:23:18 +04:00
|
|
|
|
|
|
|
# maxpartitions must be first item in files.${ARCH}.
|
|
|
|
maxpartitions 8
|
|
|
|
|
|
|
|
maxusers 2 8 64
|
|
|
|
|
|
|
|
#
|
|
|
|
# Machine-independent SCSI drivers
|
|
|
|
#
|
|
|
|
|
|
|
|
include "dev/scsipi/files.scsipi"
|
|
|
|
major {sd = 3}
|
|
|
|
major {st = 4}
|
|
|
|
major {cd = 5}
|
|
|
|
|
|
|
|
#
|
|
|
|
# Machine-independent ATA drivers
|
|
|
|
#
|
|
|
|
|
|
|
|
include "dev/ata/files.ata"
|
|
|
|
major {wd = 1}
|
|
|
|
|
|
|
|
#
|
|
|
|
# Bus-independent devices
|
|
|
|
#
|
|
|
|
device mainbus { } # no locators
|
|
|
|
attach mainbus at root
|
|
|
|
|
|
|
|
device cpu # not optional
|
|
|
|
attach cpu at mainbus
|
|
|
|
file arch/hpcmips/hpcmips/cpu.c cpu
|
|
|
|
|
|
|
|
# CPU support option headers
|
|
|
|
defopt VR41X1
|
1999-11-21 10:04:31 +03:00
|
|
|
defopt TX39XX
|
1999-09-16 16:23:18 +04:00
|
|
|
|
|
|
|
#
|
|
|
|
# CPU-dependent files
|
|
|
|
#
|
1999-11-21 10:04:31 +03:00
|
|
|
file arch/hpcmips/vr/vr.c vr41x1 # NEC VR4000 series
|
2000-01-28 18:08:36 +03:00
|
|
|
file arch/hpcmips/vr/vr_idle.S vr41x1
|
1999-11-21 10:04:31 +03:00
|
|
|
file arch/hpcmips/tx/tx39.c tx39xx # TOSHIBA TX3900 series
|
1999-09-16 16:23:18 +04:00
|
|
|
|
2000-01-09 10:57:43 +03:00
|
|
|
file arch/mips/mips/fp.S softfloat
|
|
|
|
|
1999-09-16 16:23:18 +04:00
|
|
|
file arch/hpcmips/hpcmips/autoconf.c
|
|
|
|
file arch/hpcmips/hpcmips/conf.c
|
|
|
|
file arch/hpcmips/hpcmips/machdep.c
|
|
|
|
file arch/hpcmips/hpcmips/mainbus.c
|
|
|
|
file arch/hpcmips/hpcmips/bus_space.c
|
2000-03-25 18:08:26 +03:00
|
|
|
file arch/hpcmips/hpcmips/bus_dma.c
|
2001-01-17 03:07:18 +03:00
|
|
|
file arch/hpcmips/hpcmips/procfs_machdep.c procfs
|
1999-09-16 16:23:18 +04:00
|
|
|
|
2001-02-05 20:39:45 +03:00
|
|
|
#
|
|
|
|
# H/PC Platform common files.
|
|
|
|
#
|
2001-01-28 05:52:15 +03:00
|
|
|
include "arch/hpc/conf/files.hpc"
|
2001-02-21 19:34:00 +03:00
|
|
|
file arch/hpc/hpc/disksubr.c disk
|
2001-02-22 21:37:54 +03:00
|
|
|
include "dev/hpc/files.bicons"
|
|
|
|
include "dev/hpc/files.hpcfb"
|
|
|
|
include "dev/hpc/files.hpckbd"
|
|
|
|
include "dev/hpc/files.hpctp"
|
2001-01-28 05:52:15 +03:00
|
|
|
|
1999-09-16 16:23:18 +04:00
|
|
|
# Console autoconfiguration code: selects between a framebuffers
|
|
|
|
file dev/cons.c
|
|
|
|
|
|
|
|
#
|
|
|
|
# Workstation Console
|
|
|
|
#
|
|
|
|
include "dev/wscons/files.wscons"
|
2000-05-09 01:57:56 +04:00
|
|
|
|
2000-07-02 14:01:30 +04:00
|
|
|
#
|
|
|
|
# power management
|
|
|
|
#
|
2000-07-30 08:41:15 +04:00
|
|
|
include "arch/hpcmips/dev/apm/files.apm"
|
|
|
|
device hpcapm: apmdevif
|
2000-07-02 14:01:30 +04:00
|
|
|
attach hpcapm at mainbus
|
|
|
|
file arch/hpcmips/dev/hpcapm.c hpcapm
|
|
|
|
|
1999-09-16 16:23:18 +04:00
|
|
|
#
|
|
|
|
# ISA bus support
|
|
|
|
#
|
|
|
|
include "dev/isa/files.isa"
|
|
|
|
|
|
|
|
#
|
|
|
|
# Vr41x1 integrated peripherals
|
|
|
|
#
|
2001-02-26 12:34:22 +03:00
|
|
|
device vrip { [addr=-1], [size=-1], [addr2=-1], [size2=-1], [intr=-1], [pwctl=-1], [platform = -1] }
|
1999-09-16 16:23:18 +04:00
|
|
|
attach vrip at mainbus
|
1999-12-04 17:23:35 +03:00
|
|
|
file arch/hpcmips/vr/vrip.c vrip needs-flag
|
1999-09-16 16:23:18 +04:00
|
|
|
|
2000-10-03 07:13:04 +04:00
|
|
|
device vrbcu
|
|
|
|
attach vrbcu at vrip
|
|
|
|
file arch/hpcmips/vr/bcu_vrip.c vrbcu needs-flag
|
|
|
|
|
1999-09-16 16:23:18 +04:00
|
|
|
device vrrtc
|
|
|
|
attach vrrtc at vrip
|
2000-10-03 07:13:04 +04:00
|
|
|
file arch/hpcmips/vr/rtc.c vrrtc needs-flag
|
1999-09-16 16:23:18 +04:00
|
|
|
|
|
|
|
device vrcmu
|
|
|
|
attach vrcmu at vrip
|
2000-10-03 07:13:04 +04:00
|
|
|
file arch/hpcmips/vr/cmu.c vrcmu needs-flag
|
1999-09-16 16:23:18 +04:00
|
|
|
|
|
|
|
device vrisabif {[platform = -1], [isaportoffset=0], [isamemoffset=0]} # GIU attachment
|
|
|
|
device gpbusif {[platform = -1], [comctrl = -1], [button0 = -1], [button1 = -1], [button2 = -1], [button3 = -1], [button4 = -1], [button5 = -1], [button6 = -1], [button7 = -1], [button8 = -1], [button9 = -1], [button10 = -1], [button11 = -1]}
|
2000-10-17 15:37:20 +04:00
|
|
|
device newgpbusif { [platform = -1], [id = -1], [port = -1], [active = 1], [level = -1], [initvalue = -1] }
|
1999-09-16 16:23:18 +04:00
|
|
|
|
1999-12-23 09:26:08 +03:00
|
|
|
device vrgiu: vrisabif, gpbusif, newgpbusif
|
1999-09-16 16:23:18 +04:00
|
|
|
attach vrgiu at vrip
|
|
|
|
file arch/hpcmips/vr/vrgiu.c vrgiu
|
|
|
|
|
|
|
|
device gpbus
|
|
|
|
attach gpbus at gpbusif
|
|
|
|
file arch/hpcmips/vr/gpbus.c gpbus
|
|
|
|
|
|
|
|
device vrisab: isabus
|
|
|
|
attach vrisab at vrisabif
|
|
|
|
file arch/hpcmips/isa/isa_machdep.c vrisab
|
|
|
|
|
1999-12-23 09:26:08 +03:00
|
|
|
device pwctl
|
|
|
|
attach pwctl at newgpbusif with pwctl_vrgiu
|
|
|
|
file arch/hpcmips/vr/pwctl_vrgiu.c pwctl_vrgiu
|
|
|
|
|
|
|
|
device button
|
|
|
|
attach button at newgpbusif with button_vrgiu
|
|
|
|
file arch/hpcmips/vr/button_vrgiu.c button_vrgiu
|
|
|
|
|
2000-09-21 18:17:29 +04:00
|
|
|
device vrkiu: hpckbdif
|
1999-09-16 16:23:18 +04:00
|
|
|
attach vrkiu at vrip
|
1999-10-24 12:37:28 +04:00
|
|
|
file arch/hpcmips/vr/vrkiu.c vrkiu needs-flag
|
2000-03-12 15:08:16 +03:00
|
|
|
|
1999-09-16 16:23:18 +04:00
|
|
|
device vrpmu
|
|
|
|
attach vrpmu at vrip
|
1999-12-09 04:56:23 +03:00
|
|
|
file arch/hpcmips/vr/vrpmu.c vrpmu needs-flag
|
1999-09-16 16:23:18 +04:00
|
|
|
|
1999-11-28 07:29:37 +03:00
|
|
|
device vrdsu
|
|
|
|
attach vrdsu at vrip
|
|
|
|
file arch/hpcmips/vr/vrdsu.c vrdsu needs-flag
|
|
|
|
|
2000-10-03 07:13:04 +04:00
|
|
|
device vrled
|
|
|
|
attach vrled at vrip
|
|
|
|
file arch/hpcmips/vr/vrled.c vrled needs-flag
|
|
|
|
|
1999-12-28 06:15:16 +03:00
|
|
|
device vrpiu: wsmousedev
|
2000-01-10 17:07:58 +03:00
|
|
|
attach vrpiu at vrip: tpcalib
|
1999-12-28 06:15:16 +03:00
|
|
|
file arch/hpcmips/vr/vrpiu.c vrpiu
|
|
|
|
|
2000-06-12 03:34:31 +04:00
|
|
|
attach ohci at vrip with ohci_vrip
|
|
|
|
file arch/hpcmips/dev/ohci_vrip.c ohci_vrip
|
|
|
|
|
2001-03-25 17:06:52 +04:00
|
|
|
defopt opt_mq200.h MQ200_DEBUG MQ200_USECRT
|
2000-07-22 12:53:33 +04:00
|
|
|
device mqvideo: hpcfbif
|
|
|
|
attach mqvideo at vrip with mqvideo_vrip
|
|
|
|
file arch/hpcmips/vr/mq200_vrip.c mqvideo_vrip
|
|
|
|
file arch/hpcmips/dev/mq200.c mqvideo
|
2001-03-25 17:06:52 +04:00
|
|
|
file arch/hpcmips/dev/mq200subr.c mqvideo
|
|
|
|
file arch/hpcmips/dev/mq200debug.c mqvideo
|
|
|
|
file arch/hpcmips/dev/mq200machdep.c mqvideo
|
2000-07-22 12:53:33 +04:00
|
|
|
|
2000-10-02 07:57:53 +04:00
|
|
|
device ite8181video: hpcfbif
|
|
|
|
attach ite8181video at vrip with ite8181video_vrip
|
|
|
|
file arch/hpcmips/vr/ite8181_vrip.c ite8181video_vrip
|
|
|
|
file arch/hpcmips/dev/ite8181.c ite8181video
|
|
|
|
|
2001-02-26 12:34:22 +03:00
|
|
|
device vrc4172pwm
|
|
|
|
attach vrc4172pwm at vrip
|
|
|
|
file arch/hpcmips/vr/vrc4172pwm.c vrc4172pwm needs-flag
|
|
|
|
|
1999-11-21 10:04:31 +03:00
|
|
|
#
|
|
|
|
# TOSHIBA TX3912/3922
|
|
|
|
#
|
|
|
|
defopt TX39_DEBUG
|
|
|
|
defopt TX39_WATCHDOGTIMER
|
|
|
|
defopt TX39ICUDEBUG
|
1999-12-08 18:54:11 +03:00
|
|
|
defopt TX39CLKDEBUG
|
1999-11-21 10:04:31 +03:00
|
|
|
defopt TX39BIUDEBUG
|
|
|
|
defopt TX39POWERDEBUG
|
|
|
|
defopt TX39UARTDEBUG
|
1999-12-08 18:54:11 +03:00
|
|
|
defopt USE_POLL
|
1999-11-21 10:04:31 +03:00
|
|
|
|
2000-10-22 14:42:31 +04:00
|
|
|
device txsim {[platform = -1]}
|
1999-11-21 10:04:31 +03:00
|
|
|
device txcsbusif {[platform = -1]}
|
|
|
|
device txcomif {[slot = -1]}
|
2000-01-07 18:19:12 +03:00
|
|
|
device txsibif {[slot = -1]}
|
2000-01-12 17:56:17 +03:00
|
|
|
device ucbif { }
|
2000-01-13 20:53:35 +03:00
|
|
|
device irif { }
|
2000-10-22 14:42:31 +04:00
|
|
|
device txiomanif {[evtype = -1], [id = -1], [group = -1], [port = -1], [edge = -1], [initial = -1]}
|
1999-11-21 10:04:31 +03:00
|
|
|
|
|
|
|
attach txsim at mainbus
|
|
|
|
file arch/hpcmips/tx/txsim.c txsim
|
2000-01-12 17:56:17 +03:00
|
|
|
file arch/hpcmips/tx/txsnd.c txsim
|
1999-11-21 10:04:31 +03:00
|
|
|
|
|
|
|
device tx39biu: txcsbusif
|
|
|
|
attach tx39biu at txsim
|
|
|
|
file arch/hpcmips/tx/tx39biu.c tx39biu
|
|
|
|
|
|
|
|
device txcsbus {[regcs=-1], [regcsbase=0], [regcssize=-1], [regcswidth=-1], [iocs=-1], [iocsbase=0], [iocssize=-1], [iocswidth=-1], [memcs=-1], [memcsbase=0], [memcssize=-1], [memcswidth=-1], [irq1=-1], [irq2=-1], [irq3=-1]}
|
|
|
|
attach txcsbus at txcsbusif
|
|
|
|
file arch/hpcmips/tx/txcsbus.c txcsbus
|
|
|
|
|
|
|
|
device tx39icu
|
|
|
|
attach tx39icu at txsim
|
|
|
|
file arch/hpcmips/tx/tx39icu.c tx39icu
|
|
|
|
|
|
|
|
device tx39power
|
|
|
|
attach tx39power at txsim
|
|
|
|
file arch/hpcmips/tx/tx39power.c tx39power
|
|
|
|
|
|
|
|
device tx39clock
|
|
|
|
attach tx39clock at txsim
|
|
|
|
file arch/hpcmips/tx/tx39clock.c tx39clock
|
|
|
|
|
2000-05-02 21:50:51 +04:00
|
|
|
device tx3912video: hpcfbif
|
1999-11-21 10:04:31 +03:00
|
|
|
attach tx3912video at txsim
|
|
|
|
file arch/hpcmips/tx/tx3912video.c tx3912video
|
|
|
|
|
2000-10-22 14:42:31 +04:00
|
|
|
device tx39io
|
1999-11-21 10:04:31 +03:00
|
|
|
attach tx39io at txsim
|
|
|
|
file arch/hpcmips/tx/tx39io.c tx39io
|
|
|
|
|
2000-10-22 14:42:31 +04:00
|
|
|
device txioman: txiomanif
|
|
|
|
attach txioman at txsim
|
2000-01-17 00:47:00 +03:00
|
|
|
file arch/hpcmips/tx/txioman.c txioman
|
|
|
|
|
2000-10-22 14:42:31 +04:00
|
|
|
device txin
|
|
|
|
attach txin at txiomanif
|
|
|
|
file arch/hpcmips/tx/txioman_in.c txin
|
|
|
|
|
|
|
|
device txout
|
|
|
|
attach txout at txiomanif
|
|
|
|
file arch/hpcmips/tx/txioman_out.c txout
|
|
|
|
|
2000-01-07 18:19:12 +03:00
|
|
|
device tx39sib: txsibif
|
|
|
|
attach tx39sib at txsim
|
|
|
|
file arch/hpcmips/tx/tx39sib.c tx39sib
|
|
|
|
|
2000-01-12 17:56:17 +03:00
|
|
|
# PHILIPS UCB1200 / TOSHIBA TC35413F (modem/audio analog front-end)
|
|
|
|
device ucb: ucbif
|
|
|
|
attach ucb at txsibif
|
2000-01-07 18:19:12 +03:00
|
|
|
file arch/hpcmips/dev/ucb1200.c ucb
|
|
|
|
|
2000-01-12 17:56:17 +03:00
|
|
|
device ucbtp: wsmousedev
|
|
|
|
attach ucbtp at ucbif: tpcalib
|
|
|
|
file arch/hpcmips/dev/ucbtp.c ucbtp
|
|
|
|
|
|
|
|
device ucbsnd
|
|
|
|
attach ucbsnd at ucbif
|
2000-03-03 22:54:34 +03:00
|
|
|
file arch/hpcmips/dev/ucbsnd.c ucbsnd needs-flag
|
2000-01-07 18:19:12 +03:00
|
|
|
|
2000-10-22 14:42:31 +04:00
|
|
|
device ucbio
|
2000-02-27 19:34:13 +03:00
|
|
|
attach ucbio at ucbif
|
|
|
|
file arch/hpcmips/dev/ucbio.c ucbio
|
|
|
|
|
1999-11-21 10:04:31 +03:00
|
|
|
device tx39uart: txcomif
|
|
|
|
attach tx39uart at txsim
|
|
|
|
file arch/hpcmips/tx/tx39uart.c tx39uart needs-flag
|
|
|
|
|
2000-01-13 20:53:35 +03:00
|
|
|
device txcom: irif
|
1999-11-21 10:04:31 +03:00
|
|
|
attach txcom at txcomif
|
|
|
|
file arch/hpcmips/tx/txcom.c txcom
|
|
|
|
|
2000-01-13 20:53:35 +03:00
|
|
|
device tx39ir
|
|
|
|
attach tx39ir at irif
|
|
|
|
file arch/hpcmips/tx/tx39ir.c tx39ir
|
|
|
|
|
2000-01-12 17:56:17 +03:00
|
|
|
# ITE IT8368E PCMCIA / TOSHIBA TC6345AF buffer chip (PCMCIA)
|
1999-11-21 10:04:31 +03:00
|
|
|
device it8368e: pcmciabus
|
|
|
|
attach it8368e at txcsbus
|
2000-10-22 14:42:31 +04:00
|
|
|
file arch/hpcmips/dev/it8368.c it8368e
|
1999-11-21 10:04:31 +03:00
|
|
|
|
1999-12-08 18:54:11 +03:00
|
|
|
# MITUBISHI M38813 keryboard controller
|
2000-09-21 18:17:29 +04:00
|
|
|
device m38813c: hpckbdif
|
1999-12-08 18:54:11 +03:00
|
|
|
attach m38813c at txcsbus
|
|
|
|
file arch/hpcmips/dev/m38813c.c m38813c needs-flag
|
|
|
|
|
2000-01-17 00:47:00 +03:00
|
|
|
# PHILIPS 74ALVC16241 / TOSHIBA TC5165BTFS buffer driver (keyboard)
|
2000-09-21 18:17:29 +04:00
|
|
|
device tc5165buf: hpckbdif
|
1999-12-12 20:11:20 +03:00
|
|
|
attach tc5165buf at txcsbus
|
|
|
|
file arch/hpcmips/dev/tc5165buf.c tc5165buf needs-flag
|
|
|
|
|
1999-11-21 10:04:31 +03:00
|
|
|
# TOSHIBA TC6358E(Plum2)
|
|
|
|
device plumif {}
|
|
|
|
device plum: plumif
|
|
|
|
attach plum at txcsbus
|
|
|
|
file arch/hpcmips/dev/plum.c plum
|
|
|
|
|
|
|
|
device plumicu
|
|
|
|
attach plumicu at plumif
|
|
|
|
file arch/hpcmips/dev/plumicu.c plumicu
|
|
|
|
|
|
|
|
device plumpower
|
|
|
|
attach plumpower at plumif
|
|
|
|
file arch/hpcmips/dev/plumpower.c plumpower
|
|
|
|
|
2000-05-02 21:50:51 +04:00
|
|
|
device plumvideo: hpcfbif
|
1999-11-21 10:04:31 +03:00
|
|
|
attach plumvideo at plumif
|
|
|
|
file arch/hpcmips/dev/plumvideo.c plumvideo
|
|
|
|
|
|
|
|
device plumpcmcia: pcmciabus
|
|
|
|
attach plumpcmcia at plumif
|
|
|
|
file arch/hpcmips/dev/plumpcmcia.c plumpcmcia
|
|
|
|
|
|
|
|
device plumiobusif {[platform = -1], [slot = -1]}
|
|
|
|
device plumiobus: plumiobusif
|
|
|
|
attach plumiobus at plumif
|
|
|
|
file arch/hpcmips/dev/plumiobus.c plumiobus
|
|
|
|
|
|
|
|
device plumisab: isabus
|
|
|
|
attach plumisab at plumiobusif
|
|
|
|
file arch/hpcmips/isa/plumisa_machdep.c plumisab
|
|
|
|
|
1999-12-08 18:54:11 +03:00
|
|
|
# OHCI USB controller
|
2000-03-25 18:08:26 +03:00
|
|
|
attach ohci at plumif with plumohci
|
2000-10-04 17:53:54 +04:00
|
|
|
file arch/hpcmips/dev/plumohci.c plumohci needs-flag
|
1999-12-08 18:54:11 +03:00
|
|
|
|
|
|
|
#device txisab: isabus
|
|
|
|
#attach txisab at txcsbus
|
|
|
|
#file arch/hpcmips/isa/txisa_machdep.c txisab
|
|
|
|
|
2001-02-22 21:37:54 +03:00
|
|
|
file dev/hpc/video_subr.c tx3912video | plumvideo
|
|
|
|
|
1999-11-21 10:04:31 +03:00
|
|
|
#
|
|
|
|
# Real-time clock (not optional)
|
|
|
|
#
|
1999-09-16 16:23:18 +04:00
|
|
|
file arch/hpcmips/hpcmips/clock.c
|
|
|
|
file dev/clock_subr.c
|
|
|
|
|
|
|
|
# Floppy disk controller
|
|
|
|
device fdc {drive = -1}
|
|
|
|
#attach fdc at isa
|
|
|
|
#device fd: disk, isadma
|
|
|
|
device fd: disk
|
|
|
|
#attach fd at fdc
|
|
|
|
file arch/i386/isa/fd.c fdc needs-flag
|
|
|
|
major {fd = 2}
|
|
|
|
|
|
|
|
# network devices MII bus
|
|
|
|
include "dev/mii/files.mii"
|
|
|
|
|
|
|
|
# XXXX pcic here because it needs to be late. The catch: pcic needs
|
|
|
|
# to be late, so devices which attach to it are attached late. But it
|
|
|
|
# needs to be before its isa and pci attachments. This answer is
|
|
|
|
# non-optimal, but I don't have a better answer right now.
|
|
|
|
|
|
|
|
# PCIC pcmcia contoller
|
|
|
|
# XXX this needs to be done very late, so it's done here. This feels
|
|
|
|
# like a kludge, but it might be for the best.
|
|
|
|
|
|
|
|
defopt PCIC_ISA_ALLOC_IOBASE
|
|
|
|
defopt PCIC_ISA_ALLOC_IOSIZE
|
|
|
|
defopt PCIC_ISA_INTR_ALLOC_MASK
|
|
|
|
|
|
|
|
device pcic: pcmciabus
|
|
|
|
file dev/ic/i82365.c pcic
|
|
|
|
|
|
|
|
#
|
|
|
|
# PCIC pcmcia controller
|
|
|
|
#
|
|
|
|
attach pcic at isa with pcic_isa
|
|
|
|
file dev/isa/i82365_isa.c pcic_isa
|
|
|
|
file dev/isa/i82365_isasubr.c pcic_isa
|
|
|
|
|
|
|
|
#
|
|
|
|
# Machine-independent PCMCIA drivers
|
|
|
|
#
|
|
|
|
include "dev/pcmcia/files.pcmcia"
|
|
|
|
|
|
|
|
# Serial Interface Unit
|
|
|
|
attach com at vrip with com_vrip
|
|
|
|
file arch/hpcmips/vr/com_vrip.c com_vrip
|
|
|
|
|
|
|
|
# Memory Disk for boot tape
|
2001-01-28 06:09:40 +03:00
|
|
|
file dev/md_root.c memory_disk_hooks
|
1999-09-16 16:23:18 +04:00
|
|
|
major {md = 6}
|
1999-12-08 18:54:11 +03:00
|
|
|
|
2000-03-25 18:08:26 +03:00
|
|
|
include "dev/usb/files.usb"
|