Re: [PATCH 1/6] ariadne: convert to net_device_ops

Jan Ceuleers
2009-04-10T16:14:13Z

Alexander Beregalov wrote:
>
> Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
...
> @@ -197,13 +209,8 @@ static int __devinit ariadne_init_one(struct zorro_dev *z,
> dev->mem_start = ZTWO_VADDR(mem_start);
> dev->mem_end = dev->mem_start+ARIADNE_RAM_SIZE;
>
> - dev->open = &ariadne_open;
> - dev->stop = &ariadne_close;
> - dev->hard_start_xmit = &ariadne_start_xmit;
> - dev->tx_timeout = &ariadne_tx_timeout;
> + dev->netdev_ops = &ariadne_netdev_ops;;

We don't really need two semicolons there but I suppose that they won't
hurt.

Cheers, Jan