diff options
author | Jon Loeliger <jdl@freescale.com> | 2008-02-14 14:07:21 -0600 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2008-02-14 14:07:21 -0600 |
commit | 746c4b9490495dc4381dbcc49f40078d423e0a48 (patch) | |
tree | e726020abb9e37df1fca19d8895bf203b27612d1 /drivers/net/rtl8019.c | |
parent | 3f2ac8f928c76cbd2374437b2d079f8b4324aaba (diff) | |
parent | fe891ecf4d187e9d11dde869ed4623af52b54451 (diff) | |
download | u-boot-imx-746c4b9490495dc4381dbcc49f40078d423e0a48.zip u-boot-imx-746c4b9490495dc4381dbcc49f40078d423e0a48.tar.gz u-boot-imx-746c4b9490495dc4381dbcc49f40078d423e0a48.tar.bz2 |
Merge commit 'wd/master'
Diffstat (limited to 'drivers/net/rtl8019.c')
-rw-r--r-- | drivers/net/rtl8019.c | 7 |
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 */ |