aboutsummaryrefslogtreecommitdiffstats
path: root/src/ata.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2008-12-31 00:31:03 -0500
committerKevin O'Connor <kevin@koconnor.net>2008-12-31 00:31:03 -0500
commit4524bf778adc70d7af0f74982110454f5d447b70 (patch)
tree8570fb3839a968102898272e1dac3da89f1fa9bf /src/ata.h
parent4a16ef64acb83df452576560ba327a8b09213280 (diff)
downloadseabios-4524bf778adc70d7af0f74982110454f5d447b70.tar.gz
Use new 'struct disk_op_s' to issue ata requests.
Using the struct at all callers reduces the parameter assignments. Replace ata_op_s with new disk_op_s and update all users. Unify basic/extended_access methods to use new send_disk_op() func. Remove cdrom_read_emu -- integrate logic into callers. Remove ata.h -- move all defs to disk.h
Diffstat (limited to 'src/ata.h')
-rw-r--r--src/ata.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/ata.h b/src/ata.h
deleted file mode 100644
index 59b01d30..00000000
--- a/src/ata.h
+++ /dev/null
@@ -1,23 +0,0 @@
-// Low level ATA disk definitions
-//
-// Copyright (C) 2008 Kevin O'Connor <kevin@koconnor.net>
-// Copyright (C) 2002 MandrakeSoft S.A.
-//
-// This file may be distributed under the terms of the GNU GPLv3 license.
-
-#ifndef __ATA_H
-#define __ATA_H
-
-#include "types.h" // u16
-#include "atabits.h" // ATA_CB_DH_DEV1
-
-// Function definitions
-void ata_reset(int driveid);
-int ata_cmd_data(int driveid, u16 command, u64 lba, u16 count, void *far_buffer);
-int ata_cmd_packet(int driveid, u8 *cmdbuf, u8 cmdlen
- , u32 length, void *far_buffer);
-int cdrom_read(int driveid, u32 lba, u32 count, void *far_buffer);
-int cdrom_read_512(int driveid, u32 lba, u32 count, void *far_buffer);
-void hard_drive_setup();
-
-#endif /* __ATA_H */