diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2007-10-21 21:03:36 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2007-10-23 01:49:54 -0400 |
commit | ec3d41c4db4c21164332826ea8d812f94f2f6886 (patch) | |
tree | 9b947e900745cfcc4df7409c6ba5583428964215 /include/linux/mod_devicetable.h | |
parent | 47436aa4ad054c1c7c8231618e86ebd9305308dc (diff) |
Virtio interface
This attempts to implement a "virtual I/O" layer which should allow
common drivers to be efficiently used across most virtual I/O
mechanisms. It will no-doubt need further enhancement.
The virtio drivers add buffers to virtio queues; as the buffers are consumed
the driver "interrupt" callbacks are invoked.
There is also a generic implementation of config space which drivers can query
to get setup information from the host.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Dor Laor <dor.laor@qumranet.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/linux/mod_devicetable.h')
-rw-r--r-- | include/linux/mod_devicetable.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h index 522b0dd836cf..e9fddb42f26c 100644 --- a/include/linux/mod_devicetable.h +++ b/include/linux/mod_devicetable.h | |||
@@ -361,4 +361,10 @@ struct ssb_device_id { | |||
361 | #define SSB_ANY_ID 0xFFFF | 361 | #define SSB_ANY_ID 0xFFFF |
362 | #define SSB_ANY_REV 0xFF | 362 | #define SSB_ANY_REV 0xFF |
363 | 363 | ||
364 | struct virtio_device_id { | ||
365 | __u32 device; | ||
366 | __u32 vendor; | ||
367 | }; | ||
368 | #define VIRTIO_DEV_ANY_ID 0xffffffff | ||
369 | |||
364 | #endif /* LINUX_MOD_DEVICETABLE_H */ | 370 | #endif /* LINUX_MOD_DEVICETABLE_H */ |