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