Home | History | Annotate | Line # | Download | only in conf
files.hpcmips revision 1.31
      1 #	$NetBSD: files.hpcmips,v 1.31 2000/05/04 08:18:59 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 #
     91 # ISA bus support
     92 #
     93 include "dev/isa/files.isa"
     94 
     95 #
     96 # pseudo devices
     97 #
     98 defpseudo	biconsdev
     99 file	arch/hpcmips/dev/biconsdev.c	biconsdev	needs-count
    100 
    101 #
    102 #  Vr41x1 integrated peripherals
    103 #
    104 device vrip { [addr=-1], [size=-1], [addr2=-1], [size2=-1], [intr=-1], [pwctl=-1] }
    105 attach vrip at mainbus
    106 file arch/hpcmips/vr/vrip.c		vrip needs-flag
    107 
    108 device vrrtc
    109 attach vrrtc at vrip
    110 file arch/hpcmips/vr/rtc.c			vrrtc
    111 
    112 device vrcmu
    113 attach vrcmu at vrip
    114 file arch/hpcmips/vr/cmu.c			vrcmu
    115 
    116 device	vrisabif {[platform = -1], [isaportoffset=0], [isamemoffset=0]}		# GIU attachment
    117 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]} 
    118 device  newgpbusif { [platform = -1], [id = -1], [port = -1], [active = 1], [level = -1] }
    119 
    120 device vrgiu: vrisabif, gpbusif, newgpbusif
    121 attach vrgiu at vrip
    122 file arch/hpcmips/vr/vrgiu.c			vrgiu
    123 
    124 device gpbus
    125 attach gpbus at gpbusif
    126 file arch/hpcmips/vr/gpbus.c			gpbus
    127 
    128 device vrisab: isabus
    129 attach vrisab at vrisabif
    130 file arch/hpcmips/isa/isa_machdep.c		vrisab
    131 
    132 device pwctl
    133 attach pwctl at newgpbusif with pwctl_vrgiu
    134 file arch/hpcmips/vr/pwctl_vrgiu.c		pwctl_vrgiu
    135 
    136 device button
    137 attach button at newgpbusif with button_vrgiu
    138 file arch/hpcmips/vr/button_vrgiu.c		button_vrgiu
    139 
    140 device vrbcu
    141 attach vrbcu at vrip
    142 file arch/hpcmips/vr/bcu_vrip.c			vrbcu needs-flag
    143 
    144 device vrkiu: wskbddev
    145 attach vrkiu at vrip
    146 file arch/hpcmips/vr/vrkiu.c			vrkiu needs-flag
    147 
    148 device vrpmu
    149 attach vrpmu at vrip
    150 file arch/hpcmips/vr/vrpmu.c			vrpmu needs-flag
    151 
    152 device vrdsu
    153 attach vrdsu at vrip
    154 file arch/hpcmips/vr/vrdsu.c			vrdsu needs-flag
    155 
    156 define	tpcalib
    157 file arch/hpcmips/dev/tpcalib.c			tpcalib
    158 file arch/hpcmips/dev/mra.c			tpcalib
    159 
    160 device vrpiu: wsmousedev
    161 attach vrpiu at vrip: tpcalib
    162 file arch/hpcmips/vr/vrpiu.c			vrpiu
    163 
    164 #
    165 #	TOSHIBA TX3912/3922
    166 #
    167 defopt TX39_DEBUG
    168 defopt TX39_WATCHDOGTIMER
    169 defopt TX39ICUDEBUG
    170 defopt TX39CLKDEBUG
    171 defopt TX39BIUDEBUG
    172 defopt TX39IODEBUG
    173 defopt TX39POWERDEBUG
    174 defopt TX39UARTDEBUG
    175 defopt USE_POLL
    176 
    177 device txsim { }
    178 device txcsbusif {[platform = -1]}
    179 device txcomif {[slot = -1]}
    180 device txsibif {[slot = -1]}
    181 device ucbif { }
    182 device irif { }
    183 device txiomanif {[platform = -1]}
    184 
    185 attach txsim at mainbus
    186 file arch/hpcmips/tx/txsim.c		txsim
    187 file arch/hpcmips/tx/txsnd.c		txsim
    188 
    189 device tx39biu: txcsbusif
    190 attach tx39biu at txsim
    191 file arch/hpcmips/tx/tx39biu.c		tx39biu
    192 
    193 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]}
    194 attach txcsbus at txcsbusif
    195 file arch/hpcmips/tx/txcsbus.c		txcsbus
    196 
    197 device tx39icu
    198 attach tx39icu at txsim
    199 file arch/hpcmips/tx/tx39icu.c		tx39icu
    200 
    201 device tx39power
    202 attach tx39power at txsim
    203 file arch/hpcmips/tx/tx39power.c	tx39power
    204 
    205 device tx39clock
    206 attach tx39clock at txsim
    207 file arch/hpcmips/tx/tx39clock.c	tx39clock
    208 
    209 device tx3912video: hpcfbif
    210 attach tx3912video at txsim
    211 file arch/hpcmips/tx/tx3912video.c	tx3912video
    212 
    213 device tx39io: txiomanif
    214 attach tx39io at txsim
    215 file arch/hpcmips/tx/tx39io.c		tx39io
    216 
    217 device txioman
    218 attach txioman at txiomanif
    219 file arch/hpcmips/tx/txioman.c		txioman
    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: newgpbusif
    239 attach ucbio at ucbif
    240 file arch/hpcmips/dev/ucbio.c		ucbio
    241 
    242 device ucbioport
    243 attach ucbioport at newgpbusif
    244 file arch/hpcmips/dev/ucbioport.c	ucbioport
    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 device skbdif {}
    264 
    265 #	MITUBISHI M38813 keryboard controller
    266 device m38813c: skbdif
    267 attach m38813c at txcsbus
    268 file arch/hpcmips/dev/m38813c.c		m38813c		needs-flag
    269 
    270 #	PHILIPS 74ALVC16241 / TOSHIBA TC5165BTFS buffer driver (keyboard)
    271 device tc5165buf: skbdif
    272 attach tc5165buf at txcsbus
    273 file arch/hpcmips/dev/tc5165buf.c	tc5165buf	needs-flag
    274 
    275 #	Simple keyboard interface for wskbd
    276 device skbd: wskbddev
    277 attach skbd at skbdif
    278 file arch/hpcmips/dev/skbd.c		skbd
    279 
    280 
    281 #	TOSHIBA TC6358E(Plum2)
    282 device plumif {}
    283 device plum: plumif
    284 attach plum at txcsbus
    285 file arch/hpcmips/dev/plum.c		plum
    286 
    287 device plumicu
    288 attach plumicu at plumif
    289 file arch/hpcmips/dev/plumicu.c		plumicu
    290 
    291 device plumpower
    292 attach plumpower at plumif
    293 file arch/hpcmips/dev/plumpower.c	plumpower
    294 
    295 device plumvideo: hpcfbif
    296 attach plumvideo at plumif
    297 file arch/hpcmips/dev/plumvideo.c	plumvideo
    298 
    299 device plumpcmcia: pcmciabus
    300 attach plumpcmcia at plumif
    301 file arch/hpcmips/dev/plumpcmcia.c	plumpcmcia
    302 
    303 device plumiobusif {[platform = -1], [slot = -1]}
    304 device plumiobus: plumiobusif
    305 attach plumiobus at plumif
    306 file arch/hpcmips/dev/plumiobus.c	plumiobus
    307 
    308 device plumisab: isabus
    309 attach plumisab at plumiobusif
    310 file arch/hpcmips/isa/plumisa_machdep.c	plumisab
    311 
    312 # OHCI USB controller
    313 attach	ohci at plumif with plumohci
    314 file	arch/hpcmips/dev/plumohci.c	plumohci
    315 
    316 #device txisab: isabus
    317 #attach txisab at txcsbus
    318 #file arch/hpcmips/isa/txisa_machdep.c	txisab
    319 
    320 #
    321 #	Real-time clock (not optional)
    322 #
    323 file	arch/hpcmips/hpcmips/clock.c
    324 file	dev/clock_subr.c
    325 
    326 # Floppy disk controller
    327 device	fdc {drive = -1}
    328 #attach	fdc at isa
    329 #device	fd: disk, isadma
    330 device	fd: disk
    331 #attach	fd at fdc
    332 file	arch/i386/isa/fd.c		fdc needs-flag
    333 major	{fd = 2}
    334 
    335 # network devices MII bus
    336 include "dev/mii/files.mii"
    337 
    338 # XXXX pcic here because it needs to be late.  The catch: pcic needs
    339 # to be late, so devices which attach to it are attached late.  But it
    340 # needs to be before its isa and pci attachments.  This answer is
    341 # non-optimal, but I don't have a better answer right now.
    342 
    343 # PCIC pcmcia contoller
    344 # XXX this needs to be done very late, so it's done here.  This feels
    345 # like a kludge, but it might be for the best.
    346 
    347 defopt	PCIC_ISA_ALLOC_IOBASE
    348 defopt	PCIC_ISA_ALLOC_IOSIZE
    349 defopt	PCIC_ISA_INTR_ALLOC_MASK
    350 
    351 device	pcic: pcmciabus
    352 file	dev/ic/i82365.c			pcic
    353 
    354 #
    355 # PCIC pcmcia controller
    356 #
    357 attach	pcic at isa with pcic_isa
    358 file	dev/isa/i82365_isa.c			pcic_isa
    359 file	dev/isa/i82365_isasubr.c		pcic_isa
    360 
    361 #
    362 # Machine-independent PCMCIA drivers
    363 #
    364 include "dev/pcmcia/files.pcmcia"
    365 
    366 # Serial Interface Unit
    367 attach com at vrip with com_vrip
    368 file	arch/hpcmips/vr/com_vrip.c			com_vrip
    369 
    370 # Memory Disk for boot tape
    371 file arch/hpcmips/dev/md_root.c		memory_disk_hooks
    372 major	{md = 6}
    373 
    374 include "dev/usb/files.usb"
    375