diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2012-07-21 12:01:12 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2012-07-21 12:29:48 -0400 |
commit | bd6afe5d1191759a0dd1a626c4116e13bdba2dc1 (patch) | |
tree | 7a4c05a16f97eadec9ce66545b67d10a597f026d /src/cdrom.c | |
parent | 9d6bac1d32b72cdf7c0ad009c1371a2e69084de3 (diff) | |
download | seabios-hppa-bd6afe5d1191759a0dd1a626c4116e13bdba2dc1.zip seabios-hppa-bd6afe5d1191759a0dd1a626c4116e13bdba2dc1.tar.gz seabios-hppa-bd6afe5d1191759a0dd1a626c4116e13bdba2dc1.tar.bz2 |
Unify ATAPI command processing.
Unify the ATA and AHCI ATAPI command processing into one function in
block.c (process_atapi_op).
This patch disables the existing handlers for ATA ATAPI isready and
reset. However, it's unlikely that support is needed and it does not
appear that the implemented support is fully correct.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/cdrom.c')
-rw-r--r-- | src/cdrom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cdrom.c b/src/cdrom.c index 6e0055d..42d8e08 100644 --- a/src/cdrom.c +++ b/src/cdrom.c @@ -201,7 +201,7 @@ cdrom_boot(struct drive_s *drive_g) dprintf(1, "scsi_is_ready returned %d\n", ret); // Read the Boot Record Volume Descriptor - u8 buffer[2048]; + u8 buffer[CDROM_SECTOR_SIZE]; dop.lba = 0x11; dop.count = 1; dop.buf_fl = buffer; |