Rusty Russell 18445c4d50 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 <rusty@rustcorp.com.au>
2008-02-04 23:49:58 +11:00
..
2008-02-04 23:49:57 +11:00
2008-01-31 11:25:51 +11:00
2008-01-30 13:14:02 -06:00
2008-01-31 17:29:48 +01:00
2008-01-31 17:29:48 +01:00
2008-01-31 11:25:51 +11:00
2008-01-31 11:25:51 +11:00