diff options
author | Ryota Ozaki <ozaki.ryota@gmail.com> | 2013-02-03 19:05:30 -0500 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-02-03 19:07:01 -0500 |
commit | 0d34cc2d6d904e2d0160e42734bccc1cb391cec0 (patch) | |
tree | 2c4d910400687a4f7d6c3926ad11800e1fba0fdc /drivers/virtio | |
parent | 1f8051876a194d7f7fe7834d9853f240d6b4b9ab (diff) |
virtio-mmio: fix wrong comment about register offset
The register offset of InterruptACK is 0x064, not 0x060.
Fix it.
Signed-off-by: Ryota Ozaki <ozaki.ryota@gmail.com>
Reviewed-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Acked-by: Pawel Moll <pawel.moll@arm.com>
CC: Jiri Kosina <trivial@kernel.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/virtio')
-rw-r--r-- | drivers/virtio/virtio_mmio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/virtio/virtio_mmio.c b/drivers/virtio/virtio_mmio.c index 31f966f4d27f..833e6dbf38db 100644 --- a/drivers/virtio/virtio_mmio.c +++ b/drivers/virtio/virtio_mmio.c | |||
@@ -75,7 +75,7 @@ | |||
75 | * | 75 | * |
76 | * 0x050 W QueueNotify Queue notifier | 76 | * 0x050 W QueueNotify Queue notifier |
77 | * 0x060 R InterruptStatus Interrupt status register | 77 | * 0x060 R InterruptStatus Interrupt status register |
78 | * 0x060 W InterruptACK Interrupt acknowledge register | 78 | * 0x064 W InterruptACK Interrupt acknowledge register |
79 | * 0x070 RW Status Device status register | 79 | * 0x070 RW Status Device status register |
80 | * | 80 | * |
81 | * 0x100+ RW Device-specific configuration space | 81 | * 0x100+ RW Device-specific configuration space |