git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d214c75
)
netdevice: 82596: Convert netdev->priv to netdev_priv
author
Wang Chen
<wangchen@cn.fujitsu.com>
Thu, 20 Nov 2008 09:01:00 +0000
(
01:01
-0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 20 Nov 2008 09:01:00 +0000
(
01:01
-0800)
1. When alloc_etherdev(), no memory be allocated to netdev->priv.
2. And it's need to get a whole page for priv.
For these reasons, use netdev->ml_priv to point to the page is the
best method to convert directly reference of netdev->priv.
Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/82596.c
patch
|
blob
|
history
diff --cc
drivers/net/82596.c
Simple merge