]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
NET: move legacy enc28j60.c to sidetrack as enc28j60_lpc2292.c
authorReinhard Meyer (-VC) <reinhard.meyer@emk-elektronik.de>
Fri, 6 Aug 2010 16:42:07 +0000 (18:42 +0200)
committerBen Warren <biggerbadderben@gmail.com>
Tue, 12 Oct 2010 05:47:48 +0000 (22:47 -0700)
This patch is required before the upcoming new enc28j60 driver
using SPI framework patch can be applied:
- Move legacy enc28j60.c to enc28j60_lpc2292.c.
- Change Makefile and the two affected boards' definition files.

Tested with ./MAKEALL ARM7 that both boards still compile.

Signed-off-by: Reinhard Meyer<info@emk-elektronik.de>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
drivers/net/Makefile
drivers/net/enc28j60_lpc2292.c [moved from drivers/net/enc28j60.c with 99% similarity]
include/configs/SMN42.h
include/configs/lpc2292sodimm.h

index 218eeff86e6ece0d10fc7dff8078cc51f3f9d505..479954d80c05b093edfb7e27f093b3fb36212610 100644 (file)
@@ -39,7 +39,7 @@ COBJS-$(CONFIG_DRIVER_DM9000) += dm9000x.o
 COBJS-$(CONFIG_DNET) += dnet.o
 COBJS-$(CONFIG_E1000) += e1000.o
 COBJS-$(CONFIG_EEPRO100) += eepro100.o
-COBJS-$(CONFIG_ENC28J60) += enc28j60.o
+COBJS-$(CONFIG_ENC28J60_LPC2292) += enc28j60_lpc2292.o
 COBJS-$(CONFIG_EP93XX) += ep93xx_eth.o
 COBJS-$(CONFIG_ETHOC) += ethoc.o
 COBJS-$(CONFIG_FEC_MXC) += fec_mxc.o
similarity index 99%
rename from drivers/net/enc28j60.c
rename to drivers/net/enc28j60_lpc2292.c
index 3238a502ca75029d19d2d6bf30f0195b7e19d0b1..bf9505206bec0f26db43d1273a6013bee76dc94c 100644 (file)
@@ -15,6 +15,7 @@
  * MA 02111-1307 USA
  */
 
+#warning This driver is depreciated. Please update to new SPI framework enc28j60 driver
 #include <config.h>
 #include <common.h>
 #include <net.h>
index adb6ac52e123c43ce0b2da5e7088e9111c87d9b0..ba3ada13a5a5a868257c260f2d1812cc173aa48d 100644 (file)
 #define CONFIG_INITRD_TAG
 #define CONFIG_MMC                     1
 /* we use this ethernet chip */
-#define CONFIG_ENC28J60
+#define CONFIG_ENC28J60_LPC2292
 
 #endif /* __CONFIG_H */
index 7ce8d6de1ff81e6d1f13e04b3939a80a27e07c0f..65276a27c0b7f63d5a620bf3431d160212678074 100644 (file)
 #define CONFIG_INITRD_TAG
 #define CONFIG_MMC 1
 /* we use this ethernet chip */
-#define CONFIG_ENC28J60
+#define CONFIG_ENC28J60_LPC2292
 
 #endif /* __CONFIG_H */