Home | History | Annotate | Line # | Download | only in conf
files.hpcmips revision 1.41
      1 #	$NetBSD: files.hpcmips,v 1.41 2000/10/17 11:37:23 sato 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 | hpckbd
     73 file	arch/hpcmips/dev/pckbd_encode.c		btnmgr | hpckbd
     74 defopt	PCKBD_LAYOUT
     75 
     76 #	Simple framebuffer interface for wsdisplay
     77 define	hpcfbif {}
     78 device	hpcfb: wsemuldisplaydev, rasops1, rasops2, rasops8, rasops15, rasops16
     79 attach	hpcfb at hpcfbif
     80 file	arch/hpcmips/dev/hpcfb.c	hpcfb needs-flag
     81 
     82 #	Simple keyboard interface for wskbd
     83 device hpckbdif {}
     84 device hpckbd: wskbddev
     85 attach hpckbd at hpckbdif
     86 file arch/hpcmips/dev/hpckbd.c		hpckbd
     87 
     88 device	bivideo: hpcfbif
     89 file	arch/hpcmips/dev/bivideo.c	bivideo needs-flag
     90 file	arch/hpcmips/dev/hpccmap.c	bivideo
     91 attach	bivideo at mainbus
     92 
     93 device btnmgr: wskbddev
     94 attach btnmgr at mainbus
     95 file	arch/hpcmips/dev/btnmgr.c	btnmgr
     96 
     97 file	arch/hpcmips/dev/video_subr.c	tx3912video | plumvideo
     98 
     99 #
    100 # power management
    101 #
    102 include "arch/hpcmips/dev/apm/files.apm"
    103 device hpcapm: apmdevif
    104 attach hpcapm at mainbus
    105 file	arch/hpcmips/dev/hpcapm.c	hpcapm
    106 
    107 #
    108 # ISA bus support
    109 #
    110 include "dev/isa/files.isa"
    111 
    112 #
    113 # pseudo devices
    114 #
    115 defpseudo	biconsdev
    116 file	arch/hpcmips/dev/biconsdev.c	biconsdev	needs-count
    117 
    118 #
    119 #  Vr41x1 integrated peripherals
    120 #
    121 device vrip { [addr=-1], [size=-1], [addr2=-1], [size2=-1], [intr=-1], [pwctl=-1] }
    122 attach vrip at mainbus
    123 file arch/hpcmips/vr/vrip.c		vrip needs-flag
    124 
    125 device vrbcu
    126 attach vrbcu at vrip
    127 file arch/hpcmips/vr/bcu_vrip.c			vrbcu needs-flag
    128 
    129 device vrrtc
    130 attach vrrtc at vrip
    131 file arch/hpcmips/vr/rtc.c			vrrtc needs-flag
    132 
    133 device vrcmu
    134 attach vrcmu at vrip
    135 file arch/hpcmips/vr/cmu.c			vrcmu needs-flag
    136 
    137 device	vrisabif {[platform = -1], [isaportoffset=0], [isamemoffset=0]}		# GIU attachment
    138 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]} 
    139 device  newgpbusif { [platform = -1], [id = -1], [port = -1], [active = 1], [level = -1], [initvalue = -1] }
    140 
    141 device vrgiu: vrisabif, gpbusif, newgpbusif
    142 attach vrgiu at vrip
    143 file arch/hpcmips/vr/vrgiu.c			vrgiu
    144 
    145 device gpbus
    146 attach gpbus at gpbusif
    147 file arch/hpcmips/vr/gpbus.c			gpbus
    148 
    149 device vrisab: isabus
    150 attach vrisab at vrisabif
    151 file arch/hpcmips/isa/isa_machdep.c		vrisab
    152 
    153 device pwctl
    154 attach pwctl at newgpbusif with pwctl_vrgiu
    155 file arch/hpcmips/vr/pwctl_vrgiu.c		pwctl_vrgiu
    156 
    157 device button
    158 attach button at newgpbusif with button_vrgiu
    159 file arch/hpcmips/vr/button_vrgiu.c		button_vrgiu
    160 
    161 device vrkiu: hpckbdif
    162 attach vrkiu at vrip
    163 file arch/hpcmips/vr/vrkiu.c			vrkiu needs-flag
    164 
    165 device vrpmu
    166 attach vrpmu at vrip
    167 file arch/hpcmips/vr/vrpmu.c			vrpmu needs-flag
    168 
    169 device vrdsu
    170 attach vrdsu at vrip
    171 file arch/hpcmips/vr/vrdsu.c			vrdsu needs-flag
    172 
    173 device vrled
    174 attach vrled at vrip
    175 file arch/hpcmips/vr/vrled.c			vrled needs-flag
    176 
    177 define	tpcalib
    178 file arch/hpcmips/dev/tpcalib.c			tpcalib
    179 file arch/hpcmips/dev/mra.c			tpcalib
    180 
    181 device vrpiu: wsmousedev
    182 attach vrpiu at vrip: tpcalib
    183 file arch/hpcmips/vr/vrpiu.c			vrpiu
    184 
    185 attach ohci at vrip with ohci_vrip
    186 file arch/hpcmips/dev/ohci_vrip.c		ohci_vrip
    187 
    188 device mqvideo: hpcfbif
    189 attach mqvideo at vrip with mqvideo_vrip
    190 file arch/hpcmips/vr/mq200_vrip.c		mqvideo_vrip
    191 file arch/hpcmips/dev/mq200.c			mqvideo
    192 
    193 device ite8181video: hpcfbif
    194 attach ite8181video at vrip with ite8181video_vrip
    195 file arch/hpcmips/vr/ite8181_vrip.c		ite8181video_vrip
    196 file arch/hpcmips/dev/ite8181.c			ite8181video
    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 TX39IODEBUG
    207 defopt TX39POWERDEBUG
    208 defopt TX39UARTDEBUG
    209 defopt USE_POLL
    210 
    211 device txsim { }
    212 device txcsbusif {[platform = -1]}
    213 device txcomif {[slot = -1]}
    214 device txsibif {[slot = -1]}
    215 device ucbif { }
    216 device irif { }
    217 device txiomanif {[platform = -1]}
    218 
    219 attach txsim at mainbus
    220 file arch/hpcmips/tx/txsim.c		txsim
    221 file arch/hpcmips/tx/txsnd.c		txsim
    222 
    223 device tx39biu: txcsbusif
    224 attach tx39biu at txsim
    225 file arch/hpcmips/tx/tx39biu.c		tx39biu
    226 
    227 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]}
    228 attach txcsbus at txcsbusif
    229 file arch/hpcmips/tx/txcsbus.c		txcsbus
    230 
    231 device tx39icu
    232 attach tx39icu at txsim
    233 file arch/hpcmips/tx/tx39icu.c		tx39icu
    234 
    235 device tx39power
    236 attach tx39power at txsim
    237 file arch/hpcmips/tx/tx39power.c	tx39power
    238 
    239 device tx39clock
    240 attach tx39clock at txsim
    241 file arch/hpcmips/tx/tx39clock.c	tx39clock
    242 
    243 device tx3912video: hpcfbif
    244 attach tx3912video at txsim
    245 file arch/hpcmips/tx/tx3912video.c	tx3912video
    246 
    247 device tx39io: txiomanif
    248 attach tx39io at txsim
    249 file arch/hpcmips/tx/tx39io.c		tx39io
    250 
    251 device txioman
    252 attach txioman at txiomanif
    253 file arch/hpcmips/tx/txioman.c		txioman
    254 
    255 device tx39sib: txsibif
    256 attach tx39sib at txsim
    257 file arch/hpcmips/tx/tx39sib.c		tx39sib
    258 
    259 #	PHILIPS UCB1200 / TOSHIBA TC35413F (modem/audio analog front-end)
    260 device ucb: ucbif
    261 attach ucb at txsibif
    262 file arch/hpcmips/dev/ucb1200.c		ucb
    263 
    264 device ucbtp: wsmousedev
    265 attach ucbtp at ucbif: tpcalib
    266 file arch/hpcmips/dev/ucbtp.c		ucbtp
    267 
    268 device ucbsnd
    269 attach ucbsnd at ucbif
    270 file arch/hpcmips/dev/ucbsnd.c		ucbsnd		needs-flag
    271 
    272 device ucbio: newgpbusif
    273 attach ucbio at ucbif
    274 file arch/hpcmips/dev/ucbio.c		ucbio
    275 
    276 device ucbioport
    277 attach ucbioport at newgpbusif
    278 file arch/hpcmips/dev/ucbioport.c	ucbioport
    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 #
    347 #	Real-time clock (not optional)
    348 #
    349 file	arch/hpcmips/hpcmips/clock.c
    350 file	dev/clock_subr.c
    351 
    352 # Floppy disk controller
    353 device	fdc {drive = -1}
    354 #attach	fdc at isa
    355 #device	fd: disk, isadma
    356 device	fd: disk
    357 #attach	fd at fdc
    358 file	arch/i386/isa/fd.c		fdc needs-flag
    359 major	{fd = 2}
    360 
    361 # network devices MII bus
    362 include "dev/mii/files.mii"
    363 
    364 # XXXX pcic here because it needs to be late.  The catch: pcic needs
    365 # to be late, so devices which attach to it are attached late.  But it
    366 # needs to be before its isa and pci attachments.  This answer is
    367 # non-optimal, but I don't have a better answer right now.
    368 
    369 # PCIC pcmcia contoller
    370 # XXX this needs to be done very late, so it's done here.  This feels
    371 # like a kludge, but it might be for the best.
    372 
    373 defopt	PCIC_ISA_ALLOC_IOBASE
    374 defopt	PCIC_ISA_ALLOC_IOSIZE
    375 defopt	PCIC_ISA_INTR_ALLOC_MASK
    376 
    377 device	pcic: pcmciabus
    378 file	dev/ic/i82365.c			pcic
    379 
    380 #
    381 # PCIC pcmcia controller
    382 #
    383 attach	pcic at isa with pcic_isa
    384 file	dev/isa/i82365_isa.c			pcic_isa
    385 file	dev/isa/i82365_isasubr.c		pcic_isa
    386 
    387 #
    388 # Machine-independent PCMCIA drivers
    389 #
    390 include "dev/pcmcia/files.pcmcia"
    391 
    392 # Serial Interface Unit
    393 attach com at vrip with com_vrip
    394 file	arch/hpcmips/vr/com_vrip.c			com_vrip
    395 
    396 # Memory Disk for boot tape
    397 file arch/hpcmips/dev/md_root.c		memory_disk_hooks
    398 major	{md = 6}
    399 
    400 include "dev/usb/files.usb"
    401