diff options
author | David S. Miller <davem@davemloft.net> | 2016-04-16 18:30:27 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-16 18:30:27 -0400 |
commit | ec9dcd3507f055f025a7692a1ff90ce105f84c1b (patch) | |
tree | c8159b3bcab85192e6e1d8d0a15bb990c893ba8a /net/ipv4/ipip.c | |
parent | 544a773a01828e3cc3b553721f68d880d0d27a97 (diff) | |
parent | 0c165ff2d8db575efa41f2586c2de193850dec48 (diff) | |
download | talos-obmc-linux-ec9dcd3507f055f025a7692a1ff90ce105f84c1b.tar.gz talos-obmc-linux-ec9dcd3507f055f025a7692a1ff90ce105f84c1b.zip |
Merge branch 'w5100-spi-and-w5200-support'
Akinobu Mita says:
====================
net: w5100: add support W5100/W5200 for SPI interface
This series add support for Wiznet W5100 and W5200 for SPI interface.
We can easily find the ethernet modules and shield for Arduino with
these chips for purchase. I've tested them with BeagleBone.
Wiznet W5100 for mmio access has already supported by w5100 driver.
In order to share the code between mmio mode and SPI mode, this series
firstly adds ability to support another register access interface to
the existing w5100 driver. This ground work also requires to introduce
workqueue and threaded irq because SPI transfers are callable only from
contexts that can sleep unlike mmio access.
The latter part of this series adds w5100-spi driver which actually
support W5100 and W5200 for SPI interface. Supporting W5100 is
straight forward because it only required to add a register access
interface by the SPI transfer. W5100 and W5200 have similar memory
map which justifies adding W5200 support to w5100 driver.
* Changes from v2 to v3
- Add comment for reg_lock
- Add ability to allocate ops specific data structure
- Allocate w5200 ops specific data structure to put DMA-safe buffer
- Add missing chip_id assignment for w5100_*_ops
* Changes from v1 to v2
- Use a plain single pointer instead of SKB queue, spotted by David S. Miller
- Correct timeout period in w5100_command
- Use spi_write_then_read instead of spi_write which needs DMA-safe buffer
- Support W5200
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ipip.c')
0 files changed, 0 insertions, 0 deletions