net: ethernet: enc28j60: support half-duplex SPI controllers
authorMichael Heimpold <mhei@heimpold.de>
Thu, 28 Apr 2016 20:06:14 +0000 (22:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Apr 2016 20:23:02 +0000 (16:23 -0400)
commit2957a28a0e874aea0f734e2897b27f669502a970
treeb7f3a0b6389c4243cf26af0888ebd80925263f9c
parentf4b05d27ec6b032ca504591e2a157b058b6f172f
net: ethernet: enc28j60: support half-duplex SPI controllers

The current spi_read_buf function fails on SPI host masters which
are only half-duplex capable. Splitting the Tx and Rx part solves
this issue.

Tested on Raspberry Pi (full duplex) and I2SE Duckbill (half duplex).

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/enc28j60.c
This page took 0.02577 seconds and 5 git commands to generate.