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