summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ezchip
Commit message (Collapse)AuthorAgeFilesLines
* NET: nps_enet: minor namespace cleanupNoam Camus2015-08-231-3/+4
| | | | | | We define buf_int_enable in the minimal namespace it is used. Signed-off-by: Noam Camus <noamc@ezchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* NET: nps_enet: TX done acknowledge.Noam Camus2015-08-231-0/+3
| | | | | | | | | This is needed for when TX done interrupt is in "level mode". For example it is true for some simulators of this device. Signed-off-by: Noam Camus <noamc@ezchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* NET: nps_enet: drop control framesNoam Camus2015-08-231-4/+4
| | | | | | | | We set controller to drop control frames and not trying to pass them on. This is only needed for debug reasons. Signed-off-by: Noam Camus <noamc@ezchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* NET: nps_enet: TX done race conditionNoam Camus2015-08-231-7/+3
| | | | | | | | | | | We need to set tx_skb pointer before send frame. If we receive interrupt before we set pointer we will try to free SKB with wrong pointer. Now we are sure that SKB pointer will never be NULL during handling TX done and check is removed. Signed-off-by: Noam Camus <noamc@ezchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* NET: nps_enet: replace use of cause registerNoam Camus2015-08-232-24/+5
| | | | | | | | | | When interrupt is received we read directly from control register for RX/TX instead of reading cause register since this register fails to indicate TX done when TX interrupt is "edge mode". Signed-off-by: Noam Camus <noamc@ezchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* NET: Add ezchip ethernet driverNoam Camus2015-06-234-0/+1021
Simple LAN device for debug or management purposes. Device supports interrupts for RX and TX(completion). Device does not have DMA ability. Signed-off-by: Noam Camus <noamc@ezchip.com> Signed-off-by: Tal Zilcer <talz@ezchip.com> Acked-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: David S. Miller <davem@davemloft.net>
OpenPOWER on IntegriCloud