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