From: Rusty Russell Date: Tue, 5 Feb 2008 04:49:57 +0000 (-0500) Subject: virtio: explicit enable_cb/disable_cb rather than callback return. X-Git-Tag: v2.6.25-rc1~1058^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18445c4d501b9ab4336f66ef46b092661ddaf336;p=pandora-kernel.git virtio: explicit enable_cb/disable_cb rather than callback return. It seems that virtio_net wants to disable callbacks (interrupts) before calling netif_rx_schedule(), so we can't use the return value to do so. Rename "restart" to "cb_enable" and introduce "cb_disable" hook: callback now returns void, rather than a boolean. Signed-off-by: Rusty Russell --- Reading git-diff-tree failed