NetBSD/sys/dev/hpc/files.hpckbd
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

17 lines
398 B
Plaintext

# $NetBSD: files.hpckbd,v 1.4 2004/03/13 17:31:34 bjh21 Exp $
# H/PC keyboard interface for wskbd
defparam PCKBD_LAYOUT
device hpckbdif {}
device hpckbd: wskbddev
attach hpckbd at hpckbdif
file dev/hpc/hpckbd.c hpckbd
device btnmgr: wskbddev
attach btnmgr at mainbus
file dev/hpc/btnmgr.c btnmgr
file dev/pckbport/wskbdmap_mfii.c btnmgr | hpckbd
file dev/hpc/pckbd_encode.c btnmgr | hpckbd