summaryrefslogtreecommitdiffstats
path: root/drivers/net/at91_ether.c
diff options
context:
space:
mode:
authorsascha <sascha@nomad.localdomain>2007-10-18 11:17:16 +0200
committersascha <sascha@nomad.localdomain>2007-10-18 11:17:16 +0200
commit1b272d80f11438821efa40c91883f2d2713243ad (patch)
tree24bd34f26c97bda9a1c9e0dcdf9d792d883b9e69 /drivers/net/at91_ether.c
parentc054a3682dc169d05300f244b0aaff9b22892c5e (diff)
downloadbarebox-1b272d80f11438821efa40c91883f2d2713243ad.tar.gz
barebox-1b272d80f11438821efa40c91883f2d2713243ad.tar.xz
change functions containing 'mac' or 'enet' in its name to 'ethaddr'.
change the parameter name for ethernet devices to 'ethaddr' aswell.
Diffstat (limited to 'drivers/net/at91_ether.c')
-rw-r--r--drivers/net/at91_ether.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/at91_ether.c b/drivers/net/at91_ether.c
index 591ae4acf1..6c1404b6f0 100644
--- a/drivers/net/at91_ether.c
+++ b/drivers/net/at91_ether.c
@@ -236,13 +236,13 @@ int at91rm9200_miiphy_initialize(void)
return 0;
}
-static int at91rm9200_get_mac_address(struct eth_device *eth, unsigned char *adr)
+static int at91rm9200_get_ethaddr(struct eth_device *eth, unsigned char *adr)
{
/* We have no eeprom */
return -1;
}
-static int at91rm9200_set_mac_address(struct eth_device *eth, unsigned char *adr)
+static int at91rm9200_set_ethaddr(struct eth_device *eth, unsigned char *adr)
{
int i;
@@ -271,8 +271,8 @@ static int at91rm9200_eth_init (struct device_d *dev)
edev->send = at91rm9200_eth_send;
edev->recv = at91rm9200_eth_rx;
edev->halt = at91rm9200_eth_halt;
- edev->get_mac_address = at91rm9200_get_mac_address;
- edev->set_mac_address = at91rm9200_set_mac_address;
+ edev->get_ethaddr = at91rm9200_get_ethaddr;
+ edev->set_ethaddr = at91rm9200_set_ethaddr;
p_mac = AT91C_BASE_EMAC;