Home | History | Annotate | Line # | Download | only in conf
files.hpcmips revision 1.56
      1 #	$NetBSD: files.hpcmips,v 1.56 2001/05/06 14:25:16 takemura 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 include "dev/hpc/files.hpcio"
    106 device	vrisabif {[platform = -1], [isaportoffset=0], [isamemoffset=0]}		# GIU attachment
    107 
    108 device vrgiu: vrisabif, hpcioif
    109 attach vrgiu at vrip
    110 file arch/hpcmips/vr/vrgiu.c			vrgiu
    111 
    112 device vrisab: isabus
    113 attach vrisab at vrisabif
    114 file arch/hpcmips/isa/isa_machdep.c		vrisab
    115 
    116 device vrkiu: hpckbdif
    117 attach vrkiu at vrip
    118 file arch/hpcmips/vr/vrkiu.c			vrkiu needs-flag
    119 
    120 device vrpmu
    121 attach vrpmu at vrip
    122 file arch/hpcmips/vr/vrpmu.c			vrpmu needs-flag
    123 
    124 device vrdsu
    125 attach vrdsu at vrip
    126 file arch/hpcmips/vr/vrdsu.c			vrdsu needs-flag
    127 
    128 device vrled
    129 attach vrled at vrip
    130 file arch/hpcmips/vr/vrled.c			vrled needs-flag
    131 
    132 device vrpiu: wsmousedev
    133 attach vrpiu at vrip: tpcalib
    134 file arch/hpcmips/vr/vrpiu.c			vrpiu
    135 
    136 attach ohci at vrip with ohci_vrip
    137 file arch/hpcmips/dev/ohci_vrip.c		ohci_vrip
    138 
    139 defopt opt_mq200.h	MQ200_DEBUG MQ200_USECRT
    140 device mqvideo: hpcfbif
    141 attach mqvideo at vrip with mqvideo_vrip
    142 file arch/hpcmips/vr/mq200_vrip.c		mqvideo_vrip
    143 file arch/hpcmips/dev/mq200.c			mqvideo
    144 file arch/hpcmips/dev/mq200subr.c		mqvideo
    145 file arch/hpcmips/dev/mq200debug.c		mqvideo
    146 file arch/hpcmips/dev/mq200machdep.c		mqvideo
    147 
    148 device ite8181video: hpcfbif
    149 attach ite8181video at vrip with ite8181video_vrip
    150 file arch/hpcmips/vr/ite8181_vrip.c		ite8181video_vrip
    151 file arch/hpcmips/dev/ite8181.c			ite8181video
    152 
    153 device vrc4172pwm
    154 attach vrc4172pwm at vrip
    155 file arch/hpcmips/vr/vrc4172pwm.c		vrc4172pwm needs-flag
    156 
    157 device vrc4172gpio: hpcioif, vrisabif
    158 attach vrc4172gpio at hpcioif
    159 file arch/hpcmips/vr/vrc4172gpio.c		vrc4172gpio
    160 
    161 #
    162 #	TOSHIBA TX3912/3922
    163 #
    164 defopt TX39_DEBUG
    165 defopt TX39_WATCHDOGTIMER
    166 defopt TX39ICUDEBUG
    167 defopt TX39CLKDEBUG
    168 defopt TX39BIUDEBUG
    169 defopt TX39POWERDEBUG
    170 defopt TX39UARTDEBUG
    171 defopt USE_POLL
    172 
    173 device txsim {[platform = -1]}
    174 device txcsbusif {[platform = -1]}
    175 device txcomif {[slot = -1]}
    176 device txsibif {[slot = -1]}
    177 device ucbif { }
    178 device irif { }
    179 device txiomanif {[evtype = -1], [id = -1], [group = -1], [port = -1], [edge = -1], [initial = -1]}
    180 
    181 attach txsim at mainbus
    182 file arch/hpcmips/tx/txsim.c		txsim
    183 file arch/hpcmips/tx/txsnd.c		txsim
    184 
    185 device tx39biu: txcsbusif
    186 attach tx39biu at txsim
    187 file arch/hpcmips/tx/tx39biu.c		tx39biu
    188 
    189 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]}
    190 attach txcsbus at txcsbusif
    191 file arch/hpcmips/tx/txcsbus.c		txcsbus
    192 
    193 device tx39icu
    194 attach tx39icu at txsim
    195 file arch/hpcmips/tx/tx39icu.c		tx39icu
    196 
    197 device tx39power
    198 attach tx39power at txsim
    199 file arch/hpcmips/tx/tx39power.c	tx39power
    200 
    201 device tx39clock
    202 attach tx39clock at txsim
    203 file arch/hpcmips/tx/tx39clock.c	tx39clock
    204 
    205 device tx3912video: hpcfbif
    206 attach tx3912video at txsim
    207 file arch/hpcmips/tx/tx3912video.c	tx3912video
    208 
    209 device tx39io
    210 attach tx39io at txsim
    211 file arch/hpcmips/tx/tx39io.c		tx39io
    212 
    213 device txioman: txiomanif
    214 attach txioman at txsim
    215 file arch/hpcmips/tx/txioman.c		txioman
    216 
    217 device txin
    218 attach txin at txiomanif
    219 file arch/hpcmips/tx/txioman_in.c	txin
    220 
    221 device txout
    222 attach txout at txiomanif
    223 file arch/hpcmips/tx/txioman_out.c	txout
    224 
    225 device tx39sib: txsibif
    226 attach tx39sib at txsim
    227 file arch/hpcmips/tx/tx39sib.c		tx39sib
    228 
    229 #	PHILIPS UCB1200 / TOSHIBA TC35413F (modem/audio analog front-end)
    230 device ucb: ucbif
    231 attach ucb at txsibif
    232 file arch/hpcmips/dev/ucb1200.c		ucb
    233 
    234 device ucbtp: wsmousedev
    235 attach ucbtp at ucbif: tpcalib
    236 file arch/hpcmips/dev/ucbtp.c		ucbtp
    237 
    238 device ucbsnd
    239 attach ucbsnd at ucbif
    240 file arch/hpcmips/dev/ucbsnd.c		ucbsnd		needs-flag
    241 
    242 device ucbio
    243 attach ucbio at ucbif
    244 file arch/hpcmips/dev/ucbio.c		ucbio
    245 
    246 device tx39uart: txcomif
    247 attach tx39uart at txsim
    248 file arch/hpcmips/tx/tx39uart.c		tx39uart	needs-flag
    249 
    250 device txcom: irif
    251 attach txcom at txcomif
    252 file arch/hpcmips/tx/txcom.c		txcom
    253 
    254 device tx39ir
    255 attach tx39ir at irif
    256 file arch/hpcmips/tx/tx39ir.c		tx39ir
    257 
    258 #	ITE IT8368E PCMCIA / TOSHIBA TC6345AF buffer chip (PCMCIA)
    259 device it8368e: pcmciabus
    260 attach it8368e at txcsbus
    261 file arch/hpcmips/dev/it8368.c		it8368e
    262 
    263 #	MITUBISHI M38813 keryboard controller
    264 device m38813c: hpckbdif
    265 attach m38813c at txcsbus
    266 file arch/hpcmips/dev/m38813c.c		m38813c		needs-flag
    267 
    268 #	PHILIPS 74ALVC16241 / TOSHIBA TC5165BTFS buffer driver (keyboard)
    269 device tc5165buf: hpckbdif
    270 attach tc5165buf at txcsbus
    271 file arch/hpcmips/dev/tc5165buf.c	tc5165buf	needs-flag
    272 
    273 #	TOSHIBA TC6358E(Plum2)
    274 device plumif {}
    275 device plum: plumif
    276 attach plum at txcsbus
    277 file arch/hpcmips/dev/plum.c		plum
    278 
    279 device plumicu
    280 attach plumicu at plumif
    281 file arch/hpcmips/dev/plumicu.c		plumicu
    282 
    283 device plumpower
    284 attach plumpower at plumif
    285 file arch/hpcmips/dev/plumpower.c	plumpower
    286 
    287 device plumvideo: hpcfbif
    288 attach plumvideo at plumif
    289 file arch/hpcmips/dev/plumvideo.c	plumvideo
    290 
    291 device plumpcmcia: pcmciabus
    292 attach plumpcmcia at plumif
    293 file arch/hpcmips/dev/plumpcmcia.c	plumpcmcia
    294 
    295 device plumiobusif {[platform = -1], [slot = -1]}
    296 device plumiobus: plumiobusif
    297 attach plumiobus at plumif
    298 file arch/hpcmips/dev/plumiobus.c	plumiobus
    299 
    300 device plumisab: isabus
    301 attach plumisab at plumiobusif
    302 file arch/hpcmips/isa/plumisa_machdep.c	plumisab
    303 
    304 # OHCI USB controller
    305 attach	ohci at plumif with plumohci
    306 file	arch/hpcmips/dev/plumohci.c	plumohci	needs-flag
    307 
    308 #device txisab: isabus
    309 #attach txisab at txcsbus
    310 #file arch/hpcmips/isa/txisa_machdep.c	txisab
    311 
    312 file	dev/hpc/video_subr.c		tx3912video | plumvideo
    313 
    314 #
    315 #	Real-time clock (not optional)
    316 #
    317 file	arch/hpcmips/hpcmips/clock.c
    318 file	dev/clock_subr.c
    319 
    320 # Floppy disk controller
    321 device	fdc {drive = -1}
    322 #attach	fdc at isa
    323 #device	fd: disk, isadma
    324 device	fd: disk
    325 #attach	fd at fdc
    326 file	arch/i386/isa/fd.c		fdc needs-flag
    327 major	{fd = 2}
    328 
    329 # network devices MII bus
    330 include "dev/mii/files.mii"
    331 
    332 # XXXX pcic here because it needs to be late.  The catch: pcic needs
    333 # to be late, so devices which attach to it are attached late.  But it
    334 # needs to be before its isa and pci attachments.  This answer is
    335 # non-optimal, but I don't have a better answer right now.
    336 
    337 # PCIC pcmcia contoller
    338 # XXX this needs to be done very late, so it's done here.  This feels
    339 # like a kludge, but it might be for the best.
    340 
    341 defopt	PCIC_ISA_ALLOC_IOBASE
    342 defopt	PCIC_ISA_ALLOC_IOSIZE
    343 defopt	PCIC_ISA_INTR_ALLOC_MASK
    344 
    345 device	pcic: pcmciabus
    346 file	dev/ic/i82365.c			pcic
    347 
    348 #
    349 # PCIC pcmcia controller
    350 #
    351 attach	pcic at isa with pcic_isa
    352 file	dev/isa/i82365_isa.c			pcic_isa
    353 file	dev/isa/i82365_isasubr.c		pcic_isa
    354 
    355 #
    356 # Machine-independent PCMCIA drivers
    357 #
    358 include "dev/pcmcia/files.pcmcia"
    359 
    360 # Serial Interface Unit
    361 attach com at vrip with com_vrip
    362 file	arch/hpcmips/vr/com_vrip.c			com_vrip
    363 
    364 # Memory Disk for boot tape
    365 file dev/md_root.c				memory_disk_hooks
    366 major	{md = 6}
    367 
    368 include "dev/usb/files.usb"
    369