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