2009-01-19 Christian Franke <franke@computer.org>
* disk/ata.c (GRUB_ATAPI_REG_*): New defines. (GRUB_ATAPI_IREASON_*): Likewise. (grub_ata_pio_write): Fix timeout error return. (grub_atapi_identify): Add grub_ata_wait () after cmd. (grub_atapi_wait_drq): New function. (grub_atapi_packet): New parameter `size'. Use grub_atapi_wait_drq () and direct write instead of grub_ata_pio_write (). (grub_atapi_read): Replace grub_ata_pio_read () by a loop which reads the number of bytes requested by the device for each DRQ assertion. (grub_atapi_write): Remove old implementation, return not implemented instead.
This commit is contained in:
parent
1cfe20b333
commit
59a64ef6da
2 changed files with 116 additions and 21 deletions
16
ChangeLog
16
ChangeLog
|
@ -1,3 +1,19 @@
|
|||
2009-01-19 Christian Franke <franke@computer.org>
|
||||
|
||||
* disk/ata.c (GRUB_ATAPI_REG_*): New defines.
|
||||
(GRUB_ATAPI_IREASON_*): Likewise.
|
||||
(grub_ata_pio_write): Fix timeout error return.
|
||||
(grub_atapi_identify): Add grub_ata_wait () after cmd.
|
||||
(grub_atapi_wait_drq): New function.
|
||||
(grub_atapi_packet): New parameter `size'.
|
||||
Use grub_atapi_wait_drq () and direct write instead of
|
||||
grub_ata_pio_write ().
|
||||
(grub_atapi_read): Replace grub_ata_pio_read () by a loop which
|
||||
reads the number of bytes requested by the device for each DRQ
|
||||
assertion.
|
||||
(grub_atapi_write): Remove old implementation, return not
|
||||
implemented instead.
|
||||
|
||||
2009-01-19 Christian Franke <franke@computer.org>
|
||||
|
||||
* disk/scsi.c (grub_scsi_read10): Use scsi->blocksize instead
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue