Home | History | Annotate | Line # | Download | only in conf
files.hpcmips revision 1.13
      1 #	$NetBSD: files.hpcmips,v 1.13 1999/12/28 03:15:17 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/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 device vrpiu: wsmousedev
    150 attach vrpiu at vrip
    151 file arch/hpcmips/vr/vrpiu.c			vrpiu
    152 file arch/hpcmips/vr/mra.c			vrpiu
    153 
    154 #
    155 #	TOSHIBA TX3912/3922
    156 #
    157 defopt TX39_DEBUG
    158 defopt TX39_WATCHDOGTIMER
    159 defopt TX39ICUDEBUG
    160 defopt TX39CLKDEBUG
    161 defopt TX39BIUDEBUG
    162 defopt TX39IODEBUG
    163 defopt TX39POWERDEBUG
    164 defopt TX39UARTDEBUG
    165 defopt IT8368DEBUG
    166 defopt USE_POLL
    167 
    168 device txsim { }
    169 device txcsbusif {[platform = -1]}
    170 device txcomif {[slot = -1]}
    171 
    172 attach txsim at mainbus
    173 file arch/hpcmips/tx/txsim.c		txsim
    174 
    175 device tx39biu: txcsbusif
    176 attach tx39biu at txsim
    177 file arch/hpcmips/tx/tx39biu.c		tx39biu
    178 
    179 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]}
    180 attach txcsbus at txcsbusif
    181 file arch/hpcmips/tx/txcsbus.c		txcsbus
    182 
    183 device tx39icu
    184 attach tx39icu at txsim
    185 file arch/hpcmips/tx/tx39icu.c		tx39icu
    186 
    187 device tx39power
    188 attach tx39power at txsim
    189 file arch/hpcmips/tx/tx39power.c	tx39power
    190 
    191 device tx39clock
    192 attach tx39clock at txsim
    193 file arch/hpcmips/tx/tx39clock.c	tx39clock
    194 
    195 device tx3912video: mainbus	# XXX crazy XXX
    196 attach tx3912video at txsim
    197 file arch/hpcmips/tx/tx3912video.c	tx3912video
    198 
    199 device tx39io
    200 attach tx39io at txsim
    201 file arch/hpcmips/tx/tx39io.c		tx39io
    202 
    203 device tx39uart: txcomif
    204 attach tx39uart at txsim
    205 file arch/hpcmips/tx/tx39uart.c		tx39uart	needs-flag
    206 
    207 device txcom
    208 attach txcom at txcomif
    209 file arch/hpcmips/tx/txcom.c		txcom
    210 
    211 #	ITE 8368E PCMCIA controller
    212 device it8368e: pcmciabus
    213 attach it8368e at txcsbus
    214 file arch/hpcmips/dev/it8368.c	it8368e
    215 
    216 device skbdif {}
    217 #	PHILIPS 74ALVC16241 buffer driver (keyboard)
    218 device p7416buf: skbdif
    219 attach p7416buf at txcsbus
    220 file arch/hpcmips/dev/p7416buf.c	p7416buf	needs-flag
    221 
    222 #	MITUBISHI M38813 keryboard controller
    223 device m38813c: skbdif
    224 attach m38813c at txcsbus
    225 file arch/hpcmips/dev/m38813c.c		m38813c		needs-flag
    226 
    227 #	TOSHIBA TC5165BTFS buffer driver (keyboard)
    228 device tc5165buf: skbdif
    229 attach tc5165buf at txcsbus
    230 file arch/hpcmips/dev/tc5165buf.c	tc5165buf	needs-flag
    231 
    232 #	Simple keyboard interface for wskbd
    233 device skbd: wskbddev
    234 attach skbd at skbdif
    235 file arch/hpcmips/dev/skbd.c		skbd
    236 
    237 
    238 #	TOSHIBA TC6358E(Plum2)
    239 device plumif {}
    240 device plum: plumif
    241 attach plum at txcsbus
    242 file arch/hpcmips/dev/plum.c		plum
    243 
    244 device plumicu
    245 attach plumicu at plumif
    246 file arch/hpcmips/dev/plumicu.c		plumicu
    247 
    248 device plumpower
    249 attach plumpower at plumif
    250 file arch/hpcmips/dev/plumpower.c	plumpower
    251 
    252 device plumvideo: mainbus	# XXX crazy XXX
    253 attach plumvideo at plumif
    254 file arch/hpcmips/dev/plumvideo.c	plumvideo
    255 
    256 device plumpcmcia: pcmciabus
    257 attach plumpcmcia at plumif
    258 file arch/hpcmips/dev/plumpcmcia.c	plumpcmcia
    259 
    260 device plumiobusif {[platform = -1], [slot = -1]}
    261 device plumiobus: plumiobusif
    262 attach plumiobus at plumif
    263 file arch/hpcmips/dev/plumiobus.c	plumiobus
    264 
    265 device plumisab: isabus
    266 attach plumisab at plumiobusif
    267 file arch/hpcmips/isa/plumisa_machdep.c	plumisab
    268 
    269 # OHCI USB controller
    270 #attach	ohci at plumif with plumohci
    271 #file	arch/hpcmips/dev/plumohci.c	plumohci
    272 
    273 #device txisab: isabus
    274 #attach txisab at txcsbus
    275 #file arch/hpcmips/isa/txisa_machdep.c	txisab
    276 
    277 #
    278 #	Real-time clock (not optional)
    279 #
    280 file	arch/hpcmips/hpcmips/clock.c
    281 file	dev/clock_subr.c
    282 
    283 # Floppy disk controller
    284 device	fdc {drive = -1}
    285 #attach	fdc at isa
    286 #device	fd: disk, isadma
    287 device	fd: disk
    288 #attach	fd at fdc
    289 file	arch/i386/isa/fd.c		fdc needs-flag
    290 major	{fd = 2}
    291 
    292 # network devices MII bus
    293 include "dev/mii/files.mii"
    294 
    295 # XXXX pcic here because it needs to be late.  The catch: pcic needs
    296 # to be late, so devices which attach to it are attached late.  But it
    297 # needs to be before its isa and pci attachments.  This answer is
    298 # non-optimal, but I don't have a better answer right now.
    299 
    300 # PCIC pcmcia contoller
    301 # XXX this needs to be done very late, so it's done here.  This feels
    302 # like a kludge, but it might be for the best.
    303 
    304 defopt	PCIC_ISA_ALLOC_IOBASE
    305 defopt	PCIC_ISA_ALLOC_IOSIZE
    306 defopt	PCIC_ISA_INTR_ALLOC_MASK
    307 
    308 device	pcic: pcmciabus
    309 file	dev/ic/i82365.c			pcic
    310 
    311 #
    312 # PCIC pcmcia controller
    313 #
    314 attach	pcic at isa with pcic_isa
    315 file	dev/isa/i82365_isa.c			pcic_isa
    316 file	dev/isa/i82365_isasubr.c		pcic_isa
    317 
    318 #
    319 # Machine-independent PCMCIA drivers
    320 #
    321 include "dev/pcmcia/files.pcmcia"
    322 
    323 # Serial Interface Unit
    324 attach com at vrip with com_vrip
    325 file	arch/hpcmips/vr/com_vrip.c			com_vrip
    326 
    327 # Memory Disk for boot tape
    328 file arch/hpcmips/dev/md_root.c		memory_disk_hooks
    329 major	{md = 6}
    330 
    331 #include "dev/usb/files.usb"
    332