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