Skip to contentSkip to conversation

QEMU coding style mandates spaces for indentation. This change replaces TABs in hw/ide/ and include/hw/ide.

PATCH New ~farzon 1 participant 1 message Sep 29, 2021

lore
Share & tools
lore

~farzon

author
#0 lore raw

PATCH v2 1/1 QEMU coding style mandates spaces for indentation. This change replaces TABs in hw/ide/ and include/hw/ide.

From: Farzon Lotfi <[email protected]>

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/371

---
 hw/ide/cmd646.c           |  28 +--
 hw/ide/core.c             |  84 ++++-----
 hw/ide/microdrive.c       | 360 +++++++++++++++++++-------------------
 include/hw/ide/internal.h | 248 +++++++++++++-------------
 4 files changed, 360 insertions(+), 360 deletions(-)
hw/ide/cmd646.c +14 -14
index c254631485..d58f1cce45 100644
@@ -36,20 +36,20 @@
 #include "trace.h"
 
 /* CMD646 specific */
-#define CFR		0x50
-#define   CFR_INTR_CH0	0x04
-#define CNTRL		0x51
-#define   CNTRL_EN_CH0	0x04
-#define   CNTRL_EN_CH1	0x08
-#define ARTTIM23	0x57
-#define    ARTTIM23_INTR_CH1	0x10
-#define MRDMODE		0x71
-#define   MRDMODE_INTR_CH0	0x04
-#define   MRDMODE_INTR_CH1	0x08
-#define   MRDMODE_BLK_CH0	0x10
-#define   MRDMODE_BLK_CH1	0x20
-#define UDIDETCR0	0x73
-#define UDIDETCR1	0x7B
+#define CFR     0x50
+#define   CFR_INTR_CH0  0x04
+#define CNTRL       0x51
+#define   CNTRL_EN_CH0  0x04
+#define   CNTRL_EN_CH1  0x08
+#define ARTTIM23    0x57
+#define    ARTTIM23_INTR_CH1    0x10
+#define MRDMODE     0x71
+#define   MRDMODE_INTR_CH0  0x04
+#define   MRDMODE_INTR_CH1  0x08
+#define   MRDMODE_BLK_CH0   0x10
+#define   MRDMODE_BLK_CH1   0x20
+#define UDIDETCR0   0x73
+#define UDIDETCR1   0x7B
 
 static void cmd646_update_irq(PCIDevice *pd);
 
hw/ide/core.c +42 -42

114 lines not on this page · raw message

hw/ide/microdrive.c +180 -180

484 lines not on this page · raw message

include/hw/ide/internal.h +124 -124

349 lines not on this page · raw message

Signature · 1 line
2.32.0