Timur Tabi 3038171628 powerpc/85xx: fix null pointer dereference when init the SGMII TBI PHY
Function dtsec_configure_serdes() needs to know where the TBI PHY registers
are in order to configure SGMII for proper SerDes operation.

During SGMII initialzation, fm_eth_init_mac() passing NULL for 'phyregs'
when it called init_dtsec(), because it was believed that phyregs was not
used.  In fact, it is used by dtsec_configure_serdes() to configure the TBI
PHY registers.

We also need to define the PHY registers in struct fm_mdio.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2011-10-09 17:57:53 -05:00
..
2011-10-05 22:22:16 +02:00
2011-01-09 18:06:50 +01:00
2011-01-09 18:06:50 +01:00
2011-06-21 22:26:22 +02:00
2010-07-12 00:14:29 -07:00
2011-04-20 13:44:46 -05:00
2011-01-09 18:06:50 +01:00
2011-04-20 13:44:46 -05:00
2010-08-09 11:52:29 -07:00
2010-05-03 14:52:50 -07:00
2011-01-09 18:06:50 +01:00
2011-04-20 15:09:34 -05:00
2011-01-09 18:06:50 +01:00
2011-06-21 22:26:22 +02:00
2011-10-05 22:22:15 +02:00
2011-01-09 18:06:50 +01:00
2011-10-05 22:22:16 +02:00
2011-10-05 22:22:16 +02:00
2010-08-09 11:52:29 -07:00
2011-02-15 21:55:41 +01:00
2011-01-09 18:06:50 +01:00
2011-09-09 23:57:24 +02:00
2011-07-27 23:27:43 +02:00
2011-05-19 22:22:44 +02:00
2011-04-20 13:44:46 -05:00