Am 22.04.2014 04:32, schrieb Fabio Estevam: > On Fri, Apr 18, 2014 at 6:17 AM, Stefan Wahren <info@xxxxxxxxxxxxxx> wrote: >> Hi, >> >> i'm trying to port a ethernet over spi driver to current mainline, which >> originally based on kernel 2.6. >> >> Now i'm searching for some guidelines, checklists, common pitfalls or just >> hints about that. >> >> Is there something about that, which is up to date? >> >> Is there a list or something of legacy function, which shouldn't be used >> anymore? >> >> Are there any new must have features? >> >> Is there a good reference implementation for ethernet over spi? > Not sure if it is a good reference, but the only one I am aware of is this one: > drivers/net/ethernet/microchip/enc28j60.c Yes, i already found this one and also: drivers/net/ethernet/micrel/ks8851.c Unfortunately neither of them have device tree support, so i took some parts from here: drivers/net/ethernet/freescale/fec_main.c > > Regards, > > Fabio Estevam > -- > To unsubscribe from this list: send the line "unsubscribe netdev" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html BR Stefan Wahren -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html