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