]> git.baikalelectronics.ru Git - kernel.git/commit
virtio: teach virtio_has_feature() about transport features
authorMark McLoughlin <markmc@redhat.com>
Mon, 11 May 2009 17:11:44 +0000 (18:11 +0100)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 12 Jun 2009 12:46:38 +0000 (22:16 +0930)
commitfa0777aca676988794c4226976ca4c93163cf032
tree205cb0ba2a4e08377effe7a2d10432047e82c1c9
parentddb99752a81f7f01464831d87319dd56707409f4
virtio: teach virtio_has_feature() about transport features

Drivers don't add transport features to their table, so we
shouldn't check these with virtio_check_driver_offered_feature().

We could perhaps add an ->offered_feature() virtio_config_op,
but that perhaps that would be overkill for a consitency check
like this.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
include/linux/virtio_config.h