Home | History | Annotate | Line # | Download | only in conf
files.hpcmips revision 1.54
      1 #	$NetBSD: files.hpcmips,v 1.54 2001/04/11 08:23:26 sato Exp $
      2 
      3 # maxpartitions must be first item in files.${ARCH}.
      4 maxpartitions 8
      5 
      6 maxusers 2 8 64
      7 
      8 #
      9 # Machine-independent SCSI drivers
     10 #
     11 
     12 include "dev/scsipi/files.scsipi"
     13 major	{sd = 3}
     14 major	{st = 4}
     15 major	{cd = 5}
     16 
     17 #
     18 # Machine-independent ATA drivers
     19 #
     20 
     21 include "dev/ata/files.ata"
     22 major	{wd = 1}
     23 
     24 #
     25 # Bus-independent devices
     26 #
     27 device mainbus { }			# no locators
     28 attach mainbus at root
     29 
     30 device cpu				# not optional
     31 attach cpu at mainbus
     32 file arch/hpcmips/hpcmips/cpu.c		cpu
     33 
     34 # CPU support option headers
     35 defopt	opt_vr41xx.h	VR41XX VR4101 VR4102 VR4111 VR4121 VR4122 VR4181
     36 defopt	opt_tx39xx.h	TX39XX TX3911 TX3912 TX3922
     37 
     38 #
     39 # CPU-dependent files
     40 #
     41 file	arch/hpcmips/vr/vr.c		vr41xx	# NEC VR4000 series
     42 file	arch/hpcmips/vr/vr_idle.S	vr41xx
     43 file	arch/hpcmips/tx/tx39.c		tx39xx	# TOSHIBA TX3900 series
     44 
     45 file	arch/mips/mips/fp.S		softfloat
     46 
     47 file	arch/hpcmips/hpcmips/autoconf.c
     48 file	arch/hpcmips/hpcmips/conf.c
     49 file	arch/hpcmips/hpcmips/machdep.c
     50 file	arch/hpcmips/hpcmips/mainbus.c
     51 file	arch/hpcmips/hpcmips/bus_space.c
     52 file	arch/hpcmips/hpcmips/bus_dma.c
     53 file	arch/hpcmips/hpcmips/procfs_machdep.c	procfs
     54 
     55 #
     56 # H/PC Platform common files.
     57 #
     58 include "arch/hpc/conf/files.hpc"
     59 file	arch/hpc/hpc/disksubr.c			disk
     60 include "dev/hpc/files.bicons"
     61 include "dev/hpc/files.hpcfb"
     62 include "dev/hpc/files.hpckbd"
     63 include "dev/hpc/files.hpctp"
     64 
     65 # Console autoconfiguration code: selects between a framebuffers
     66 file	dev/cons.c
     67 
     68 #
     69 # Workstation Console
     70 #
     71 include "dev/wscons/files.wscons"
     72 
     73 #
     74 # power management
     75 #
     76 include "arch/hpcmips/dev/apm/files.apm"
     77 device hpcapm: apmdevif
     78 attach hpcapm at mainbus
     79 file	arch/hpcmips/dev/hpcapm.c	hpcapm
     80 
     81 #
     82 # ISA bus support
     83 #
     84 include "dev/isa/files.isa"
     85 
     86 #
     87 #  Vr41xx integrated peripherals
     88 #
     89 device vrip { [addr=-1], [size=-1], [addr2=-1], [size2=-1], [intr=-1], [pwctl=-1], [platform = -1] }
     90 attach vrip at mainbus
     91 file arch/hpcmips/vr/vrip.c		vrip needs-flag
     92 
     93 device vrbcu
     94 attach vrbcu at vrip
     95 file arch/hpcmips/vr/bcu_vrip.c			vrbcu needs-flag
     96 
     97 device vrrtc
     98 attach vrrtc at vrip
     99 file arch/hpcmips/vr/rtc.c			vrrtc needs-flag
    100 
    101 device vrcmu
    102 attach vrcmu at vrip
    103 file arch/hpcmips/vr/cmu.c			vrcmu needs-flag
    104 
    105 device	vrisabif {[platform = -1], [isaportoffset=0], [isamemoffset=0]}		# GIU attachment
    106 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]} 
    107 device  newgpbusif { [platform = -1], [id = -1], [port = -1], [active = 1], [level = -1], [initvalue = -1] }
    108 
    109 device vrgiu: vrisabif, gpbusif, newgpbusif
    110 attach vrgiu at vrip
    111 file arch/hpcmips/vr/vrgiu.c			vrgiu
    112 
    113 device gpbus
    114 attach gpbus at gpbusif
    115 file arch/hpcmips/vr/gpbus.c			gpbus
    116 
    117 device vrisab: isabus
    118 attach vrisab at vrisabif
    119 file arch/hpcmips/isa/isa_machdep.c		vrisab
    120 
    121 device pwctl
    122 attach pwctl at newgpbusif with pwctl_vrgiu
    123 file arch/hpcmips/vr/pwctl_vrgiu.c		pwctl_vrgiu
    124 
    125 device button
    126 attach button at newgpbusif with button_vrgiu
    127 file arch/hpcmips/vr/button_vrgiu.c		button_vrgiu
    128 
    129 device vrkiu: hpckbdif
    130 attach vrkiu at vrip
    131 file arch/hpcmips/vr/vrkiu.c			vrkiu needs-flag
    132 
    133 device vrpmu
    134 attach vrpmu at vrip
    135 file arch/hpcmips/vr/vrpmu.c			vrpmu needs-flag
    136 
    137 device vrdsu
    138 attach vrdsu at vrip
    139 file arch/hpcmips/vr/vrdsu.c			vrdsu needs-flag
    140 
    141 device vrled
    142 attach vrled at vrip
    143 file arch/hpcmips/vr/vrled.c			vrled needs-flag
    144 
    145 device vrpiu: wsmousedev
    146 attach vrpiu at vrip: tpcalib
    147 file arch/hpcmips/vr/vrpiu.c			vrpiu
    148 
    149 attach ohci at vrip with ohci_vrip
    150 file arch/hpcmips/dev/ohci_vrip.c		ohci_vrip
    151 
    152 defopt opt_mq200.h	MQ200_DEBUG MQ200_USECRT
    153 device mqvideo: hpcfbif
    154 attach mqvideo at vrip with mqvideo_vrip
    155 file arch/hpcmips/vr/mq200_vrip.c		mqvideo_vrip
    156 file arch/hpcmips/dev/mq200.c			mqvideo
    157 file arch/hpcmips/dev/mq200subr.c		mqvideo
    158 file arch/hpcmips/dev/mq200debug.c		mqvideo
    159 file arch/hpcmips/dev/mq200machdep.c		mqvideo
    160 
    161 device ite8181video: hpcfbif
    162 attach ite8181video at vrip with ite8181video_vrip
    163 file arch/hpcmips/vr/ite8181_vrip.c		ite8181video_vrip
    164 file arch/hpcmips/dev/ite8181.c			ite8181video
    165 
    166 device vrc4172pwm
    167 attach vrc4172pwm at vrip
    168 file arch/hpcmips/vr/vrc4172pwm.c		vrc4172pwm needs-flag
    169 
    170 #
    171 #	TOSHIBA TX3912/3922
    172 #
    173 defopt TX39_DEBUG
    174 defopt TX39_WATCHDOGTIMER
    175 defopt TX39ICUDEBUG
    176 defopt TX39CLKDEBUG
    177 defopt TX39BIUDEBUG
    178 defopt TX39POWERDEBUG
    179 defopt TX39UARTDEBUG
    180 defopt USE_POLL
    181 
    182 device txsim {[platform = -1]}
    183 device txcsbusif {[platform = -1]}
    184 device txcomif {[slot = -1]}
    185 device txsibif {[slot = -1]}
    186 device ucbif { }
    187 device irif { }
    188 device txiomanif {[evtype = -1], [id = -1], [group = -1], [port = -1], [edge = -1], [initial = -1]}
    189 
    190 attach txsim at mainbus
    191 file arch/hpcmips/tx/txsim.c		txsim
    192 file arch/hpcmips/tx/txsnd.c		txsim
    193 
    194 device tx39biu: txcsbusif
    195 attach tx39biu at txsim
    196 file arch/hpcmips/tx/tx39biu.c		tx39biu
    197 
    198 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]}
    199 attach txcsbus at txcsbusif
    200 file arch/hpcmips/tx/txcsbus.c		txcsbus
    201 
    202 device tx39icu
    203 attach tx39icu at txsim
    204 file arch/hpcmips/tx/tx39icu.c		tx39icu
    205 
    206 device tx39power
    207 attach tx39power at txsim
    208 file arch/hpcmips/tx/tx39power.c	tx39power
    209 
    210 device tx39clock
    211 attach tx39clock at txsim
    212 file arch/hpcmips/tx/tx39clock.c	tx39clock
    213 
    214 device tx3912video: hpcfbif
    215 attach tx3912video at txsim
    216 file arch/hpcmips/tx/tx3912video.c	tx3912video
    217 
    218 device tx39io
    219 attach tx39io at txsim
    220 file arch/hpcmips/tx/tx39io.c		tx39io
    221 
    222 device txioman: txiomanif
    223 attach txioman at txsim
    224 file arch/hpcmips/tx/txioman.c		txioman
    225 
    226 device txin
    227 attach txin at txiomanif
    228 file arch/hpcmips/tx/txioman_in.c	txin
    229 
    230 device txout
    231 attach txout at txiomanif
    232 file arch/hpcmips/tx/txioman_out.c	txout
    233 
    234 device tx39sib: txsibif
    235 attach tx39sib at txsim
    236 file arch/hpcmips/tx/tx39sib.c		tx39sib
    237 
    238 #	PHILIPS UCB1200 / TOSHIBA TC35413F (modem/audio analog front-end)
    239 device ucb: ucbif
    240 attach ucb at txsibif
    241 file arch/hpcmips/dev/ucb1200.c		ucb
    242 
    243 device ucbtp: wsmousedev
    244 attach ucbtp at ucbif: tpcalib
    245 file arch/hpcmips/dev/ucbtp.c		ucbtp
    246 
    247 device ucbsnd
    248 attach ucbsnd at ucbif
    249 file arch/hpcmips/dev/ucbsnd.c		ucbsnd		needs-flag
    250 
    251 device ucbio
    252 attach ucbio at ucbif
    253 file arch/hpcmips/dev/ucbio.c		ucbio
    254 
    255 device tx39uart: txcomif
    256 attach tx39uart at txsim
    257 file arch/hpcmips/tx/tx39uart.c		tx39uart	needs-flag
    258 
    259 device txcom: irif
    260 attach txcom at txcomif
    261 file arch/hpcmips/tx/txcom.c		txcom
    262 
    263 device tx39ir
    264 attach tx39ir at irif
    265 file arch/hpcmips/tx/tx39ir.c		tx39ir
    266 
    267 #	ITE IT8368E PCMCIA / TOSHIBA TC6345AF buffer chip (PCMCIA)
    268 device it8368e: pcmciabus
    269 attach it8368e at txcsbus
    270 file arch/hpcmips/dev/it8368.c		it8368e
    271 
    272 #	MITUBISHI M38813 keryboard controller
    273 device m38813c: hpckbdif
    274 attach m38813c at txcsbus
    275 file arch/hpcmips/dev/m38813c.c		m38813c		needs-flag
    276 
    277 #	PHILIPS 74ALVC16241 / TOSHIBA TC5165BTFS buffer driver (keyboard)
    278 device tc5165buf: hpckbdif
    279 attach tc5165buf at txcsbus
    280 file arch/hpcmips/dev/tc5165buf.c	tc5165buf	needs-flag
    281 
    282 #	TOSHIBA TC6358E(Plum2)
    283 device plumif {}
    284 device plum: plumif
    285 attach plum at txcsbus
    286 file arch/hpcmips/dev/plum.c		plum
    287 
    288 device plumicu
    289 attach plumicu at plumif
    290 file arch/hpcmips/dev/plumicu.c		plumicu
    291 
    292 device plumpower
    293 attach plumpower at plumif
    294 file arch/hpcmips/dev/plumpower.c	plumpower
    295 
    296 device plumvideo: hpcfbif
    297 attach plumvideo at plumif
    298 file arch/hpcmips/dev/plumvideo.c	plumvideo
    299 
    300 device plumpcmcia: pcmciabus
    301 attach plumpcmcia at plumif
    302 file arch/hpcmips/dev/plumpcmcia.c	plumpcmcia
    303 
    304 device plumiobusif {[platform = -1], [slot = -1]}
    305 device plumiobus: plumiobusif
    306 attach plumiobus at plumif
    307 file arch/hpcmips/dev/plumiobus.c	plumiobus
    308 
    309 device plumisab: isabus
    310 attach plumisab at plumiobusif
    311 file arch/hpcmips/isa/plumisa_machdep.c	plumisab
    312 
    313 # OHCI USB controller
    314 attach	ohci at plumif with plumohci
    315 file	arch/hpcmips/dev/plumohci.c	plumohci	needs-flag
    316 
    317 #device txisab: isabus
    318 #attach txisab at txcsbus
    319 #file arch/hpcmips/isa/txisa_machdep.c	txisab
    320 
    321 file	dev/hpc/video_subr.c		tx3912video | plumvideo
    322 
    323 #
    324 #	Real-time clock (not optional)
    325 #
    326 file	arch/hpcmips/hpcmips/clock.c
    327 file	dev/clock_subr.c
    328 
    329 # Floppy disk controller
    330 device	fdc {drive = -1}
    331 #attach	fdc at isa
    332 #device	fd: disk, isadma
    333 device	fd: disk
    334 #attach	fd at fdc
    335 file	arch/i386/isa/fd.c		fdc needs-flag
    336 major	{fd = 2}
    337 
    338 # network devices MII bus
    339 include "dev/mii/files.mii"
    340 
    341 # XXXX pcic here because it needs to be late.  The catch: pcic needs
    342 # to be late, so devices which attach to it are attached late.  But it
    343 # needs to be before its isa and pci attachments.  This answer is
    344 # non-optimal, but I don't have a better answer right now.
    345 
    346 # PCIC pcmcia contoller
    347 # XXX this needs to be done very late, so it's done here.  This feels
    348 # like a kludge, but it might be for the best.
    349 
    350 defopt	PCIC_ISA_ALLOC_IOBASE
    351 defopt	PCIC_ISA_ALLOC_IOSIZE
    352 defopt	PCIC_ISA_INTR_ALLOC_MASK
    353 
    354 device	pcic: pcmciabus
    355 file	dev/ic/i82365.c			pcic
    356 
    357 #
    358 # PCIC pcmcia controller
    359 #
    360 attach	pcic at isa with pcic_isa
    361 file	dev/isa/i82365_isa.c			pcic_isa
    362 file	dev/isa/i82365_isasubr.c		pcic_isa
    363 
    364 #
    365 # Machine-independent PCMCIA drivers
    366 #
    367 include "dev/pcmcia/files.pcmcia"
    368 
    369 # Serial Interface Unit
    370 attach com at vrip with com_vrip
    371 file	arch/hpcmips/vr/com_vrip.c			com_vrip
    372 
    373 # Memory Disk for boot tape
    374 file dev/md_root.c				memory_disk_hooks
    375 major	{md = 6}
    376 
    377 include "dev/usb/files.usb"
    378