.. | .. |
---|
42 | 42 | (__virtio_test_bit((dev), feature)) |
---|
43 | 43 | |
---|
44 | 44 | /** |
---|
45 | | - * virtio_has_iommu_quirk - determine whether this device has the iommu quirk |
---|
| 45 | + * virtio_has_dma_quirk - determine whether this device has the DMA quirk |
---|
46 | 46 | * @vdev: the device |
---|
47 | 47 | */ |
---|
48 | | -static inline bool virtio_has_iommu_quirk(const struct virtio_device *vdev) |
---|
| 48 | +static inline bool virtio_has_dma_quirk(const struct virtio_device *vdev) |
---|
49 | 49 | { |
---|
50 | 50 | /* |
---|
51 | 51 | * Note the reverse polarity of the quirk feature (compared to most |
---|
52 | 52 | * other features), this is for compatibility with legacy systems. |
---|
53 | 53 | */ |
---|
54 | | - return !virtio_has_feature(vdev, VIRTIO_F_IOMMU_PLATFORM); |
---|
| 54 | + return !virtio_has_feature(vdev, VIRTIO_F_ACCESS_PLATFORM); |
---|
55 | 55 | } |
---|
56 | 56 | |
---|
57 | 57 | static inline bool virtio_is_little_endian(struct virtio_device *vdev) |
---|