[POWERPC] Xilinx: hwicap driver
authorStephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Tue, 5 Feb 2008 17:24:09 +0000 (04:24 +1100)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 6 Feb 2008 17:23:52 +0000 (10:23 -0700)
commitef141a0bb0dc6172bb8fe5408cf8adbd5f76ff45
tree41bc7cbfa8e8501c510632f8e98b3603c6b3746c
parent3de66a175d2014246a2e990412e5750922e5c7d8
[POWERPC] Xilinx: hwicap driver

This includes code for new fifo-based xps_hwicap in addition to the
older opb_hwicap, which has a significantly different interface.  The
common code between the two drivers is largely shared.

Significant differences exists between this driver and what is
supported in the EDK drivers.  In particular, most of the
architecture-specific code for reconfiguring individual FPGA resources
has been removed.  This functionality is likely better provided in a
user-space support library.  In addition, read and write access is
supported.  In addition, although the xps_hwicap cores support
interrupt-driver mode, this driver only supports polled operation, in
order to make the code simpler, and since the interrupt processing
overhead is likely to slow down the throughput under Linux.

Signed-off-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/char/Kconfig
drivers/char/Makefile
drivers/char/xilinx_hwicap/Makefile [new file with mode: 0644]
drivers/char/xilinx_hwicap/buffer_icap.c [new file with mode: 0644]
drivers/char/xilinx_hwicap/buffer_icap.h [new file with mode: 0644]
drivers/char/xilinx_hwicap/fifo_icap.c [new file with mode: 0644]
drivers/char/xilinx_hwicap/fifo_icap.h [new file with mode: 0644]
drivers/char/xilinx_hwicap/xilinx_hwicap.c [new file with mode: 0644]
drivers/char/xilinx_hwicap/xilinx_hwicap.h [new file with mode: 0644]