mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-05-02 18:17:50 -04:00
fs_enet: Add support for MPC512x to fs_enet driver
Extend the fs_enet driver to support MPC512x FEC. Enable it with CONFIG_FS_ENET_MPC5121_FEC option. Signed-off-by: John Rigby <jcrigby@gmail.com> Signed-off-by: Piotr Ziecik <kosmo@semihalf.com> Signed-off-by: Wolfgang Denk <wd@denx.de> Signed-off-by: Anatolij Gustschin <agust@denx.de> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
fcb6a1c83e
commit
60ab4361ad
@@ -1,9 +1,13 @@
|
||||
config FS_ENET
|
||||
tristate "Freescale Ethernet Driver"
|
||||
depends on CPM1 || CPM2
|
||||
depends on CPM1 || CPM2 || PPC_MPC512x
|
||||
select MII
|
||||
select PHYLIB
|
||||
|
||||
config FS_ENET_MPC5121_FEC
|
||||
def_bool y if (FS_ENET && PPC_MPC512x)
|
||||
select FS_ENET_HAS_FEC
|
||||
|
||||
config FS_ENET_HAS_SCC
|
||||
bool "Chip has an SCC usable for ethernet"
|
||||
depends on FS_ENET && (CPM1 || CPM2)
|
||||
@@ -16,13 +20,13 @@ config FS_ENET_HAS_FCC
|
||||
|
||||
config FS_ENET_HAS_FEC
|
||||
bool "Chip has an FEC usable for ethernet"
|
||||
depends on FS_ENET && CPM1
|
||||
depends on FS_ENET && (CPM1 || FS_ENET_MPC5121_FEC)
|
||||
select FS_ENET_MDIO_FEC
|
||||
default y
|
||||
|
||||
config FS_ENET_MDIO_FEC
|
||||
tristate "MDIO driver for FEC"
|
||||
depends on FS_ENET && CPM1
|
||||
depends on FS_ENET && (CPM1 || FS_ENET_MPC5121_FEC)
|
||||
|
||||
config FS_ENET_MDIO_FCC
|
||||
tristate "MDIO driver for FCC"
|
||||
|
||||
Reference in New Issue
Block a user