* grub-core/disk/ahci.c (grub_ahci_readwrite_real): Use proper
definitions for dprintf. * grub-core/disk/pata.c (grub_pata_readwrite): Likewise.
This commit is contained in:
parent
ca80309d32
commit
41bec7fec9
3 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2011-06-27 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/disk/ahci.c (grub_ahci_readwrite_real): Use proper
|
||||
definitions for dprintf.
|
||||
* grub-core/disk/pata.c (grub_pata_readwrite): Likewise.
|
||||
|
||||
2011-06-27 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/net/drivers/ieee1275/ofnet.c (send_card_buffer): Fix
|
||||
|
|
|
@ -590,7 +590,8 @@ grub_ahci_readwrite_real (struct grub_ahci_device *dev,
|
|||
dev->command_table[0].prdt[0].size = (parms->size + (parms->size & 1) - 1)
|
||||
| GRUB_AHCI_INTERRUPT_ON_COMPLETE;
|
||||
|
||||
grub_dprintf ("ahci", "PRDT = %" PRIxGRUB_UINT64_T ", %x, %x (%x)\n",
|
||||
grub_dprintf ("ahci", "PRDT = %" PRIxGRUB_UINT64_T ", %x, %x (%"
|
||||
PRIuGRUB_SIZE ")\n",
|
||||
dev->command_table[0].prdt[0].data_base,
|
||||
dev->command_table[0].prdt[0].unused,
|
||||
dev->command_table[0].prdt[0].size,
|
||||
|
|
|
@ -156,7 +156,8 @@ grub_pata_readwrite (struct grub_ata *disk,
|
|||
parms->taskfile.cmd,
|
||||
parms->taskfile.features,
|
||||
parms->taskfile.sectors);
|
||||
grub_dprintf ("pata", "lba_high=0x%x, lba_mid=0x%x, lba_low=0x%x, size=%d\n",
|
||||
grub_dprintf ("pata", "lba_high=0x%x, lba_mid=0x%x, lba_low=0x%x, size=%"
|
||||
PRIuGRUB_SIZE "\n",
|
||||
parms->taskfile.lba_high,
|
||||
parms->taskfile.lba_mid,
|
||||
parms->taskfile.lba_low, parms->size);
|
||||
|
|
Loading…
Reference in a new issue