git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a586d4f
)
virtio: explicit enable_cb/disable_cb rather than callback return.
author
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 5 Feb 2008 04:49:57 +0000
(23:49 -0500)
committer
Rusty 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