lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Mon, 07 May 2007 13:35:08 -0700
From:	Johnnie Peters <johnnie123@...izon.net>
To:	linux-kernel@...r.kernel.org
Subject: Problems with DMA in the pxa2xx_spi driver

Hi All,

I have written a SPI protocol driver to connect a data acquisition chip 
to a character based interface to read and write the device.  It works 
well in PIO mode and I am trying to get it to work with DMA.

To enable the DMA I am setting enable_dma in the pxa2xx_psi_chip struct 
and dma_burst_size to 16 in the pxa2xx_spi_chip structure under the 
board master file arch/arm/mach-pxa/xxxx.c.

Other than that I have not really changed anything.  I had assumed since 
DMA code has been in the driver a while that DMA would just work.  I 
must be missing some setup data I need.

Any help would be appreciated,

Johnnie


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ