android_kernel_xiaomi_sdm845/drivers/virtio
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
..
config.c Virtio interface 2007-10-23 15:49:54 +10:00
Kconfig Virtio helper routines for a descriptor ringbuffer implementation 2007-10-23 15:49:55 +10:00
Makefile Virtio helper routines for a descriptor ringbuffer implementation 2007-10-23 15:49:55 +10:00
virtio_ring.c virtio: explicit enable_cb/disable_cb rather than callback return. 2008-02-04 23:49:58 +11:00
virtio.c virtio: simplify config mechanism. 2008-02-04 23:49:57 +11:00