diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2007-07-05 18:01:43 +0200 |
---|---|---|
committer | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-07-05 18:01:43 +0200 |
commit | b4906bc00f71f35099abd18eb4b90c603eb59b97 (patch) | |
tree | 30c25eb69e72aac4463c364e69a013b719b0c113 /net/eth.c | |
parent | 353cecddb3b47bce26299b66cefd89f9fad42848 (diff) | |
download | barebox-b4906bc00f71f35099abd18eb4b90c603eb59b97.tar.gz barebox-b4906bc00f71f35099abd18eb4b90c603eb59b97.tar.xz |
svn_rev_323
priv -> type_data, remove volatile
Diffstat (limited to 'net/eth.c')
-rw-r--r-- | net/eth.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -38,7 +38,7 @@ static int enetaddr_set(struct device_d *dev, struct param_d *param, value_t val if (dev->type != DEVICE_TYPE_ETHER) return -EINVAL; - edev = dev->priv; + edev = dev->type_data; string_to_enet_addr(val.val_str, buf); edev->set_mac_address(edev, buf); @@ -93,7 +93,7 @@ void eth_halt(void) eth_current->state = ETH_STATE_PASSIVE; } -int eth_send(volatile void *packet, int length) +int eth_send(void *packet, int length) { if (!eth_current) return -1; |