Re: [PATCH] ucc_geth: add support for netpoll

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Sergei Shtylyov
Date: Saturday, October 27, 2007 - 6:09 am

Hello.

Anton Vorontsov wrote:


    It's rather contrarywise -- this is standard approach and gianfar with its 
3 TSEC IRQs has a quite non-standard poll_controller() implementation.


    KGDBoE is considered a better test (I hope you've also tested with it).


    Why not make it less complex (for a reader and gcc too :-) ?

	struct ucc_geth_private *ugeth = netdev_priv(dev);
	int irq = ugeth->ug_info->uf_info.irq;

	disable_irq(irq);
	ucc_geth_irq_handler(irq, dev);
	enable_irq(irq);


WBR, Sergei
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] ucc_geth: add support for netpoll, Anton Vorontsov, (Thu Oct 11, 5:48 am)
Re: [PATCH] ucc_geth: add support for netpoll, Sergei Shtylyov, (Sat Oct 27, 6:09 am)
Re: [PATCH] ucc_geth: add support for netpoll, Anton Vorontsov, (Sat Oct 27, 7:37 am)
RE: [PATCH] ucc_geth: add support for netpoll, Li Yang-r58472, (Sun Oct 28, 11:12 pm)
Re: [PATCH] ucc_geth: add support for netpoll, Anton Vorontsov, (Mon Oct 29, 5:17 am)
Re: [PATCH] ucc_geth: add support for netpoll, Anton Vorontsov, (Wed Oct 31, 2:59 pm)
RE: [PATCH] ucc_geth: add support for netpoll, Li Yang-r58472, (Wed Oct 31, 7:33 pm)
Re: [PATCH] ucc_geth: add support for netpoll, Anton Vorontsov, (Thu Nov 1, 3:05 am)