ide: Clean up case label indentation in ide_exec_cmd()
authorMarkus Armbruster <armbru@redhat.com>
Wed, 3 Aug 2011 13:07:44 +0000 (15:07 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 6 Sep 2011 09:23:51 +0000 (11:23 +0200)
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/ide/core.c

index d1cbfe7de70c0ef178a80f2f92e68e8ca5b92b3d..ff59a453c7ac41d529699945b673e74cd9b7e116 100644 (file)
@@ -979,7 +979,7 @@ void ide_exec_cmd(IDEBus *bus, uint32_t val)
         s->status = READY_STAT | SEEK_STAT;
         ide_set_irq(s->bus);
         break;
-       case WIN_READ_EXT:
+    case WIN_READ_EXT:
        lba48 = 1;
     case WIN_READ:
     case WIN_READ_ONCE:
@@ -989,7 +989,7 @@ void ide_exec_cmd(IDEBus *bus, uint32_t val)
         s->req_nb_sectors = 1;
         ide_sector_read(s);
         break;
-       case WIN_WRITE_EXT:
+    case WIN_WRITE_EXT:
        lba48 = 1;
     case WIN_WRITE:
     case WIN_WRITE_ONCE:
@@ -1002,7 +1002,7 @@ void ide_exec_cmd(IDEBus *bus, uint32_t val)
         ide_transfer_start(s, s->io_buffer, 512, ide_sector_write);
         s->media_changed = 1;
         break;
-       case WIN_MULTREAD_EXT:
+    case WIN_MULTREAD_EXT:
        lba48 = 1;
     case WIN_MULTREAD:
         if (!s->mult_sectors)
@@ -1027,7 +1027,7 @@ void ide_exec_cmd(IDEBus *bus, uint32_t val)
         ide_transfer_start(s, s->io_buffer, 512 * n, ide_sector_write);
         s->media_changed = 1;
         break;
-       case WIN_READDMA_EXT:
+    case WIN_READDMA_EXT:
        lba48 = 1;
     case WIN_READDMA:
     case WIN_READDMA_ONCE:
@@ -1036,7 +1036,7 @@ void ide_exec_cmd(IDEBus *bus, uint32_t val)
        ide_cmd_lba48_transform(s, lba48);
         ide_sector_start_dma(s, IDE_DMA_READ);
         break;
-       case WIN_WRITEDMA_EXT:
+    case WIN_WRITEDMA_EXT:
        lba48 = 1;
     case WIN_WRITEDMA:
     case WIN_WRITEDMA_ONCE:
@@ -1261,7 +1261,7 @@ void ide_exec_cmd(IDEBus *bus, uint32_t val)
         ide_set_irq(s->bus);
         break;
 
-       case WIN_SMART:
+    case WIN_SMART:
        if (s->drive_kind == IDE_CD)
                goto abort_cmd;
        if (s->hcyl != 0xc2 || s->lcyl != 0x4f)