RE: [v9, 3/6] fsl/fman: Add FMan MAC support

2015-12-08 Thread Liberman Igal
Wood Scott-B07421 ; > Bucur Madalin-Cristian-B32716 ; > pebo...@tiscali.nl; joakim.tjernl...@transmode.se; p...@mindchasers.com; > step...@networkplumber.org > Subject: Re: [v9, 3/6] fsl/fman: Add FMan MAC support > > From: > Date: Thu, 3 Dec 2015 09:19:14 +0200 > > > +st

Re: [v9, 3/6] fsl/fman: Add FMan MAC support

2015-12-03 Thread Kenneth Klette Jonassen
> +/* PHY Control Register */ > +#define PHY_CR_PHY_RESET 0x8000 > +#define PHY_CR_SPEED0 0x2000 > +#define PHY_CR_ANE 0x1000 > +#define PHY_CR_RESET_AN0x0200 > +#define PHY_CR_FULLDUPLEX 0x0100 > +#define PHY_CR_SPEED1 0x0040 Reuse defines

Re: [v9, 3/6] fsl/fman: Add FMan MAC support

2015-12-03 Thread David Miller
From: Date: Thu, 3 Dec 2015 09:19:14 +0200 > +static u32 crc_table[256] = { No way. We have every conceivable implementation of CRC calculations in the kernel already. Use them. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kern

[v9, 3/6] fsl/fman: Add FMan MAC support

2015-12-03 Thread igal.liberman
From: Igal Liberman Add the Data Path Acceleration Architecture Frame Manger MAC support. This patch adds The FMan MAC configuration, initialization and runtime control routines. This patch contains support for these types of MACs: - dTSEC: Three speed Ethernet controller (10/100/1000 Mbp