netdevice ni65: Convert directly reference of netdev->priv
authorWang Chen <wangchen@cn.fujitsu.com>
Thu, 20 Nov 2008 12:25:06 +0000 (04:25 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Nov 2008 12:25:06 +0000 (04:25 -0800)
commit826dd0e1e3c83ce0cd8c295cd0f6e72b8b527809
tree1ac31b784b97a7b5649f3aaaa823915bc5628c18
parentc8019bf3aff653cceb64f66489fc299ee5957b57
netdevice ni65: Convert directly reference of netdev->priv

This patch is to kill directly reference of netdev->priv too.
Because the private data needs special memory: lower 16MB DMA.
alloc_etherdev() can not do this work.
So we can't use netdev->priv to point to netdev's private data.
Use netdev->ml_priv instead.

Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ni65.c