net/faraday: Make EDO{R,T}R bits configurable
authorAndrew Jeffery <andrew@aj.id.au>
Wed, 21 Sep 2016 23:04:59 +0000 (08:34 +0930)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Sep 2016 07:31:14 +0000 (03:31 -0400)
commit7906a4da0ef845d01e76f2187c23cc71ae00fa1d
treef5b2b98178885b64f0f5ab7ce8ca73b304a6f107
parentada66b54c44add8702612940a08d077b4d6ecd0e
net/faraday: Make EDO{R,T}R bits configurable

These bits are #defined at a fixed location. In order to support future
hardware that has chosen to move these bits around move the bits into a
member of the struct ftgmac100.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/faraday/ftgmac100.c
drivers/net/ethernet/faraday/ftgmac100.h