aboutsummaryrefslogtreecommitdiffstats
path: root/src/hw/esp-scsi.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2013-09-14 21:55:26 -0400
committerKevin O'Connor <kevin@koconnor.net>2013-09-18 20:48:34 -0400
commit2d2fa31b377444991e7993c37f6d6900c6051aca (patch)
tree0d37e45165d29fe4aae15d17f5d19bcf795ea51d /src/hw/esp-scsi.c
parent9dea59025f8aa3742ff5b27d1772e1651066ffb9 (diff)
downloadseabios-2d2fa31b377444991e7993c37f6d6900c6051aca.tar.gz
Move function definitions for output.c from util.h to new file output.h.
Also, sort the order of include files in the c files. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/hw/esp-scsi.c')
-rw-r--r--src/hw/esp-scsi.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/hw/esp-scsi.c b/src/hw/esp-scsi.c
index 0f55bb98..65a67cd9 100644
--- a/src/hw/esp-scsi.c
+++ b/src/hw/esp-scsi.c
@@ -10,18 +10,19 @@
//
// 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 "pci_ids.h" // PCI_DEVICE_ID
-#include "pci_regs.h" // PCI_VENDOR_ID
-#include "boot.h" // bootprio_find_scsi_device
#include "blockcmd.h" // scsi_drive_setup
-#include "fw/paravirt.h" // runningOnQEMU
+#include "boot.h" // bootprio_find_scsi_device
+#include "config.h" // CONFIG_*
#include "disk.h"
+#include "fw/paravirt.h" // runningOnQEMU
#include "malloc.h" // free
+#include "output.h" // dprintf
+#include "pci.h" // foreachpci
+#include "pci_ids.h" // PCI_DEVICE_ID
+#include "pci_regs.h" // PCI_VENDOR_ID
#include "string.h" // memset
+#include "util.h" // usleep
#define ESP_TCLO 0x00
#define ESP_TCMID 0x04