ar71xx: improve support for the My Net Wi-Fi Range Extender device
[openwrt/openwrt.git] / target / linux / ar71xx / patches-3.10 / 431-spi-add-various-flags.patch
1 --- a/include/linux/spi/spi.h
2 +++ b/include/linux/spi/spi.h
3 @@ -519,6 +519,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 @@ -560,6 +562,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"