ar71xx: add preliminary support for Mikrotik RB2011L
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-3.3 / 431-spi-add-various-flags.patch
1 --- a/include/linux/spi/spi.h
2 +++ b/include/linux/spi/spi.h
3 @@ -503,6 +503,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 @@ -544,6 +546,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"