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