Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 272309
b: refs/heads/master
c: 75b7662
h: refs/heads/master
i:
  272307: b8bc85d
v: v3
  • Loading branch information
Richard Weinberger authored and Herbert Xu committed Oct 21, 2011
1 parent ebacf38 commit 59568e8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 906b2c9f2d9f395f5ca01b855b7c74b126517816
refs/heads/master: 75b766258eb2b8255c628a994663bd5298f216e6
1 change: 1 addition & 0 deletions trunk/drivers/crypto/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ config CRYPTO_DEV_HIFN_795X
select CRYPTO_BLKCIPHER
select HW_RANDOM if CRYPTO_DEV_HIFN_795X_RNG
depends on PCI
depends on !ARCH_DMA_ADDR_T_64BIT
help
This option allows you to have support for HIFN 795x crypto adapters.

Expand Down
6 changes: 2 additions & 4 deletions trunk/drivers/crypto/hifn_795x.c
Original file line number Diff line number Diff line change
Expand Up @@ -2744,10 +2744,8 @@ static int __init hifn_init(void)
unsigned int freq;
int err;

if (sizeof(dma_addr_t) > 4) {
printk(KERN_INFO "HIFN supports only 32-bit addresses.\n");
return -EINVAL;
}
/* HIFN supports only 32-bit addresses */
BUILD_BUG_ON(sizeof(dma_addr_t) != 4);

if (strncmp(hifn_pll_ref, "ext", 3) &&
strncmp(hifn_pll_ref, "pci", 3)) {
Expand Down

0 comments on commit 59568e8

Please sign in to comment.