ar71xx: rewrite SPI drivers for the RB4xx boards
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-2.6.32 / 151-spi-add-various-flags.patch
1 --- a/include/linux/spi/spi.h
2 +++ b/include/linux/spi/spi.h
3 @@ -434,6 +434,8 @@ struct spi_transfer {
4 dma_addr_t rx_dma;
5
6 unsigned cs_change:1;
7 + unsigned verify:1;
8 + unsigned fast_write:1;
9 u8 bits_per_word;
10 u16 delay_usecs;
11 u32 speed_hz;
12 @@ -475,6 +477,7 @@ struct spi_message {
13 struct spi_device *spi;
14
15 unsigned is_dma_mapped:1;
16 + unsigned fast_read:1;
17
18 /* REVISIT: we might want a flag affecting the behavior of the
19 * last transfer ... allowing things like "read 16 bit length L"