diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-02-05 05:49:57 +0100 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-02-04 13:49:58 +0100 |
commit | 18445c4d501b9ab4336f66ef46b092661ddaf336 (patch) | |
tree | 9d23185f207d912942890cf047d1d3200806b401 /arch/h8300 | |
parent | virtio: simplify config mechanism. (diff) | |
download | linux-18445c4d501b9ab4336f66ef46b092661ddaf336.tar.xz linux-18445c4d501b9ab4336f66ef46b092661ddaf336.zip |
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>
Diffstat (limited to 'arch/h8300')
0 files changed, 0 insertions, 0 deletions