X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=drivers%2Fnet%2Fmpc512x_fec.c;h=427e0b8b46f2306d07eff51774bfa9990d45a6eb;hb=e89d623f099c44b0b166ccf46bce2e6a0b99c984;hp=0d5efd56eab13898e5ed0c12461a94e56957aaad;hpb=e2a53458a7ab375233048e922c4adf494866a78f;p=u-boot diff --git a/drivers/net/mpc512x_fec.c b/drivers/net/mpc512x_fec.c index 0d5efd56ea..427e0b8b46 100644 --- a/drivers/net/mpc512x_fec.c +++ b/drivers/net/mpc512x_fec.c @@ -304,7 +304,7 @@ int mpc512x_fec_init_phy (struct eth_device *dev, bd_t * bis) * and do not drop the Preamble. */ out_be32(&fec->eth->mii_speed, - (((gd->ips_clk / 1000000) / 5) + 1) << 1); + (((gd->arch.ips_clk / 1000000) / 5) + 1) << 1); /* * Reset PHY, then delay 300ns @@ -452,8 +452,8 @@ static void mpc512x_fec_halt (struct eth_device *dev) /********************************************************************/ -static int mpc512x_fec_send (struct eth_device *dev, volatile void *eth_data, - int data_length) +static int mpc512x_fec_send(struct eth_device *dev, void *eth_data, + int data_length) { /* * This routine transmits one frame. This routine only accepts