x86/amd-iommu: Add per IOMMU reference counting
[linux/fpc-iii.git] / drivers / virtio / config.c
blob983d482fba403f00f866dde6b3ed6a6000472cc3
1 /* Configuration space parsing helpers for virtio.
3 * The configuration is [type][len][... len bytes ...] fields.
5 * Copyright 2007 Rusty Russell, IBM Corporation.
6 * GPL v2 or later.
7 */
8 #include <linux/err.h>
9 #include <linux/virtio.h>
10 #include <linux/virtio_config.h>
11 #include <linux/bug.h>
12 #include <asm/system.h>