Commit 99921b7e authored by Stephen Hemminger's avatar Stephen Hemminger Committed by David S. Miller
Browse files

eql: convert to net_device_ops

Convert driver to new net_device_ops. Compile tested only.
Signed-off-by: default avatarStephen Hemminger <>
Signed-off-by: default avatarDavid S. Miller <>
parent 974acda0
......@@ -162,6 +162,13 @@ static void eql_timer(unsigned long param)
static char version[] __initdata =
"Equalizer2002: Simon Janes ( and David S. Miller (\n";
static const struct net_device_ops eql_netdev_ops = {
.ndo_open = eql_open,
.ndo_stop = eql_close,
.ndo_do_ioctl = eql_ioctl,
.ndo_start_xmit = eql_slave_xmit,
static void __init eql_setup(struct net_device *dev)
equalizer_t *eql = netdev_priv(dev);
......@@ -175,10 +182,7 @@ static void __init eql_setup(struct net_device *dev)
eql->queue.master_dev = dev;
dev->open = eql_open;
dev->stop = eql_close;
dev->do_ioctl = eql_ioctl;
dev->hard_start_xmit = eql_slave_xmit;
dev->netdev_ops = &eql_netdev_ops;
* Now we undo some of the things that eth_setup does
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment