Home | History | Annotate | Line # | Download | only in conf
files.acorn32 revision 1.10
      1 #	$NetBSD: files.acorn32,v 1.10 2002/04/19 01:04:42 wiz Exp $
      2 #
      3 # First try for arm-specific configuration info
      4 #
      5 
      6 maxpartitions	8
      7 maxusers 2 8 64
      8 
      9 # Maintain Interrupt statistics
     10 defflag	IRQSTATS
     11 
     12 # X server support in console drivers
     13 defflag	XSERVER
     14 
     15 #
     16 # predefine some variables ... not that we have one but the arm framework
     17 # needs it to compile ... esp. the isadma bothers me (used by pmap.c)
     18 # it is never included but i need the isadma.h it generates
     19 #
     20 defflag	FOOTBRIDGE
     21 define	isadma
     22 file	dev/isa/isadma.c		isadma		needs-flag
     23 
     24 
     25 #
     26 # Machine-independent ATA drivers
     27 #
     28 include "dev/ata/files.ata"
     29 major	{wd = 16}
     30 
     31 # PIOC (Peripheral IO Controller) device
     32 # parent to wdc, fdc, com and lpt
     33 device	pioc { [offset = -1], [dack = -1], [irq = -1] }
     34 attach	pioc at mainbus
     35 file	arch/acorn32/mainbus/pioc.c
     36 
     37 # Standard NetBSD wdc driver
     38 attach	wdc at pioc with wdc_pioc
     39 file	arch/acorn32/mainbus/wdc_pioc.c		wdc_pioc
     40 
     41 # Standard parallel driver
     42 # including dev/ic/lpt.c from the ISA file ... this sux
     43 device	lpt
     44 file	dev/ic/lpt.c				lpt		needs-flag
     45 
     46 attach	lpt at pioc with lpt_pioc
     47 file	arch/acorn32/mainbus/lpt_pioc.c		lpt_pioc	needs-flag
     48 
     49 # Standard NetBSD fd driver
     50 device	fdc {drive = -1}
     51 attach	fdc at pioc
     52 device	fd: disk
     53 attach	fd at fdc
     54 file	arch/acorn32/mainbus/fd.c			fdc needs-flag
     55 major	{fd = 17}
     56 
     57 # Standard serial driver
     58 attach	com at pioc with com_pioc
     59 file	arch/acorn32/mainbus/com_pioc.c		com_pioc
     60 
     61 # Memory disk driver
     62 file	arch/acorn32/dev/md_hooks.c		md & memory_disk_hooks
     63 major	{md = 18}
     64 
     65 # RAIDframe
     66 major	{raid = 71}
     67 
     68 # IOMD device
     69 # parent to kbd, qms, opms, iic
     70 # also provides irq and timer services
     71 device	iomd {}
     72 attach	iomd at mainbus
     73 file	arch/arm/iomd/iomd.c			iomd needs-flag
     74 file	arch/arm/iomd/iomd_io.c		iomd
     75 file	arch/arm/iomd/iomd_io_asm.S		iomd
     76 file	arch/arm/iomd/iomd_irq.S		iomd
     77 file	arch/arm/iomd/iomd_irqhandler.c	iomd
     78 file	arch/arm/iomd/iomd_fiq.S		iomd
     79 file	arch/arm/iomd/iomd_dma.c		iomd
     80 
     81 # IIC device
     82 device	iic { addr = -1 }
     83 file	arch/arm/iomd/iic.c			iic	needs-flag
     84 
     85 attach iic at iomd with iic_iomd
     86 file	arch/arm/iomd/iic_iomd.c		iic_iomd
     87 file	arch/arm/iomd/iomd_iic.S		iic_iomd
     88 
     89 # IIC based RTC
     90 define todservice {}
     91 device	rtc : todservice
     92 attach	rtc at iic
     93 file	arch/arm/iomd/rtc.c			rtc	needs-flag
     94 
     95 device	todclock
     96 attach	todclock at todservice
     97 file	arch/arm/iomd/todclock.c		todclock	needs-count
     98 
     99 # IOMD mouse devices
    100 # clock device
    101 device	clock
    102 attach	clock at iomd
    103 file	arch/arm/iomd/iomd_clock.c		iomd
    104 
    105 # quadmouse device
    106 device	qms
    107 file	arch/arm/iomd/qms.c			qms needs-flag
    108 
    109 attach	qms at iomd with qms_iomd
    110 file	arch/arm/iomd/qms_iomd.c		qms_iomd
    111 
    112 # PS/2 mouse device
    113 device	opms: tty
    114 file	arch/arm/iomd/opms.c			opms & opms_iomd needs-flag
    115 
    116 attach	opms at iomd with opms_iomd
    117 file	arch/arm/iomd/opms_iomd.c		opms_iomd
    118 
    119 # Standard keyboard driver (obsolete ... old vidc console)
    120 device	kbd
    121 file	arch/arm/iomd/kbd.c			kbd needs-flag
    122 
    123 attach	kbd at iomd with kbd_iomd
    124 file	arch/arm/iomd/kbd_iomd.c		kbd_iomd
    125 
    126 #
    127 # wscons
    128 #
    129 
    130 # Include MI WSCONS stuff
    131 include "dev/wscons/files.wscons"
    132 include "dev/rasops/files.rasops"
    133 include "dev/wsfont/files.wsfont"
    134 
    135 # wscons quadmouse device
    136 device	wsqms : wsmousedev
    137 file	arch/arm/iomd/wsqms.c			wsqms needs-flag
    138 
    139 attach wsqms at iomd with wsqms_iomd
    140 file	arch/arm/iomd/wsqms_iomd.c		wsqms_iomd
    141 
    142 # RPC wscons keyboard driver
    143 device rpckbd : wskbddev
    144 file	arch/arm/iomd/rpckbd.c			rpckbd needs-flag
    145 file	arch/acorn32/dev/wskbdmap_mfii.c	rpckbd
    146 
    147 attach rpckbd at iomd with rpckbd_iomd
    148 file	arch/arm/iomd/rpckbd_iomd.c		rpckbd_iomd
    149 
    150 # VIDC device
    151 # parent to vidcconsole, vidcaudio, beep
    152 device	vidc { [base = -1], [dack = -1], [irq = -1] }
    153 attach	vidc at mainbus
    154 file	arch/arm/iomd/vidc20.c		vidc needs-count
    155 
    156 # VIDC video wscons device
    157 device vidcvideo: rasops4, rasops8, rasops16, rasops32, wsemuldisplaydev
    158 attach vidcvideo at vidc
    159 file	arch/arm/iomd/vidc20config.c		vidcvideo needs-flag
    160 file	arch/arm/iomd/vidcvideo.c		vidcvideo needs-flag
    161 
    162 # Audio devices
    163 device	beep
    164 attach	beep at vidc
    165 file	arch/arm/iomd/beep.c			beep needs-flag
    166 
    167 device	vidcaudio: audio
    168 attach	vidcaudio at vidc
    169 file	arch/arm/iomd/vidcaudio.c		vidcaudio needs-flag
    170 
    171 device	lmcaudio: audio
    172 attach	lmcaudio at vidc
    173 file	arch/arm/iomd/lmcaudio.c		lmcaudio needs-flag
    174 file	arch/arm/iomd/lmc1982.S		lmcaudio
    175 
    176 # Podule bus device
    177 include "dev/podulebus/files.podulebus"
    178 
    179 attach	podulebus at root
    180 file	arch/acorn32/podulebus/podulebus.c	podulebus needs-flag
    181 file	arch/acorn32/podulebus/podulebus_io.c	podulebus
    182 file	arch/acorn32/podulebus/podulebus_io_asm.S	podulebus
    183 file	arch/acorn32/podulebus/netslot.c		podulebus
    184 
    185 
    186 # Ethernet devices
    187 
    188 # Novell NE1000 and NE2000 clones (EtherM, EtherH)
    189 attach	ne at podulebus with ne_pbus: dp83905, mx98905
    190 file	arch/acorn32/podulebus/if_ne_pbus.c	ne_pbus
    191 
    192 device	ie: ether, ifnet, arp
    193 attach	ie at podulebus
    194 file	arch/acorn32/podulebus/if_ie.c		ie
    195 
    196 #define	ipkdb
    197 
    198 #device kie: ipkdb
    199 #attach kie at podule
    200 #file	arch/acorn32/podulebus/ipkdb_ie.c		kie
    201 
    202 #file	arch/arm32/arm32/ipkdb_glue.c		ipkdb
    203 #file	arch/arm32/arm32/ipkdb_step.c		ipkdb
    204 
    205 #
    206 # Machine-independent SCSI drivers
    207 #
    208 
    209 include "dev/scsipi/files.scsipi"
    210 major	{sd = 24}
    211 major	{cd = 26}
    212 
    213 #
    214 # Miscelanious podulebus devices not moved yet to dev/podules
    215 #
    216 
    217 # Generic sbic (WD3393) driver
    218 define	sbic
    219 file	arch/acorn32/podulebus/sbic.c		sbic
    220 
    221 # Acorn SCSI I specific layer for sbic
    222 device	asc: scsi, sbic, podloader
    223 attach	asc at podulebus
    224 file	arch/acorn32/podulebus/asc.c		asc needs-flag
    225 
    226 # Generic AMD AM53C94 driver
    227 define	esc
    228 file	arch/acorn32/podulebus/esc.c		esc
    229 
    230 # Connect32 specific layer for esc
    231 device	cosc: scsi, esc
    232 attach	cosc at podulebus
    233 file	arch/acorn32/podulebus/cosc.c		cosc
    234 
    235 # Generic fas216 + esp216 driver
    236 define	sfas
    237 file	arch/acorn32/podulebus/sfas.c		sfas
    238 
    239 device	ptsc: scsi, sfas, podloader
    240 attach	ptsc at podulebus
    241 file	arch/acorn32/podulebus/ptsc.c		ptsc
    242 
    243 device	csc: scsi, sfas, podloader
    244 attach	csc at podulebus
    245 file	arch/acorn32/podulebus/csc.c		csc
    246 
    247 # Cumana SCSI1 specific layer for ncr5380
    248 device	csa: scsi, ncr5380sbc, podloader
    249 attach	csa at podulebus
    250 file	arch/acorn32/podulebus/csa.c		csa
    251 
    252 # ICS IDE driver
    253 device	icside {[channel = -1]}: wdc_base, ata, atapi
    254 attach	icside at podulebus
    255 file	arch/acorn32/podulebus/icside.c		icside
    256 file	arch/acorn32/podulebus/icside_io_asm.S	icside
    257 
    258 # Yellowstone RapIDE driver
    259 device	rapide {[channel = -1]}: wdc_base, ata, atapi
    260 attach	rapide at podulebus
    261 file	arch/acorn32/podulebus/rapide.c		rapide
    262 file	arch/acorn32/podulebus/rapide_io_asm.S	rapide
    263 
    264 # Simtec IDE driver
    265 device	simide {[channel = -1]}: wdc_base, ata, atapi
    266 attach	simide at podulebus
    267 file	arch/acorn32/podulebus/simide.c		simide
    268 file	arch/acorn32/podulebus/simide_io_asm.S	simide
    269 
    270 # Atomwide Multi-Port Serial driver
    271 device	amps {}
    272 attach	amps at podulebus
    273 attach	com at amps with com_amps
    274 file	arch/acorn32/podulebus/amps.c		amps
    275 
    276 
    277 #
    278 # VIDC console stuff (old)
    279 #
    280 
    281 device	vidcconsole
    282 attach	vidcconsole at vidc
    283 file	arch/arm/iomd/console/vidcconsole.c	vidcconsole needs-count
    284 file	arch/arm/iomd/console/consinit.c	vidc needs-count
    285 device	vt: tty
    286 attach	vt at vidc
    287 
    288 file	dev/cninit.c				vt
    289 file	arch/arm/iomd/console/console.c		vt needs-count
    290 file	arch/arm/iomd/console/vidcrender.c	vt
    291 file	arch/arm/iomd/console/vidc_mc.S	vt
    292 file	arch/arm/iomd/console/vidc.c		vt
    293 file	arch/arm/iomd/console/vt220.c		vt
    294 file	arch/arm/iomd/console/debugconsole.c 	vt
    295 file	arch/arm/iomd/console/dumb.c 		vt
    296 
    297 # Generic MD files
    298 file	arch/acorn32/acorn32/autoconf.c
    299 file	arch/acorn32/acorn32/conf.c
    300 
    301 file	arch/arm/arm/disksubr.c			disk
    302 file	arch/arm/arm/disksubr_acorn.c		disk
    303 file	arch/arm/arm/disksubr_mbr.c		disk
    304 
    305 file	arch/arm/arm32/intr.c
    306 file	arch/arm/arm32/spl.S
    307 
    308 # RiscPC specific files
    309 file	arch/acorn32/acorn32/rpc_machdep.c
    310 file	arch/acorn32/acorn32/rpc_kbd_map.c
    311 
    312 device	sysbeep
    313 attach	sysbeep at vidc with sysbeep_vidc
    314 file	arch/arm/iomd/sysbeep_vidc.c	sysbeep_vidc
    315 
    316 #
    317 # Machine-independent I2O drivers.
    318 #
    319 include "dev/i2o/files.i2o"
    320 
    321 
    322 #
    323 # maybe we will use these later one time :
    324 #
    325 # Include USB stuff
    326 #include "dev/usb/files.usb"
    327 
    328 #
    329 # we need this for rpcwskbd.c to compile
    330 #
    331 include "dev/pckbc/files.pckbc"
    332 
    333