Skip to content

Commit

Permalink
net/fsl_pq_mdio: add support for the Fman 1G MDIO controller
Browse files Browse the repository at this point in the history
The MDIO controller on the Frame Manager (Fman) is compatible with the
QE and Gianfar MDIO controllers, but we don't care about the TBI because
the Ethernet drivers (FMD) take care of programming it.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Timur Tabi authored and David S. Miller committed Aug 30, 2012
1 parent dd3b8a3 commit 761743e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions drivers/net/ethernet/freescale/fsl_pq_mdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,15 @@ static struct of_device_id fsl_pq_mdio_match[] = {
},
},
#endif
/* No Kconfig option for Fman support yet */
{
.compatible = "fsl,fman-mdio",
.data = &(struct fsl_pq_mdio_data) {
.mii_offset = 0,
/* Fman TBI operations are handled elsewhere */
},
},

{},
};
MODULE_DEVICE_TABLE(of, fsl_pq_mdio_match);
Expand Down

0 comments on commit 761743e

Please sign in to comment.