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

49 lines
1.3 KiB
Plaintext

# $NetBSD: files.lubbock,v 1.5 2004/03/13 17:31:33 bjh21 Exp $
#
# Intel LUBBOCK evaluation board configuration info
#
file arch/evbarm/lubbock/lubbock_machdep.c
# CPU support and integrated peripherals
include "arch/arm/xscale/files.pxa2x0"
# LUBBOCK on-board devices (including CPLD)
device obio {[addr = -1], [size = -1], [width = -1], [intr = -1]}
attach obio at pxaip
file arch/evbarm/lubbock/obio.c obio
# SMSC LAN91C96
attach sm at obio with sm_obio
defflag opt_lubbock.h LUBBOCK_SMC91C96_16BIT
file arch/evbarm/lubbock/if_sm_obio.c sm_obio
file arch/evbarm/lubbock/sm_obio_space.c sm_obio
file arch/evbarm/lubbock/sm_obio_space_asm.S sm_obio
# SA1111 companion chips
device sacc { [addr=-1], [size=0], [membase=-1], [memsize=0], [intr=-1] }
attach sacc at obio with sacc_obio
file arch/arm/sa11x0/sa1111.c sacc
file arch/evbarm/lubbock/sacc_obio.c sacc_obio
# PS/2 keyboard & mouse
device sackbc: pckbport
attach sackbc at sacc
file arch/arm/sa11x0/sa1111_kbc.c sackbc
include "dev/pckbport/files.pckbport"
# PCMCIA
include "dev/pcmcia/files.pcmcia"
device sacpcic: pcmciabus
attach sacpcic at sacc
file arch/arm/sa11x0/sa11x1_pcic.c sacpcic needs-flag
file arch/arm/sa11x0/sa11xx_pcic.c sacpcic
file arch/evbarm/lubbock/lubbock_pcic.c sacpcic
# LCD frame buffer
attach lcd at obio with lcd_obio
file arch/evbarm/lubbock/lubbock_lcd.c lcd_obio