Don't pass segment to ata_cmd_packet.
[people/mcb30/legacybios.git] / src / ata.h
index ba2667c..83c48cc 100644 (file)
--- a/src/ata.h
+++ b/src/ata.h
@@ -16,7 +16,7 @@ u16 ata_cmd_data_in(u16 device, u16 command, u16 count, u16 cylinder
                     , u16 head, u16 sector, u32 lba, u16 segment, u16 offset);
 u16 ata_cmd_data_out(u16 device, u16 command, u16 count, u16 cylinder
                      , u16 head, u16 sector, u32 lba, u16 segment, u16 offset);
-u16 ata_cmd_packet(u16 device, u8 cmdlen, u16 cmdseg, u16 cmdoff, u16 header
+u16 ata_cmd_packet(u16 device, u16 cmdbuf, u8 cmdlen, u16 header
                    , u32 length, u8 inout, u16 bufseg, u16 bufoff);
 void ata_detect();