diff options
author | sascha <sascha@nomad.localdomain> | 2007-10-18 11:17:16 +0200 |
---|---|---|
committer | sascha <sascha@nomad.localdomain> | 2007-10-18 11:17:16 +0200 |
commit | 1b272d80f11438821efa40c91883f2d2713243ad (patch) | |
tree | 24bd34f26c97bda9a1c9e0dcdf9d792d883b9e69 /drivers/net/smc911x.c | |
parent | c054a3682dc169d05300f244b0aaff9b22892c5e (diff) | |
download | barebox-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/smc911x.c')
-rw-r--r-- | drivers/net/smc911x.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c index df1b9d7f41..32cb683085 100644 --- a/drivers/net/smc911x.c +++ b/drivers/net/smc911x.c @@ -424,7 +424,7 @@ static void smc911x_set_mac_csr(struct eth_device *edev, u8 reg, u32 data) smc911x_mac_wait_busy(priv); } -static int smc911x_get_mac_address(struct eth_device *edev, unsigned char *m) +static int smc911x_get_ethaddr(struct eth_device *edev, unsigned char *m) { unsigned long addrh, addrl; @@ -445,7 +445,7 @@ static int smc911x_get_mac_address(struct eth_device *edev, unsigned char *m) return 0; } -static int smc911x_set_mac_address(struct eth_device *edev, unsigned char *m) +static int smc911x_set_ethaddr(struct eth_device *edev, unsigned char *m) { unsigned long addrh, addrl; @@ -719,8 +719,8 @@ static int smc911x_probe(struct device_d *dev) edev->send = smc911x_eth_send; edev->recv = smc911x_eth_rx; edev->halt = smc911x_eth_halt; - edev->get_mac_address = smc911x_get_mac_address; - edev->set_mac_address = smc911x_set_mac_address; + edev->get_ethaddr = smc911x_get_ethaddr; + edev->set_ethaddr = smc911x_set_ethaddr; priv->miiphy.read = smc911x_phy_read; priv->miiphy.write = smc911x_phy_write; |