Get rid of DEVICE_TYPE_ETHER usage
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
bac65c6cde
commit
6e921fcb3c
|
@ -82,7 +82,6 @@ static struct device_d macb_dev = {
|
|||
.id = "eth0",
|
||||
.map_base = AT91C_BASE_EMACB,
|
||||
.size = 0x1000,
|
||||
.type = DEVICE_TYPE_ETHER,
|
||||
.platform_data = &macb_pdata,
|
||||
};
|
||||
|
||||
|
|
|
@ -61,8 +61,6 @@ struct device_d sdram_dev = {
|
|||
static struct device_d at91_ath_dev = {
|
||||
.name = "at91_eth",
|
||||
.id = "eth0",
|
||||
|
||||
.type = DEVICE_TYPE_ETHER,
|
||||
};
|
||||
|
||||
static int devices_init (void)
|
||||
|
|
|
@ -65,7 +65,6 @@ static struct device_d fec_dev = {
|
|||
.id = "eth0",
|
||||
.map_base = 0x50038000,
|
||||
.platform_data = &fec_info,
|
||||
.type = DEVICE_TYPE_ETHER,
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -76,7 +75,6 @@ static struct device_d smc911x_dev = {
|
|||
.id = "eth0",
|
||||
.map_base = IMX_CS5_BASE,
|
||||
.size = IMX_CS5_RANGE, /* area size */
|
||||
.type = DEVICE_TYPE_ETHER,
|
||||
};
|
||||
|
||||
static int f3s_devices_init(void)
|
||||
|
|
|
@ -69,7 +69,6 @@ static struct device_d cs8900_dev = {
|
|||
.name = "cs8900",
|
||||
.id = "eth0",
|
||||
.map_base = IMX_CS1_BASE,
|
||||
.type = DEVICE_TYPE_ETHER,
|
||||
// IRQ is connected to UART3_RTS
|
||||
};
|
||||
|
||||
|
|
|
@ -61,7 +61,6 @@ static struct device_d fec_dev = {
|
|||
.id = "eth0",
|
||||
.map_base = 0x1002b000,
|
||||
.platform_data = &fec_info,
|
||||
.type = DEVICE_TYPE_ETHER,
|
||||
};
|
||||
|
||||
static int imx27ads_timing_init(void)
|
||||
|
|
|
@ -27,7 +27,6 @@ static struct device_d smc911x_dev = {
|
|||
.id = "eth0",
|
||||
.map_base = 0x24000000,
|
||||
.size = 4096,
|
||||
.type = DEVICE_TYPE_ETHER,
|
||||
};
|
||||
|
||||
static int ipe337_devices_init(void) {
|
||||
|
|
|
@ -82,7 +82,6 @@ static struct device_d network_dev0 = {
|
|||
.id = "eth0",
|
||||
.map_base = MCF_FEC_ADDR(0),
|
||||
.size = MCF_FEC_SIZE(0), /* area size */
|
||||
.type = DEVICE_TYPE_ETHER,
|
||||
.platform_data = &fec_info,
|
||||
};
|
||||
static struct device_d network_dev1 = {
|
||||
|
@ -90,7 +89,6 @@ static struct device_d network_dev1 = {
|
|||
.id = "eth1",
|
||||
.map_base = MCF_FEC_ADDR(1),
|
||||
.size = MCF_FEC_SIZE(1), /* area size */
|
||||
.type = DEVICE_TYPE_ETHER,
|
||||
.platform_data = &fec_info,
|
||||
};
|
||||
|
||||
|
|
|
@ -63,7 +63,6 @@ static struct device_d macb_dev = {
|
|||
.id = "eth0",
|
||||
.map_base = AT91C_BASE_MACB,
|
||||
.size = 0x1000,
|
||||
.type = DEVICE_TYPE_ETHER,
|
||||
.platform_data = &macb_pdata,
|
||||
};
|
||||
|
||||
|
|
|
@ -57,7 +57,6 @@ static struct device_d netx_eth_dev0 = {
|
|||
.name = "netx-eth",
|
||||
.id = "eth0",
|
||||
.platform_data = ð0_data,
|
||||
.type = DEVICE_TYPE_ETHER,
|
||||
};
|
||||
|
||||
struct netx_eth_platform_data eth1_data = {
|
||||
|
@ -68,7 +67,6 @@ static struct device_d netx_eth_dev1 = {
|
|||
.name = "netx-eth",
|
||||
.id = "eth1",
|
||||
.platform_data = ð1_data,
|
||||
.type = DEVICE_TYPE_ETHER,
|
||||
};
|
||||
|
||||
static int netx_devices_init(void) {
|
||||
|
|
|
@ -75,7 +75,6 @@ struct device_d eth_dev = {
|
|||
.id = "eth0",
|
||||
.map_base = MPC5XXX_FEC,
|
||||
.platform_data = &fec_info,
|
||||
.type = DEVICE_TYPE_ETHER,
|
||||
};
|
||||
|
||||
#define SCRATCHMEM_SIZE (1024 * 1024 * 4)
|
||||
|
|
|
@ -73,7 +73,6 @@ static struct device_d network_dev = {
|
|||
.id = "eth0",
|
||||
.map_base = IMX_CS1_BASE,
|
||||
.size = IMX_CS1_RANGE, /* area size */
|
||||
.type = DEVICE_TYPE_ETHER,
|
||||
};
|
||||
|
||||
#if defined CONFIG_PCM037_SDRAM_BANK0_128MB
|
||||
|
|
|
@ -73,7 +73,6 @@ static struct device_d fec_dev = {
|
|||
.id = "eth0",
|
||||
.map_base = 0x1002b000,
|
||||
.platform_data = &fec_info,
|
||||
.type = DEVICE_TYPE_ETHER,
|
||||
};
|
||||
|
||||
static struct device_d spi_dev = {
|
||||
|
|
|
@ -64,7 +64,6 @@ static struct device_d fec_dev = {
|
|||
.id = "eth0",
|
||||
.map_base = 0x50038000,
|
||||
.platform_data = &fec_info,
|
||||
.type = DEVICE_TYPE_ETHER,
|
||||
};
|
||||
|
||||
static struct device_d sdram0_dev = {
|
||||
|
|
|
@ -58,7 +58,6 @@ static struct device_d fec_dev = {
|
|||
.id = "eth0",
|
||||
.map_base = 0x1002b000,
|
||||
.platform_data = &fec_info,
|
||||
.type = DEVICE_TYPE_ETHER,
|
||||
};
|
||||
|
||||
struct imx_nand_platform_data nand_info = {
|
||||
|
|
|
@ -65,7 +65,6 @@ static struct device_d network_dev0 =
|
|||
.id = "eth0",
|
||||
.map_base = MCF_FEC_ADDR(0),
|
||||
.size = MCF_FEC_SIZE(0), /* area size */
|
||||
.type = DEVICE_TYPE_ETHER,
|
||||
.platform_data = &fec_info,
|
||||
};
|
||||
static struct device_d network_dev1 =
|
||||
|
@ -74,7 +73,6 @@ static struct device_d network_dev1 =
|
|||
.id = "eth1",
|
||||
.map_base = MCF_FEC_ADDR(1),
|
||||
.size = MCF_FEC_SIZE(1), /* area size */
|
||||
.type = DEVICE_TYPE_ETHER,
|
||||
.platform_data = &fec_info,
|
||||
};
|
||||
|
||||
|
|
|
@ -63,7 +63,6 @@ static struct device_d macb_dev = {
|
|||
.id = "eth0",
|
||||
.map_base = AT91C_BASE_MACB,
|
||||
.size = 0x1000,
|
||||
.type = DEVICE_TYPE_ETHER,
|
||||
.platform_data = &macb_pdata,
|
||||
};
|
||||
|
||||
|
|
|
@ -30,8 +30,6 @@
|
|||
static struct device_d tap_device = {
|
||||
.name = "tap",
|
||||
.id = "eth0",
|
||||
|
||||
.type = DEVICE_TYPE_ETHER,
|
||||
};
|
||||
|
||||
static int devices_init(void)
|
||||
|
|
|
@ -67,7 +67,6 @@ static struct device_d dm9000_dev = {
|
|||
.map_base = 0x16000000,
|
||||
.size = 8,
|
||||
.platform_data = &dm9000_data,
|
||||
.type = DEVICE_TYPE_ETHER,
|
||||
};
|
||||
|
||||
static int scb9328_devices_init(void) {
|
||||
|
|
|
@ -333,7 +333,6 @@ static int at91rm9200_eth_init (struct device_d *dev)
|
|||
static struct driver_d at91_eth_driver = {
|
||||
.name = "at91_eth",
|
||||
.probe = at91rm9200_eth_init,
|
||||
.type = DEVICE_TYPE_ETHER,
|
||||
};
|
||||
|
||||
static int at91_eth_init(void)
|
||||
|
|
|
@ -468,7 +468,6 @@ static struct driver_d cs8900_driver = {
|
|||
.name = "cs8900",
|
||||
.probe = cs8900_probe,
|
||||
.info = cs8900_info,
|
||||
.type = DEVICE_TYPE_ETHER,
|
||||
};
|
||||
|
||||
static int cs8900_init(void)
|
||||
|
|
|
@ -538,7 +538,6 @@ static int dm9000_probe(struct device_d *dev)
|
|||
static struct driver_d dm9000_driver = {
|
||||
.name = "dm9000",
|
||||
.probe = dm9000_probe,
|
||||
.type = DEVICE_TYPE_ETHER,
|
||||
};
|
||||
|
||||
static int dm9000_init(void)
|
||||
|
|
|
@ -604,7 +604,6 @@ static struct driver_d imx27_driver = {
|
|||
.name = "fec_imx",
|
||||
.probe = fec_probe,
|
||||
.remove = fec_remove,
|
||||
.type = DEVICE_TYPE_ETHER,
|
||||
};
|
||||
|
||||
static int fec_register(void)
|
||||
|
|
|
@ -712,7 +712,6 @@ int mpc5xxx_fec_probe(struct device_d *dev)
|
|||
static struct driver_d mpc5xxx_driver = {
|
||||
.name = "fec_mpc5xxx",
|
||||
.probe = mpc5xxx_fec_probe,
|
||||
.type = DEVICE_TYPE_ETHER,
|
||||
};
|
||||
|
||||
static int mpc5xxx_fec_register(void)
|
||||
|
|
|
@ -472,7 +472,6 @@ static int macb_probe(struct device_d *dev)
|
|||
static struct driver_d macb_driver = {
|
||||
.name = "macb",
|
||||
.probe = macb_probe,
|
||||
.type = DEVICE_TYPE_ETHER,
|
||||
};
|
||||
|
||||
static int macb_driver_init(void)
|
||||
|
|
|
@ -275,7 +275,6 @@ static int netx_eth_probe(struct device_d *dev)
|
|||
static struct driver_d netx_eth_driver = {
|
||||
.name = "netx-eth",
|
||||
.probe = netx_eth_probe,
|
||||
.type = DEVICE_TYPE_ETHER,
|
||||
};
|
||||
|
||||
static int netx_eth_init(void)
|
||||
|
|
|
@ -749,7 +749,6 @@ static int smc911x_probe(struct device_d *dev)
|
|||
static struct driver_d smc911x_driver = {
|
||||
.name = "smc911x",
|
||||
.probe = smc911x_probe,
|
||||
.type = DEVICE_TYPE_ETHER,
|
||||
};
|
||||
|
||||
static int smc911x_init(void)
|
||||
|
|
|
@ -111,7 +111,6 @@ out:
|
|||
static struct driver_d tap_driver = {
|
||||
.name = "tap",
|
||||
.probe = tap_probe,
|
||||
.type = DEVICE_TYPE_ETHER,
|
||||
};
|
||||
|
||||
static int tap_init(void)
|
||||
|
|
Loading…
Reference in New Issue