aboutsummaryrefslogtreecommitdiffstats
path: root/src/hw/ahci.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2013-09-18 21:41:48 -0400
committerKevin O'Connor <kevin@koconnor.net>2013-09-28 22:10:31 -0400
commit4ade523a9db32b2a0e3cdeec3413c52e463542c8 (patch)
tree83da55d3236672934dc003765578d52e48b737bb /src/hw/ahci.c
parent7b9f29736aecd3ac35021a8fc24ee15fc01d2c5a (diff)
downloadseabios-4ade523a9db32b2a0e3cdeec3413c52e463542c8.tar.gz
Remove ioport.h; disperse its contents to other header files.
Move the inb(), insb(), etc. code from ioport.h to x86.h. Move the PORT_* definitions to their appropriate hardware files. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/hw/ahci.c')
-rw-r--r--src/hw/ahci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hw/ahci.c b/src/hw/ahci.c
index 05a80b37..3e594af0 100644
--- a/src/hw/ahci.c
+++ b/src/hw/ahci.c
@@ -8,7 +8,6 @@
#include "ata.h" // ATA_CB_STAT
#include "biosvar.h" // GET_GLOBAL
#include "blockcmd.h" // CDB_CMD_READ_10
-#include "ioport.h" // inb
#include "malloc.h" // free
#include "output.h" // dprintf
#include "pci.h" // foreachpci
@@ -18,6 +17,7 @@
#include "std/disk.h" // DISK_RET_SUCCESS
#include "string.h" // memset
#include "util.h" // timer_calc
+#include "x86.h" // inb
#define AHCI_REQUEST_TIMEOUT 32000 // 32 seconds max for IDE ops
#define AHCI_RESET_TIMEOUT 500 // 500 miliseconds