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