summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qualcomm/qca_7k_common.c
Commit message (Collapse)AuthorAgeFilesLines
* net: qualcomm: make qca_7k_common a separate kernel moduleStefan Wahren2017-05-301-0/+10
| | | | | | | | In order to share common functions between QCA7000 SPI and UART protocol driver the qca_7k_common needs to be a separate kernel module. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* net: qualcomm: prepare frame decoding for UART driverStefan Wahren2017-05-301-6/+6
| | | | | | | | | | Unfortunately the frame format is not exactly identical between SPI and UART. In case of SPI there is an additional HW length at the beginning. So store the initial state to make the decoding state machine more flexible and easy to extend for UART support. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* net: qualcomm: rename qca_framing.c to qca_7k_common.cStefan Wahren2017-05-301-0/+156
As preparation for the upcoming UART driver we need a module which contains common functions for both interfaces. The module qca_framing is a good candidate but renaming to qca_7k_common would make it clear. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: David S. Miller <davem@davemloft.net>