]> git.karo-electronics.de Git - linux-beck.git/commit
NET: FEC: dynamtic check DMA desc buff type
authorFrank Li <Frank.Li@freescale.com>
Thu, 3 Jan 2013 16:04:23 +0000 (16:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Jan 2013 23:15:39 +0000 (15:15 -0800)
commitff43da86c69d76a726ffe7d1666148960dc1d108
treecb043ff99ad1a7df3b51e79907734173ea93d817
parent579e1d816260d9f66cb63e4c2911794c9970c293
NET: FEC: dynamtic check DMA desc buff type

MX6 and mx28 support enhanced DMA descriptor buff to support 1588
ptp. But MX25, MX3x, MX5x can't support enhanced DMA descriptor buff.
Check fec type and choose correct DMA descriptor buff type.

Remove static config CONFIG_FEC_PTP.
ptp function will be auto detected.

Signed-off-by: Frank Li <Frank.Li@freescale.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/Kconfig
drivers/net/ethernet/freescale/Makefile
drivers/net/ethernet/freescale/fec.c
drivers/net/ethernet/freescale/fec.h