NetBSD/sys/arch/netwinder/conf/files.netwinder
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

105 lines
2.2 KiB
Plaintext

# $NetBSD: files.netwinder,v 1.32 2004/03/13 17:31:34 bjh21 Exp $
#
# First try for arm-specific configuration info
#
maxpartitions 8
maxusers 2 8 64
# COMPAT_OLD_OFW for SHARKs
defflag COMPAT_OLD_OFW
# Maintain Interrupt statistics
defflag IRQSTATS
# X server support in console drivers
defflag XSERVER
# Bootloader options (COMPAT... to be dropped ASAP)
defflag COMPAT_OLD_BOOTLOADER
define todservice {}
#
# ISA and mixed ISA+EISA or ISA+PCI drivers
#
include "dev/isa/files.isa"
# Include WSCONS stuff
include "dev/wscons/files.wscons"
include "dev/rasops/files.rasops"
include "dev/wsfont/files.wsfont"
# Include arm32 footbridge
include "arch/arm/conf/files.footbridge"
#
# Machine-independent ATA drivers
#
include "dev/ata/files.ata"
# ISA DMA glue
file arch/arm/footbridge/isa/isadma_machdep.c isadma
# Game adapter (joystick)
file arch/arm/footbridge/isa/joy_timer.c joy
# Memory disk driver
file dev/md_root.c md & memory_disk_hooks
device todclock
attach todclock at todservice
file arch/arm/footbridge/todclock.c todclock needs-count
#
# Machine-independent SCSI drivers
#
include "dev/scsipi/files.scsipi"
# Generic MD files
file arch/netwinder/netwinder/autoconf.c
file arch/netwinder/netwinder/netwinder_machdep.c
file arch/arm/arm/disksubr.c disk
file arch/arm/arm/disksubr_acorn.c disk
file arch/arm/arm/disksubr_mbr.c disk
# ISA support.
file arch/arm/footbridge/isa/isa_machdep.c isa
file arch/arm/footbridge/isa/isa_io.c isa
file arch/arm/footbridge/isa/isa_io_asm.S isa
# ISA Plug 'n Play autoconfiguration glue.
file arch/arm/footbridge/isa/isapnp_machdep.c isapnp
device sysbeep
attach sysbeep at pcppi with sysbeep_isa
file arch/arm/footbridge/isa/sysbeep_isa.c sysbeep_isa
device ds1687rtc: todservice
attach ds1687rtc at isa
file arch/arm/footbridge/isa/dsrtc.c ds1687rtc
# Machine-independent I2O drivers.
include "dev/i2o/files.i2o"
# PCI devices
#
# Include PCI config
#
file arch/netwinder/pci/pci_machdep.c pci
include "dev/pci/files.pci"
device pcib: isabus
attach pcib at pci
file arch/netwinder/pci/pcib.c pcib
file arch/netwinder/pci/pciide_machdep.c pciide_common
include "dev/pckbport/files.pckbport"
include "arch/arm/conf/majors.arm32"