cyclades: introduce cyy_readb/writeb
authorJiri Slaby <jirislaby@gmail.com>
Sat, 19 Sep 2009 20:13:16 +0000 (13:13 -0700)
committerLive-CD User <linux@linux.site>
Sat, 19 Sep 2009 20:13:16 +0000 (13:13 -0700)
commit3aeea5b92210083c7cffd4f08a0bb141d3f2d574
tree43c1572a397b902513e75ad08f8bdbd51b06d41e
parent0d3487294e4e175eb6371c8df8ef44b45964e0f6
cyclades: introduce cyy_readb/writeb

Add helpers for io operations, so that we can eliminate huge
amount of supporting code. It is now centralized in those
helpers and used values are precomputed in the init phase.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/cyclades.c
include/linux/cyclades.h