diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2007-07-05 18:01:25 +0200 |
---|---|---|
committer | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-07-05 18:01:25 +0200 |
commit | a0b0cfc5ed9759a50aefc264c7490b19d617d12b (patch) | |
tree | ad31938638788dd77bc56bad43987f5ea3203693 /include/net.h | |
parent | 55ebf67d3ec2b0727f86a54157a2740e9e8472c3 (diff) | |
download | barebox-a0b0cfc5ed9759a50aefc264c7490b19d617d12b.tar.gz barebox-a0b0cfc5ed9759a50aefc264c7490b19d617d12b.tar.xz |
svn_rev_121
implement device parameters
Diffstat (limited to 'include/net.h')
-rw-r--r-- | include/net.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net.h b/include/net.h index 6c78e1d628..493df70fb6 100644 --- a/include/net.h +++ b/include/net.h @@ -108,8 +108,13 @@ struct eth_device { struct eth_device *next; void *priv; + + char *param[4]; }; +struct param_d *eth_param_get(struct device_d* dev, int no); +int eth_param_set(struct device_d* dev, struct param_d *param, char *val); + extern int eth_register(struct eth_device* dev);/* Register network device */ extern void eth_try_another(int first_restart); /* Change the device */ extern struct eth_device *eth_get_dev(void); /* get the current device MAC */ |