Le jeudi 10 mars 2011 à 16:08 +0800, Po-Yu Chuang a écrit :
From: Po-Yu Chuang <redacted>
FTGMAC100 Ethernet Media Access Controller supports 10/100/1000 Mbps
and MII/GMII. This driver has been working on some ARM/NDS32 SoC's
including Faraday A369 and Andes AG102.
Hi
It seems very close from drivers/net/ftmac100.c one. Are you sure a
factorization is not possible ?
BTW, it seems I missed the fact that ftmac100_alloc_rx_page() used a
GFP_KERNEL allocation, while its called from softirq context (from
ftmac100_rx_packet())
Same problem of course in this Gigabit driver.