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