9
0
Fork 0

svn_rev_100

removed ifdefs
This commit is contained in:
Sascha Hauer 2007-07-05 18:01:23 +02:00 committed by Sascha Hauer
parent 573461dfe8
commit f4864c2b3a
4 changed files with 0 additions and 28 deletions

View File

@ -30,10 +30,6 @@
#include <net.h>
#include <bcm5221.h>
#ifdef CONFIG_DRIVER_ETHER
#if (CONFIG_COMMANDS & CFG_CMD_NET)
/*
* Name:
* bcm5221_IsPhyConnected
@ -226,7 +222,3 @@ unsigned char bcm5221_AutoNegotiate (AT91PS_EMAC p_mac, int *status)
}
return FALSE;
}
#endif /* CONFIG_COMMANDS & CFG_CMD_NET */
#endif /* CONFIG_DRIVER_ETHER */

View File

@ -25,10 +25,6 @@
#include <net.h>
#include <dm9161.h>
#ifdef CONFIG_DRIVER_ETHER
#if (CONFIG_COMMANDS & CFG_CMD_NET)
/*
* Name:
* dm9161_IsPhyConnected
@ -218,7 +214,3 @@ UCHAR dm9161_AutoNegotiate (AT91PS_EMAC p_mac, int *status)
}
return FALSE;
}
#endif /* CONFIG_COMMANDS & CFG_CMD_NET */
#endif /* CONFIG_DRIVER_ETHER */

View File

@ -25,8 +25,6 @@
*/
#include <common.h>
#ifdef CONFIG_HARD_I2C
#include <i2c.h>
#include <asm/io.h>
#include <asm/arch/hardware.h>
@ -196,5 +194,3 @@ void i2c_reg_write(uchar i2c_addr, uchar reg, uchar val)
{
i2c_write(i2c_addr, reg, 1, &val, 1);
}
#endif /* CONFIG_HARD_I2C */

View File

@ -31,10 +31,6 @@
#include <net.h>
#include <lxt971a.h>
#ifdef CONFIG_DRIVER_ETHER
#if (CONFIG_COMMANDS & CFG_CMD_NET)
/*
* Name:
* lxt972_IsPhyConnected
@ -185,7 +181,3 @@ UCHAR lxt972_AutoNegotiate (AT91PS_EMAC p_mac, int *status)
return (lxt972_GetLinkSpeed (p_mac));
}
#endif /* CONFIG_COMMANDS & CFG_CMD_NET */
#endif /* CONFIG_DRIVER_ETHER */