diff options
author | Stefan Roese <sr@denx.de> | 2006-11-27 14:12:17 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2006-11-27 14:12:17 +0100 |
commit | 1c2ce2262069510f31c7d3fd7efd3d58b8c0c148 (patch) | |
tree | da4f0c35f18200eab6953d163866bdb11a9eb6c6 /cpu/ppc4xx/4xx_enet.c | |
parent | 48c7d6dba9140869a1d644248aa8cfabe01c98a6 (diff) | |
download | u-boot-imx-1c2ce2262069510f31c7d3fd7efd3d58b8c0c148.zip u-boot-imx-1c2ce2262069510f31c7d3fd7efd3d58b8c0c148.tar.gz u-boot-imx-1c2ce2262069510f31c7d3fd7efd3d58b8c0c148.tar.bz2 |
[PATCH] Update Prodrive ALPR board support (440GX)
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'cpu/ppc4xx/4xx_enet.c')
-rw-r--r-- | cpu/ppc4xx/4xx_enet.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cpu/ppc4xx/4xx_enet.c b/cpu/ppc4xx/4xx_enet.c index 81d49ff..8c517ba 100644 --- a/cpu/ppc4xx/4xx_enet.c +++ b/cpu/ppc4xx/4xx_enet.c @@ -470,8 +470,7 @@ static int ppc_4xx_eth_init (struct eth_device *dev, bd_t * bis) #else if ((devnum == 0) || (devnum == 1)) { out32 (ZMII_FER, (ZMII_FER_SMII | ZMII_FER_MDI) << ZMII_FER_V (devnum)); - } - else { /* ((devnum == 2) || (devnum == 3)) */ + } else { /* ((devnum == 2) || (devnum == 3)) */ out32 (ZMII_FER, ZMII_FER_MDI << ZMII_FER_V (devnum)); out32 (RGMII_FER, ((RGMII_FER_RGMII << RGMII_FER_V (2)) | (RGMII_FER_RGMII << RGMII_FER_V (3)))); @@ -808,7 +807,7 @@ static int ppc_4xx_eth_init (struct eth_device *dev, bd_t * bis) hw_p->rx[i].ctrl |= MAL_RX_CTRL_EMPTY | MAL_RX_CTRL_INTR; hw_p->rx_ready[i] = -1; #if 0 - printf ("RX_BUFF %d @ 0x%08lx\n", i, (ulong) rx[i].data_ptr); + printf ("RX_BUFF %d @ 0x%08lx\n", i, (ulong) hw_p->rx[i].data_ptr); #endif } |