virtio: enhance id_matching for virtio drivers
authorChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 26 May 2009 13:46:10 +0000 (15:46 +0200)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 12 Jun 2009 12:46:40 +0000 (22:16 +0930)
commite3353853730eb99c56b7b0aed1667d51c0e3699a
treed0da26c34a8ca12a57662830fd698ca6696f3805
parentc89e80168ba1ed37627fe03116b0cf8474dcb7e0
virtio: enhance id_matching for virtio drivers

This patch allows a virtio driver to use VIRTIO_DEV_ANY_ID for the
device id. This will be used by a test module that can be bound to
any virtio device.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/virtio/virtio.c
scripts/mod/file2alias.c