]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2a69c2b0e6c9126fde9cce721e347c5e60a991cc
treef5b2b98178885b64f0f5ab7ce8ca73b304a6f107
parenta792c2c906521eb6b4d7827be2ca319985eaca2f
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