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>
This commit is contained in:
parent
ee36cf25b5
commit
2703e60e43
|
@ -60,7 +60,7 @@ static struct fec_platform_data fec_info = {
|
|||
};
|
||||
|
||||
static struct device_d fec_dev = {
|
||||
.name = "fec_imx27",
|
||||
.name = "fec_imx",
|
||||
.id = "eth0",
|
||||
.map_base = 0x50038000,
|
||||
.platform_data = &fec_info,
|
||||
|
|
|
@ -57,7 +57,7 @@ static struct fec_platform_data fec_info = {
|
|||
};
|
||||
|
||||
static struct device_d fec_dev = {
|
||||
.name = "fec_imx27",
|
||||
.name = "fec_imx",
|
||||
.id = "eth0",
|
||||
.map_base = 0x1002b000,
|
||||
.platform_data = &fec_info,
|
||||
|
|
|
@ -74,7 +74,7 @@ static struct fec_platform_data fec_info = {
|
|||
};
|
||||
|
||||
static struct device_d fec_dev = {
|
||||
.name = "fec_imx27",
|
||||
.name = "fec_imx",
|
||||
.id = "eth0",
|
||||
.map_base = 0x1002b000,
|
||||
.platform_data = &fec_info,
|
||||
|
|
|
@ -57,7 +57,7 @@ static struct fec_platform_data fec_info = {
|
|||
};
|
||||
|
||||
static struct device_d fec_dev = {
|
||||
.name = "fec_imx27",
|
||||
.name = "fec_imx",
|
||||
.id = "eth0",
|
||||
.map_base = 0x50038000,
|
||||
.platform_data = &fec_info,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
Loading…
Reference in New Issue