sh_eth: remove sh_eth_plat_data::edmac_endian
Since the commit 888cc8c20c
("sh_eth: remove EDMAC_BIG_ENDIAN") (geez,
I didn't realize that was 2 years ago!) the initializers in the SuperH
platform code for the 'sh_eth_plat_data::edmac_endian' stopped to matter,
so we can remove that field for good (not sure if it was ever useful --
SH7786 Ether has been reported to have the same EDMAC descriptor/register
endiannes as configured for the SuperH CPU)...
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

orang tua
e2d922185c
melakukan
e3e49ca9b0
@@ -76,7 +76,6 @@ static struct resource sh_eth0_resources[] = {
|
||||
|
||||
static struct sh_eth_plat_data sh7757_eth0_pdata = {
|
||||
.phy = 1,
|
||||
.edmac_endian = EDMAC_LITTLE_ENDIAN,
|
||||
.set_mdio_gate = sh7757_eth_set_mdio_gate,
|
||||
};
|
||||
|
||||
@@ -104,7 +103,6 @@ static struct resource sh_eth1_resources[] = {
|
||||
|
||||
static struct sh_eth_plat_data sh7757_eth1_pdata = {
|
||||
.phy = 1,
|
||||
.edmac_endian = EDMAC_LITTLE_ENDIAN,
|
||||
.set_mdio_gate = sh7757_eth_set_mdio_gate,
|
||||
};
|
||||
|
||||
@@ -148,7 +146,6 @@ static struct resource sh_eth_giga0_resources[] = {
|
||||
|
||||
static struct sh_eth_plat_data sh7757_eth_giga0_pdata = {
|
||||
.phy = 18,
|
||||
.edmac_endian = EDMAC_LITTLE_ENDIAN,
|
||||
.set_mdio_gate = sh7757_eth_giga_set_mdio_gate,
|
||||
.phy_interface = PHY_INTERFACE_MODE_RGMII_ID,
|
||||
};
|
||||
@@ -182,7 +179,6 @@ static struct resource sh_eth_giga1_resources[] = {
|
||||
|
||||
static struct sh_eth_plat_data sh7757_eth_giga1_pdata = {
|
||||
.phy = 19,
|
||||
.edmac_endian = EDMAC_LITTLE_ENDIAN,
|
||||
.set_mdio_gate = sh7757_eth_giga_set_mdio_gate,
|
||||
.phy_interface = PHY_INTERFACE_MODE_RGMII_ID,
|
||||
};
|
||||
|
Reference in New Issue
Block a user