[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49DF7042.7090502@computer.org>
Date: Fri, 10 Apr 2009 18:13:54 +0200
From: Jan Ceuleers <jan.ceuleers@...puter.org>
To: Alexander Beregalov <a.beregalov@...il.com>
CC: netdev@...r.kernel.org, linux-m68k@...r.kernel.org
Subject: Re: [PATCH 1/6] ariadne: convert to net_device_ops
Alexander Beregalov wrote:
>
> Signed-off-by: Alexander Beregalov <a.beregalov@...il.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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists