com20020: convert to net_devic_ops

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Stephen Hemminger
2009-01-09 13:01:10 +00:00
committed by David S. Miller
parent bca5b8939f
commit a1799af4d7
4 changed files with 14 additions and 2 deletions

View File

@@ -151,6 +151,8 @@ static int __init com20020_init(void)
if (node && node != 0xff)
dev->dev_addr[0] = node;
dev->netdev_ops = &com20020_netdev_ops;
lp = netdev_priv(dev);
lp->backplane = backplane;
lp->clockp = clockp & 7;