summaryrefslogtreecommitdiff
path: root/drivers/net/rtl8019.c
diff options
context:
space:
mode:
authorAndy Fleming <afleming@freescale.com>2008-02-14 10:11:14 -0600
committerAndrew Fleming-AFLEMING <afleming@freescale.com>2008-02-14 10:11:14 -0600
commit3f2175fa840925e2028c5d482e4cefa787cc8703 (patch)
tree37dab4aa866865e647beda2993e710b4f246fb8f /drivers/net/rtl8019.c
parentd1bcf9e53b41dfa4be6943b739ee82627a0a6d31 (diff)
parentfe891ecf4d187e9d11dde869ed4623af52b54451 (diff)
downloadu-boot-imx-3f2175fa840925e2028c5d482e4cefa787cc8703.zip
u-boot-imx-3f2175fa840925e2028c5d482e4cefa787cc8703.tar.gz
u-boot-imx-3f2175fa840925e2028c5d482e4cefa787cc8703.tar.bz2
Merge branch 'denx'
Diffstat (limited to 'drivers/net/rtl8019.c')
-rw-r--r--drivers/net/rtl8019.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/net/rtl8019.c b/drivers/net/rtl8019.c
index 409a69f..9d62cab 100644
--- a/drivers/net/rtl8019.c
+++ b/drivers/net/rtl8019.c
@@ -36,16 +36,13 @@
#if defined(CONFIG_CMD_NET)
-
/* packet page register access functions */
-
static unsigned char get_reg (unsigned int regno)
{
return (*(unsigned char *) regno);
}
-
static void put_reg (unsigned int regno, unsigned char val)
{
*(volatile unsigned char *) regno = val;
@@ -91,7 +88,6 @@ void rtl8019_get_enetaddr (uchar * addr)
put_reg (RTL8019_COMMAND, RTL8019_PAGE0);
}
-
void eth_halt (void)
{
put_reg (RTL8019_COMMAND, 0x01);
@@ -134,7 +130,6 @@ int eth_init (bd_t * bd)
return 0;
}
-
static unsigned char nic_to_pc (void)
{
unsigned char rec_head_status;
@@ -277,6 +272,6 @@ extern int eth_send (volatile void *packet, int length)
return 0;
}
-#endif /* COMMANDS & CFG_NET */
+#endif /* CONFIG_CMD_NET */
#endif /* CONFIG_DRIVER_RTL8019 */