summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-02-21 01:31:59 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2009-03-19 12:21:48 +0100
commit2703e60e4329c69cf0e1bc6300ad8428c63b7adf (patch)
tree2ef57bb78679e4f72c1c0a6c0face0ae646d2e0d /drivers
parentee36cf25b5d8db7031caec91cb1e2babef509bac (diff)
downloadbarebox-2703e60e4329c69cf0e1bc6300ad8428c63b7adf.tar.gz
barebox-2703e60e4329c69cf0e1bc6300ad8428c63b7adf.tar.xz
fec imx27: rename to fec_imx
This driver is not only used on i.MX27 but on i.MX35 and i.MX25, so rename it to a more generic name Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/Makefile2
-rw-r--r--drivers/net/fec_imx.c (renamed from drivers/net/fec_imx27.c)4
-rw-r--r--drivers/net/fec_imx.h (renamed from drivers/net/fec_imx27.h)0
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index 6dc38b8d83..07529218e6 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -4,7 +4,7 @@ obj-$(CONFIG_DRIVER_NET_DM9000) += dm9000.o
obj-$(CONFIG_DRIVER_NET_NETX) += netx_eth.o
obj-$(CONFIG_DRIVER_NET_AT91_ETHER) += at91_ether.o
obj-$(CONFIG_DRIVER_NET_MPC5200) += fec_mpc5200.o
-obj-$(CONFIG_DRIVER_NET_IMX27) += fec_imx27.o
+obj-$(CONFIG_DRIVER_NET_IMX27) += fec_imx.o
obj-$(CONFIG_DRIVER_NET_MACB) += macb.o
obj-$(CONFIG_DRIVER_NET_TAP) += tap.o
obj-$(CONFIG_MIIPHY) += miiphy.o
diff --git a/drivers/net/fec_imx27.c b/drivers/net/fec_imx.c
index 22a93c980d..5a7e021929 100644
--- a/drivers/net/fec_imx27.c
+++ b/drivers/net/fec_imx.c
@@ -26,7 +26,7 @@
#include <driver.h>
#include <miiphy.h>
#include <fec.h>
-#include "fec_imx27.h"
+#include "fec_imx.h"
#include <asm/io.h>
#include <asm/arch/imx-regs.h>
@@ -603,7 +603,7 @@ static void fec_remove(struct device_d *dev)
* Driver description for registering
*/
static struct driver_d imx27_driver = {
- .name = "fec_imx27",
+ .name = "fec_imx",
.probe = fec_probe,
.remove = fec_remove,
.type = DEVICE_TYPE_ETHER,
diff --git a/drivers/net/fec_imx27.h b/drivers/net/fec_imx.h
index 2029fc6ee5..2029fc6ee5 100644
--- a/drivers/net/fec_imx27.h
+++ b/drivers/net/fec_imx.h