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-01-28 15:08:13 -08:00
2008-01-31 19:26:46 -08:00
2008-01-28 15:02:44 -08:00
2008-01-31 19:28:36 -08:00
2008-01-28 15:01:05 -08:00
2008-01-28 15:10:48 -08:00
2008-01-28 14:54:10 -08:00
2008-01-28 14:56:29 -08:00