NetBSD/sys/arch/algor/conf/files.algor
bjh21 dff5222d3a Abstract the interface between pckbc(4), and the pckbd(4) and pms(4)
drivers that attach to it.  This allows for other host interface chips
that use the same keyboards and mice, such as the ones in the ARM
IOMD20, ARM7500, and SA-1111.  The PC-compatible driver is still
called pckbc(4), and the new abstraction layer is "pckbport", so the
child devices have moved from sys/dev/pckbc to sys/dev/pckbport, which
also contains some code shared between all host controllers.  To avoid
incompatibility, pckbdreg.h is still installed in
/usr/include/dev/pckbc.

In theory, this shouldn't cause any behavioural changes in the drivers
concerned.  Thy just use rather more function pointers than before.  Tested
on i386 and (with a new host driver) acorn32.  Compiled on several other
affected architectures.
2004-03-13 17:31:33 +00:00

182 lines
4.3 KiB
Plaintext

# $NetBSD: files.algor,v 1.18 2004/03/13 17:31:33 bjh21 Exp $
# Algorithmics evaluation board specific configuration info.
# maxpartitions must be the first item in files.${ARCH}
maxpartitions 8
maxusers 8 16 64
# Platform support option headers.
defflag ALGOR_P4032 # Algorithmics P-4032
defflag ALGOR_P5064 # Algorithmics P-5064
defflag ALGOR_P6032 # Algorithmics P-6032
# Various items that a buggy PMON might not provide us.
defparam MEMSIZE
defparam ETHADDR
# Platform support files
file arch/algor/algor/algor_p4032_bus_io.c algor_p4032
file arch/algor/algor/algor_p4032_bus_locio.c algor_p4032
file arch/algor/algor/algor_p4032_bus_mem.c algor_p4032
file arch/algor/algor/algor_p4032_dma.c algor_p4032
file arch/algor/algor/algor_p4032_intr.c algor_p4032
file arch/algor/algor/algor_p5064_bus_io.c algor_p5064
file arch/algor/algor/algor_p5064_bus_mem.c algor_p5064
file arch/algor/algor/algor_p5064_dma.c algor_p5064
file arch/algor/algor/algor_p5064_intr.c algor_p5064
file arch/algor/algor/algor_p6032_bus_io.c algor_p6032
file arch/algor/algor/algor_p6032_bus_mem.c algor_p6032
file arch/algor/algor/algor_p6032_dma.c algor_p6032
file arch/algor/algor/algor_p6032_intr.c algor_p6032
file arch/algor/algor/autoconf.c
file arch/algor/algor/bus_dma.c
file arch/algor/algor/clock.c
file arch/algor/algor/disksubr.c
file arch/algor/algor/interrupt.c
file arch/algor/algor/led.c
file arch/algor/algor/machdep.c
file arch/algor/algor/pmon.c
#
# The autoconfiguration root.
#
device mainbus { [addr = -1] }
attach mainbus at root
file arch/algor/dev/mainbus.c mainbus
device cpu
attach cpu at mainbus
file arch/algor/algor/cpu.c cpu
device mcclock
file arch/algor/dev/mcclock.c mcclock
#
# Machine-independent I2O drivers.
#
include "dev/i2o/files.i2o"
#
# Machine-independent SCSI drivers
#
include "dev/scsipi/files.scsipi"
#
# Machine-independent ATA drivers
#
include "dev/ata/files.ata"
#
# Machine-independent WS console drivers
#
include "dev/wscons/files.wscons"
#
# Machine-independent PC-style keyboard controller drivers
#
include "dev/pckbport/files.pckbport"
#
# Machine-independent USB device support
#
include "dev/usb/files.usb"
# Memory Disk
file dev/md_root.c memory_disk_hooks
# Console glue.
file dev/cons.c
include "dev/pci/files.pci"
include "dev/isa/files.isa"
#
# PCI bus support.
#
device vtpbc: pcibus
file arch/algor/pci/vtpbc.c vtpbc
attach vtpbc at mainbus with vtpbc_mainbus
file arch/algor/dev/vtpbc_mainbus.c vtpbc_mainbus
device bonito: pcibus
file arch/mips/bonito/bonito_pci.c bonito
file arch/mips/bonito/bonito_iobc.c bonito
attach bonito at mainbus with bonito_mainbus
file arch/algor/dev/bonito_mainbus.c bonito_mainbus
device pcib: isabus
attach pcib at pci
file arch/algor/pci/pcib.c pcib & (algor_p5064 |
algor_p6032)
file arch/algor/pci/pciide_machdep.c pciide_common
#
# ISA bus support.
#
attach mcclock at isa with mcclock_isa
file arch/algor/isa/mcclock_isa.c mcclock_isa
file arch/algor/isa/isadma_bounce.c isa & (algor_p5064 |
algor_p6032)
# ISA speaker generates keyboard beep
#device isabeep
#attach isabeep at pcppi
# Floppy disk controller
device fdc { drive = -1 }: isadma
file dev/isa/fd.c fdc needs-flag
attach fdc at isa with fdc_isa
file dev/isa/fdc_isa.c fdc_isa
device fd: disk
attach fd at fdc
# ISA Plug and Play devices
file arch/algor/isa/isapnp_machdep.c isapnp
# PCIC pcmcia controller
defparam PCIC_ISA_ALLOC_IOBASE
defparam PCIC_ISA_ALLOC_IOSIZE
defparam PCIC_ISA_INTR_ALLOC_MASK
device pcic: pcmciabus
file dev/ic/i82365.c pcic
# PCIC pcmcia controller on ISA bus.
attach pcic at isa with pcic_isa
file dev/isa/i82365_isa.c pcic_isa
# PCIC pcmcia controller on PnP board
attach pcic at isapnp with pcic_isapnp
file dev/isapnp/i82365_isapnp.c pcic_isapnp
# Code common to ISA and ISAPnP attachments
file dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp
# Machine-independent PCMCIA drivers
include "dev/pcmcia/files.pcmcia"
#
# Devices on the P-4032 local I/O bus.
#
attach mcclock at mainbus with mcclock_mainbus
file arch/algor/dev/mcclock_mainbus.c mcclock_mainbus & algor_p4032
attach com at mainbus with com_mainbus
file arch/algor/dev/com_mainbus.c com_mainbus & algor_p4032
attach lpt at mainbus with lpt_mainbus
file arch/algor/dev/lpt_mainbus.c lpt_mainbus & algor_p4032
include "arch/algor/conf/majors.algor"