[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 13/24] ide: move retry constants out of BM_STATU
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH 13/24] ide: move retry constants out of BM_STATUS_* namespace |
Date: |
Wed, 30 Oct 2013 13:55:17 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Am 28.10.2013 um 17:43 hat Paolo Bonzini geschrieben:
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
> hw/ide/core.c | 20 ++++++++++----------
> hw/ide/internal.h | 12 ++++++------
> hw/ide/pci.c | 14 +++++++-------
> 3 files changed, 23 insertions(+), 23 deletions(-)
> --- a/hw/ide/internal.h
> +++ b/hw/ide/internal.h
> @@ -485,12 +485,12 @@ struct IDEDevice {
> uint64_t wwn;
> };
>
> -/* FIXME These are not status register bits */
> -#define BM_STATUS_DMA_RETRY 0x08
> -#define BM_STATUS_PIO_RETRY 0x10
> -#define BM_STATUS_RETRY_READ 0x20
> -#define BM_STATUS_RETRY_FLUSH 0x40
> -#define BM_STATUS_RETRY_TRIM 0x80
> +/* These are used for the error_status field of IDEBus */
> +#define IDE_RETRY_DMA 0x08
> +#define IDE_RETRY_PIO 0x10
> +#define IDE_RETRY_READ 0x20
> +#define IDE_RETRY_FLUSH 0x40
> +#define IDE_RETRY_TRIM 0x80
I wouldn't mind using the chance to align the numbers on the same
column (or at least removing one space where there are two)
Kevin
- [Qemu-devel] [PATCH 08/24] ide: simplify start_transfer callbacks, (continued)
- [Qemu-devel] [PATCH 08/24] ide: simplify start_transfer callbacks, Paolo Bonzini, 2013/10/28
- [Qemu-devel] [PATCH 09/24] ide: wrap start_dma callback, Paolo Bonzini, 2013/10/28
- [Qemu-devel] [PATCH 10/24] ide: add trigger_irq callback, Paolo Bonzini, 2013/10/28
- [Qemu-devel] [PATCH 11/24] ide: fold add_status callback into set_inactive, Paolo Bonzini, 2013/10/28
- [Qemu-devel] [PATCH 12/24] ide: move BM_STATUS bits to pci.[ch], Paolo Bonzini, 2013/10/28
- [Qemu-devel] [PATCH 13/24] ide: move retry constants out of BM_STATUS_* namespace, Paolo Bonzini, 2013/10/28
- Re: [Qemu-devel] [PATCH 13/24] ide: move retry constants out of BM_STATUS_* namespace,
Kevin Wolf <=
- [Qemu-devel] [PATCH 14/24] ide: start extracting ide_restart_dma out of bmdma_restart_dma, Paolo Bonzini, 2013/10/28
- [Qemu-devel] [PATCH 15/24] ide: prepare to move restart to common code, Paolo Bonzini, 2013/10/28
- [Qemu-devel] [PATCH 16/24] ide: introduce ide_register_restart_cb, Paolo Bonzini, 2013/10/28
- [Qemu-devel] [PATCH 17/24] ide: do not use BMDMA in restart callback, Paolo Bonzini, 2013/10/28
- [Qemu-devel] [PATCH 18/24] ide: pass IDEBus to the restart_cb, Paolo Bonzini, 2013/10/28
- [Qemu-devel] [PATCH 19/24] ide: move restart callback to common code, Paolo Bonzini, 2013/10/28