>I found
that ADS8260 board enables PHY by the following lines of code
>
>#ifndef
CONFIG_ADS8260
>
/* Enable the PHY.
>
*/
>
*(volatile uint *)(BCSR_ADDR + 4) &=
~BCSR1_FETHIEN;
>
*(volatile uint *)(BCSR_ADDR + 4) |= BCSR1_FETH_RST;
>#endif
>
>Our board does not have BCSR. My question
is how to enable PHY for MPC8260 based customs board without BCSR?
If your board does not have the BCSR you can
just leave this code out. Usually, you only need to configure
which MDII
interface your PHY is connected to and which IRQ it uses. But of course I don't know how
your PHY is wired up on your
custom board.
Mark Chambers