[PATCH 0/2] remove nx842.h from include/linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Now that the crypto/842.c driver does only software 842 comp/decomp,
and the hardware crypto compressor for 842-nx is located in
drivers/crypto/nx with the NX 842 hw driver, there's no reason for
the nx842.h header to be located in include/linux/ anymore; nobody
should use the NX 842 hw driver directly, everyone should use the
crypto compression API.

The first patch moves the contents of include/linux/nx842.h into the
existing drivers/crypto/nx/nx-842.h header file.  The second patch
replaces the use of the NX842_MEM_COMPRESS define, since the 842-nx
crypto compression driver can directly get the required working
memory size from the NX 842 hw driver.

This cleans up include/linux/ by 1 file, and it saves some memory
by reducing the 842-nx working memory size down to exactly what the
NX 842 platform driver requires.

Dan Streetman (2):
  crypto: move include/linux/nx842.h into drivers/crypto/nx/nx-842.h
  crypto: replace NX842_MEM_COMPRESS with function

 MAINTAINERS                        |  1 -
 drivers/crypto/nx/nx-842-crypto.c  |  5 +++--
 drivers/crypto/nx/nx-842-powernv.c | 11 +++++++----
 drivers/crypto/nx/nx-842-pseries.c |  7 +++----
 drivers/crypto/nx/nx-842.c         | 11 +++++++++++
 drivers/crypto/nx/nx-842.h         | 18 +++++++++++++++++-
 include/linux/nx842.h              | 24 ------------------------
 7 files changed, 41 insertions(+), 36 deletions(-)
 delete mode 100644 include/linux/nx842.h

-- 
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux