virtio: explicit enable_cb/disable_cb rather than callback return.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 5 Feb 2008 04:49:57 +0000 (23:49 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 4 Feb 2008 12:49:58 +0000 (23:49 +1100)
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 <rusty@rustcorp.com.au>

No differences found