summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/faraday/ftmac100.c
Commit message (Collapse)AuthorAgeFilesLines
* net: ftgmac100/ftmac100: add missing interrupt.h includeThomas Faber2012-01-181-0/+1
| | | | | | | | Fixes compilation failure of these modules due to missing irqreturn_t type for the ft(g)mac100_interrupt definition. Signed-off-by: Thomas Faber <thfabba@gmx.de> Signed-off-by: David S. Miller <davem@davemloft.net>
* ftmac100: fix skb truesize underestimationEric Dumazet2011-10-131-1/+4
| | | | | | | | | | | | ftmac100 allocates a page per skb fragment. We must account PAGE_SIZE increments on skb->truesize, not the actual frag length. If frame is under 64 bytes, page is freed, so increase truesize only for bigger frames. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> CC: Po-Yu Chuang <ratbert@faraday-tech.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* ftgmac100/ftmac100: Move the Faraday driversJeff Kirsher2011-08-111-0/+1198
Move the Faraday driver into drivers/net/ethernet/faraday/ and make the necessary Kconfig and Makefile changes. CC: "Po-Yu Chuang" <ratbert@faraday-tech.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Acked-by: Po-Yu Chuang <ratbert@faraday-tech.com>