[U-Boot] [PATCH][Net] Convert SMC91111 Ethernet driver to CONFIG_NET_MULTI API
Mike Frysinger
vapier at gentoo.org
Wed Sep 2 11:31:58 CEST 2009
On Monday 27 July 2009 17:43:22 Ben Warren wrote:
> diff --git a/include/configs/blackstamp.h b/include/configs/blackstamp.h
> index 887f3fb..6c9b3e0 100644
> --- a/include/configs/blackstamp.h
> +++ b/include/configs/blackstamp.h
> @@ -30,7 +30,8 @@
> /*
> * Board settings
> */
> -#define CONFIG_DRIVER_SMC91111 1
> +#define CONFIG_NET_MULTI
> +#define CONFIG_SMC91111 1
> #define CONFIG_SMC91111_BASE 0x20300300
>
> /* FLASH/ETHERNET uses the same address range
change to this header is incomplete. it needs this additional change:
--- include/configs/blackstamp.h
+++ include/configs/blackstamp.h
@@ -70,7 +70,7 @@
* Network settings
*/
-#ifdef CONFIG_DRIVER_SMC91111
+#ifdef CONFIG_SMC91111
#define CONFIG_IPADDR 192.168.0.15
#define CONFIG_NETMASK 255.255.255.0
#define CONFIG_GATEWAYIP 192.168.0.1
@@ -109,7 +109,7 @@
#include <config_cmd_default.h>
-#ifdef CONFIG_DRIVER_SMC91111
+#ifdef CONFIG_SMC91111
# define CONFIG_CMD_DHCP
# define CONFIG_CMD_PING
#else
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090902/d65e28bd/attachment.pgp
More information about the U-Boot
mailing list