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