diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2009-08-09 18:06:40 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2009-08-09 18:06:40 -0400 |
commit | 9ae1e9b2c89912920a37d6e1593d4faa90a68e4b (patch) | |
tree | d83edcabc079275c5d480207942f9b1fa0c61785 /src/disk.c | |
parent | b68ac71b00360dde1e8f8176985935dc43868858 (diff) | |
download | seabios-hppa-9ae1e9b2c89912920a37d6e1593d4faa90a68e4b.zip seabios-hppa-9ae1e9b2c89912920a37d6e1593d4faa90a68e4b.tar.gz seabios-hppa-9ae1e9b2c89912920a37d6e1593d4faa90a68e4b.tar.bz2 |
Remove unused cdemu ATA code.
Remove the low-level ATA code for short reads on cdroms now that cd
emulation is done at higher-level.
Also, remove sector_count from ebda - ata code updates op->count now.
Diffstat (limited to 'src/disk.c')
-rw-r--r-- | src/disk.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -67,8 +67,7 @@ __send_disk_op(struct disk_op_s *op_far, u16 op_seg) irq_disable(); // Update count with total sectors transferred. - if (dop.command) - SET_FARVAR(op_seg, op_far->count, GET_EBDA(sector_count)); + SET_FARVAR(op_seg, op_far->count, dop.count); if (status) dprintf(1, "disk_op cmd %d error %d!\n", dop.command, status); |