diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2015-07-07 11:24:27 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2015-07-14 14:40:08 -0400 |
commit | 0e5c7709288944336a6a16beb851d5df5667a77b (patch) | |
tree | 13df303e8e0dec86e1ee5c40a2a1378715310af4 /src/hw/blockcmd.c | |
parent | 91f892314dbcf6c83658a0bd5d16118f5cc1db7e (diff) | |
download | seabios-0e5c7709288944336a6a16beb851d5df5667a77b.tar.gz |
ahci: Handle AHCI ATAPI drives directly via 'struct disk_op_s' requests
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/hw/blockcmd.c')
-rw-r--r-- | src/hw/blockcmd.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/hw/blockcmd.c b/src/hw/blockcmd.c index d227d179..20bd59e6 100644 --- a/src/hw/blockcmd.c +++ b/src/hw/blockcmd.c @@ -5,7 +5,6 @@ // // This file may be distributed under the terms of the GNU LGPLv3 license. -#include "ahci.h" // atapi_cmd_data #include "biosvar.h" // GET_GLOBALFLAT #include "block.h" // struct disk_op_s #include "blockcmd.h" // struct cdb_request_sense @@ -50,9 +49,6 @@ cdb_cmd_data(struct disk_op_s *op, void *cdbcmd, u16 blocksize) case DTYPE_PVSCSI: if (!MODESEGMENT) return pvscsi_cmd_data(op, cdbcmd, blocksize); - case DTYPE_AHCI_ATAPI: - if (!MODESEGMENT) - return ahci_cmd_data(op, cdbcmd, blocksize); default: return DISK_RET_EPARAM; } |