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