projects
/
cascardo
/
kernel
/
samples
/
netdev
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9aacd4
)
Allow user to change the device's MAC address.
master
author
Thadeu Lima de Souza Cascardo
<cascardo@holoscopio.com>
Mon, 24 May 2010 08:57:35 +0000
(
04:57
-0400)
committer
Thadeu Lima de Souza Cascardo
<cascardo@holoscopio.com>
Mon, 24 May 2010 08:57:35 +0000
(
04:57
-0400)
ndeth.c
patch
|
blob
|
history
diff --git
a/ndeth.c
b/ndeth.c
index
802ec11
..
613ef64
100644
(file)
--- a/
ndeth.c
+++ b/
ndeth.c
@@
-55,6
+55,7
@@
static const struct net_device_ops ndeth_ops = {
.ndo_open = ndeth_open,
.ndo_stop = ndeth_stop,
.ndo_start_xmit = ndeth_tx,
+ .ndo_set_mac_address = eth_mac_addr,
};
struct net_device *ndeth;