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