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