aboutsummaryrefslogtreecommitdiffstats
path: root/src/hw/virtio-scsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hw/virtio-scsi.c')
-rw-r--r--src/hw/virtio-scsi.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/hw/virtio-scsi.c b/src/hw/virtio-scsi.c
index 8c9c670..1c3500c 100644
--- a/src/hw/virtio-scsi.c
+++ b/src/hw/virtio-scsi.c
@@ -7,20 +7,21 @@
//
// This file may be distributed under the terms of the GNU LGPLv3 license.
-#include "util.h" // dprintf
-#include "pci.h" // foreachpci
-#include "config.h" // CONFIG_*
#include "biosvar.h" // GET_GLOBAL
+#include "blockcmd.h" // scsi_drive_setup
+#include "boot.h" // bootprio_find_scsi_device
+#include "config.h" // CONFIG_*
+#include "disk.h"
+#include "malloc.h" // free
+#include "output.h" // dprintf
+#include "pci.h" // foreachpci
#include "pci_ids.h" // PCI_DEVICE_ID_VIRTIO_BLK
#include "pci_regs.h" // PCI_VENDOR_ID
-#include "boot.h" // bootprio_find_scsi_device
-#include "blockcmd.h" // scsi_drive_setup
+#include "string.h" // memset
+#include "util.h" // usleep
#include "virtio-pci.h"
#include "virtio-ring.h"
#include "virtio-scsi.h"
-#include "disk.h"
-#include "malloc.h" // free
-#include "string.h" // memset
struct virtio_lun_s {
struct drive_s drive;