summaryrefslogtreecommitdiff
path: root/drivers/net/xilinx_emaclite.c
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2007-08-05 22:33:05 +0200
committerMichal Simek <monstr@monstr.eu>2007-08-05 22:33:05 +0200
commita274ca4f6d68830e7c916f897561cff8c4101c38 (patch)
treebb8d771b8f49d0c33e94dffd1c7cb9600953cedf /drivers/net/xilinx_emaclite.c
parent45b3fd28152ed8c52f2dad06a422ac6e95cd48fd (diff)
downloadu-boot-imx-a274ca4f6d68830e7c916f897561cff8c4101c38.zip
u-boot-imx-a274ca4f6d68830e7c916f897561cff8c4101c38.tar.gz
u-boot-imx-a274ca4f6d68830e7c916f897561cff8c4101c38.tar.bz2
[FIX] Coding style cleanup
Diffstat (limited to 'drivers/net/xilinx_emaclite.c')
-rw-r--r--drivers/net/xilinx_emaclite.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net/xilinx_emaclite.c
index 7e69211..99e7035 100644
--- a/drivers/net/xilinx_emaclite.c
+++ b/drivers/net/xilinx_emaclite.c
@@ -29,7 +29,7 @@
#ifdef XILINX_EMACLITE_BASEADDR
-//#define DEBUG
+#undef DEBUG
#define ENET_MAX_MTU PKTSIZE
#define ENET_MAX_MTU_ALIGNED PKTSIZE_ALIGN
@@ -310,7 +310,7 @@ int eth_rx (void)
BaseAddress = EmacLite.BaseAddress + EmacLite.NextRxBufferToUse;
Register = in_be32 (BaseAddress + XEL_RSR_OFFSET);
#ifdef DEBUG
-// printf ("Testing data at address 0x%x\n", BaseAddress);
+ printf ("Testing data at address 0x%x\n", BaseAddress);
#endif
if ((Register & XEL_RSR_RECV_DONE_MASK) == XEL_RSR_RECV_DONE_MASK) {
#ifdef XILINX_EMACLITE_RX_PING_PONG
@@ -319,7 +319,7 @@ int eth_rx (void)
} else {
#ifndef XILINX_EMACLITE_RX_PING_PONG
#ifdef DEBUG
-// printf ("No data was available - address 0x%x\n", BaseAddress);
+ printf ("No data was available - address 0x%x\n", BaseAddress);
#endif
return 0;
#else
@@ -328,8 +328,8 @@ int eth_rx (void)
if ((Register & XEL_RSR_RECV_DONE_MASK) !=
XEL_RSR_RECV_DONE_MASK) {
#ifdef DEBUG
-// printf ("No data was available - address 0x%x\n",
-// BaseAddress);
+ printf ("No data was available - address 0x%x\n",
+ BaseAddress);
#endif
return 0;
}