Home | History | Annotate | Line # | Download | only in conf
files.hpcmips revision 1.36
      1 #	$NetBSD: files.hpcmips,v 1.36 2000/07/30 04:41:19 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	VR41X1
     36 defopt	TX39XX
     37 
     38 #
     39 # CPU-dependent files
     40 #
     41 file	arch/hpcmips/vr/vr.c		vr41x1	# NEC VR4000 series
     42 file	arch/hpcmips/vr/vr_idle.S	vr41x1
     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/platid.c
     51 file	arch/hpcmips/hpcmips/platid_mask.c
     52 file	arch/hpcmips/hpcmips/platid_name.c
     53 file	arch/hpcmips/hpcmips/mainbus.c
     54 file	arch/hpcmips/hpcmips/bus_space.c
     55 file	arch/hpcmips/hpcmips/bus_dma.c
     56 file	arch/hpcmips/hpcmips/disksubr.c	disk
     57 file	arch/hpcmips/hpcmips/config_hook.c
     58 
     59 # Console autoconfiguration code: selects between a framebuffers
     60 file	dev/cons.c
     61 file	arch/hpcmips/dev/bicons.c
     62 file	arch/hpcmips/dev/bifont.c
     63 
     64 # Raster operations
     65 include "dev/rasops/files.rasops"
     66 include "dev/wsfont/files.wsfont"
     67 
     68 #
     69 # Workstation Console
     70 #
     71 include "dev/wscons/files.wscons"
     72 file	dev/pckbc/wskbdmap_mfii.c		btnmgr | vrkiu | skbd
     73 file	arch/hpcmips/dev/pckbd_encode.c		btnmgr | vrkiu | skbd
     74 defopt	PCKBD_LAYOUT
     75 
     76 define	hpcfbif {}
     77 device	hpcfb: wsemuldisplaydev, rasops1, rasops2, rasops8, rasops15, rasops16
     78 attach	hpcfb at hpcfbif
     79 file	arch/hpcmips/dev/hpcfb.c	hpcfb needs-flag
     80 
     81 device	bivideo: hpcfbif
     82 file	arch/hpcmips/dev/bivideo.c	bivideo needs-flag
     83 file	arch/hpcmips/dev/hpccmap.c	bivideo
     84 attach	bivideo at mainbus
     85 
     86 device btnmgr: wskbddev
     87 attach btnmgr at mainbus
     88 file	arch/hpcmips/dev/btnmgr.c	btnmgr
     89 
     90 file	arch/hpcmips/dev/video_subr.c	tx3912video | plumvideo
     91 
     92 #
     93 # power management
     94 #
     95 include "arch/hpcmips/dev/apm/files.apm"
     96 device hpcapm: apmdevif
     97 attach hpcapm at mainbus
     98 file	arch/hpcmips/dev/hpcapm.c	hpcapm
     99 
    100 #
    101 # ISA bus support
    102 #
    103 include "dev/isa/files.isa"
    104 
    105 #
    106 # pseudo devices
    107 #
    108 defpseudo	biconsdev
    109 file	arch/hpcmips/dev/biconsdev.c	biconsdev	needs-count
    110 
    111 #
    112 #  Vr41x1 integrated peripherals
    113 #
    114 device vrip { [addr=-1], [size=-1], [addr2=-1], [size2=-1], [intr=-1], [pwctl=-1] }
    115 attach vrip at mainbus
    116 file arch/hpcmips/vr/vrip.c		vrip needs-flag
    117 
    118 device vrrtc
    119 attach vrrtc at vrip
    120 file arch/hpcmips/vr/rtc.c			vrrtc
    121 
    122 device vrcmu
    123 attach vrcmu at vrip
    124 file arch/hpcmips/vr/cmu.c			vrcmu
    125 
    126 device	vrisabif {[platform = -1], [isaportoffset=0], [isamemoffset=0]}		# GIU attachment
    127 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]} 
    128 device  newgpbusif { [platform = -1], [id = -1], [port = -1], [active = 1], [level = -1] }
    129 
    130 device vrgiu: vrisabif, gpbusif, newgpbusif
    131 attach vrgiu at vrip
    132 file arch/hpcmips/vr/vrgiu.c			vrgiu
    133 
    134 device gpbus
    135 attach gpbus at gpbusif
    136 file arch/hpcmips/vr/gpbus.c			gpbus
    137 
    138 device vrisab: isabus
    139 attach vrisab at vrisabif
    140 file arch/hpcmips/isa/isa_machdep.c		vrisab
    141 
    142 device pwctl
    143 attach pwctl at newgpbusif with pwctl_vrgiu
    144 file arch/hpcmips/vr/pwctl_vrgiu.c		pwctl_vrgiu
    145 
    146 device button
    147 attach button at newgpbusif with button_vrgiu
    148 file arch/hpcmips/vr/button_vrgiu.c		button_vrgiu
    149 
    150 device vrbcu
    151 attach vrbcu at vrip
    152 file arch/hpcmips/vr/bcu_vrip.c			vrbcu needs-flag
    153 
    154 device vrkiu: wskbddev
    155 attach vrkiu at vrip
    156 file arch/hpcmips/vr/vrkiu.c			vrkiu needs-flag
    157 
    158 device vrpmu
    159 attach vrpmu at vrip
    160 file arch/hpcmips/vr/vrpmu.c			vrpmu needs-flag
    161 
    162 device vrdsu
    163 attach vrdsu at vrip
    164 file arch/hpcmips/vr/vrdsu.c			vrdsu needs-flag
    165 
    166 define	tpcalib
    167 file arch/hpcmips/dev/tpcalib.c			tpcalib
    168 file arch/hpcmips/dev/mra.c			tpcalib
    169 
    170 device vrpiu: wsmousedev
    171 attach vrpiu at vrip: tpcalib
    172 file arch/hpcmips/vr/vrpiu.c			vrpiu
    173 
    174 attach ohci at vrip with ohci_vrip
    175 file arch/hpcmips/dev/ohci_vrip.c		ohci_vrip
    176 
    177 device mqvideo: hpcfbif
    178 attach mqvideo at vrip with mqvideo_vrip
    179 file arch/hpcmips/vr/mq200_vrip.c		mqvideo_vrip
    180 file arch/hpcmips/dev/mq200.c			mqvideo
    181 
    182 #
    183 #	TOSHIBA TX3912/3922
    184 #
    185 defopt TX39_DEBUG
    186 defopt TX39_WATCHDOGTIMER
    187 defopt TX39ICUDEBUG
    188 defopt TX39CLKDEBUG
    189 defopt TX39BIUDEBUG
    190 defopt TX39IODEBUG
    191 defopt TX39POWERDEBUG
    192 defopt TX39UARTDEBUG
    193 defopt USE_POLL
    194 
    195 device txsim { }
    196 device txcsbusif {[platform = -1]}
    197 device txcomif {[slot = -1]}
    198 device txsibif {[slot = -1]}
    199 device ucbif { }
    200 device irif { }
    201 device txiomanif {[platform = -1]}
    202 
    203 attach txsim at mainbus
    204 file arch/hpcmips/tx/txsim.c		txsim
    205 file arch/hpcmips/tx/txsnd.c		txsim
    206 
    207 device tx39biu: txcsbusif
    208 attach tx39biu at txsim
    209 file arch/hpcmips/tx/tx39biu.c		tx39biu
    210 
    211 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]}
    212 attach txcsbus at txcsbusif
    213 file arch/hpcmips/tx/txcsbus.c		txcsbus
    214 
    215 device tx39icu
    216 attach tx39icu at txsim
    217 file arch/hpcmips/tx/tx39icu.c		tx39icu
    218 
    219 device tx39power
    220 attach tx39power at txsim
    221 file arch/hpcmips/tx/tx39power.c	tx39power
    222 
    223 device tx39clock
    224 attach tx39clock at txsim
    225 file arch/hpcmips/tx/tx39clock.c	tx39clock
    226 
    227 device tx3912video: hpcfbif
    228 attach tx3912video at txsim
    229 file arch/hpcmips/tx/tx3912video.c	tx3912video
    230 
    231 device tx39io: txiomanif
    232 attach tx39io at txsim
    233 file arch/hpcmips/tx/tx39io.c		tx39io
    234 
    235 device txioman
    236 attach txioman at txiomanif
    237 file arch/hpcmips/tx/txioman.c		txioman
    238 
    239 device tx39sib: txsibif
    240 attach tx39sib at txsim
    241 file arch/hpcmips/tx/tx39sib.c		tx39sib
    242 
    243 #	PHILIPS UCB1200 / TOSHIBA TC35413F (modem/audio analog front-end)
    244 device ucb: ucbif
    245 attach ucb at txsibif
    246 file arch/hpcmips/dev/ucb1200.c		ucb
    247 
    248 device ucbtp: wsmousedev
    249 attach ucbtp at ucbif: tpcalib
    250 file arch/hpcmips/dev/ucbtp.c		ucbtp
    251 
    252 device ucbsnd
    253 attach ucbsnd at ucbif
    254 file arch/hpcmips/dev/ucbsnd.c		ucbsnd		needs-flag
    255 
    256 device ucbio: newgpbusif
    257 attach ucbio at ucbif
    258 file arch/hpcmips/dev/ucbio.c		ucbio
    259 
    260 device ucbioport
    261 attach ucbioport at newgpbusif
    262 file arch/hpcmips/dev/ucbioport.c	ucbioport
    263 
    264 device tx39uart: txcomif
    265 attach tx39uart at txsim
    266 file arch/hpcmips/tx/tx39uart.c		tx39uart	needs-flag
    267 
    268 device txcom: irif
    269 attach txcom at txcomif
    270 file arch/hpcmips/tx/txcom.c		txcom
    271 
    272 device tx39ir
    273 attach tx39ir at irif
    274 file arch/hpcmips/tx/tx39ir.c		tx39ir
    275 
    276 #	ITE IT8368E PCMCIA / TOSHIBA TC6345AF buffer chip (PCMCIA)
    277 device it8368e: pcmciabus
    278 attach it8368e at txcsbus
    279 file arch/hpcmips/dev/it8368.c	it8368e
    280 
    281 device skbdif {}
    282 
    283 #	MITUBISHI M38813 keryboard controller
    284 device m38813c: skbdif
    285 attach m38813c at txcsbus
    286 file arch/hpcmips/dev/m38813c.c		m38813c		needs-flag
    287 
    288 #	PHILIPS 74ALVC16241 / TOSHIBA TC5165BTFS buffer driver (keyboard)
    289 device tc5165buf: skbdif
    290 attach tc5165buf at txcsbus
    291 file arch/hpcmips/dev/tc5165buf.c	tc5165buf	needs-flag
    292 
    293 #	Simple keyboard interface for wskbd
    294 device skbd: wskbddev
    295 attach skbd at skbdif
    296 file arch/hpcmips/dev/skbd.c		skbd
    297 
    298 
    299 #	TOSHIBA TC6358E(Plum2)
    300 device plumif {}
    301 device plum: plumif
    302 attach plum at txcsbus
    303 file arch/hpcmips/dev/plum.c		plum
    304 
    305 device plumicu
    306 attach plumicu at plumif
    307 file arch/hpcmips/dev/plumicu.c		plumicu
    308 
    309 device plumpower
    310 attach plumpower at plumif
    311 file arch/hpcmips/dev/plumpower.c	plumpower
    312 
    313 device plumvideo: hpcfbif
    314 attach plumvideo at plumif
    315 file arch/hpcmips/dev/plumvideo.c	plumvideo
    316 
    317 device plumpcmcia: pcmciabus
    318 attach plumpcmcia at plumif
    319 file arch/hpcmips/dev/plumpcmcia.c	plumpcmcia
    320 
    321 device plumiobusif {[platform = -1], [slot = -1]}
    322 device plumiobus: plumiobusif
    323 attach plumiobus at plumif
    324 file arch/hpcmips/dev/plumiobus.c	plumiobus
    325 
    326 device plumisab: isabus
    327 attach plumisab at plumiobusif
    328 file arch/hpcmips/isa/plumisa_machdep.c	plumisab
    329 
    330 # OHCI USB controller
    331 attach	ohci at plumif with plumohci
    332 file	arch/hpcmips/dev/plumohci.c	plumohci
    333 
    334 #device txisab: isabus
    335 #attach txisab at txcsbus
    336 #file arch/hpcmips/isa/txisa_machdep.c	txisab
    337 
    338 #
    339 #	Real-time clock (not optional)
    340 #
    341 file	arch/hpcmips/hpcmips/clock.c
    342 file	dev/clock_subr.c
    343 
    344 # Floppy disk controller
    345 device	fdc {drive = -1}
    346 #attach	fdc at isa
    347 #device	fd: disk, isadma
    348 device	fd: disk
    349 #attach	fd at fdc
    350 file	arch/i386/isa/fd.c		fdc needs-flag
    351 major	{fd = 2}
    352 
    353 # network devices MII bus
    354 include "dev/mii/files.mii"
    355 
    356 # XXXX pcic here because it needs to be late.  The catch: pcic needs
    357 # to be late, so devices which attach to it are attached late.  But it
    358 # needs to be before its isa and pci attachments.  This answer is
    359 # non-optimal, but I don't have a better answer right now.
    360 
    361 # PCIC pcmcia contoller
    362 # XXX this needs to be done very late, so it's done here.  This feels
    363 # like a kludge, but it might be for the best.
    364 
    365 defopt	PCIC_ISA_ALLOC_IOBASE
    366 defopt	PCIC_ISA_ALLOC_IOSIZE
    367 defopt	PCIC_ISA_INTR_ALLOC_MASK
    368 
    369 device	pcic: pcmciabus
    370 file	dev/ic/i82365.c			pcic
    371 
    372 #
    373 # PCIC pcmcia controller
    374 #
    375 attach	pcic at isa with pcic_isa
    376 file	dev/isa/i82365_isa.c			pcic_isa
    377 file	dev/isa/i82365_isasubr.c		pcic_isa
    378 
    379 #
    380 # Machine-independent PCMCIA drivers
    381 #
    382 include "dev/pcmcia/files.pcmcia"
    383 
    384 # Serial Interface Unit
    385 attach com at vrip with com_vrip
    386 file	arch/hpcmips/vr/com_vrip.c			com_vrip
    387 
    388 # Memory Disk for boot tape
    389 file arch/hpcmips/dev/md_root.c		memory_disk_hooks
    390 major	{md = 6}
    391 
    392 include "dev/usb/files.usb"
    393