mirror of
https://git.proxmox.com/git/grub2
synced 2025-08-07 16:13:16 +00:00
Fewstylistic fixes
This commit is contained in:
parent
390b0676c4
commit
a18c783473
@ -594,10 +594,10 @@ grub_ohci_transfer (grub_usb_controller_t dev,
|
|||||||
}
|
}
|
||||||
|
|
||||||
grub_dprintf ("ohci", "wait for completion\n");
|
grub_dprintf ("ohci", "wait for completion\n");
|
||||||
grub_dprintf ("ohci",
|
grub_dprintf ("ohci", "begin: control=0x%02x status=0x%02x\n",
|
||||||
"begin: control=0x%02x status=0x%02x\n\t\t intstatus=0x%02x\n",
|
|
||||||
grub_ohci_readreg32 (o, GRUB_OHCI_REG_CONTROL),
|
grub_ohci_readreg32 (o, GRUB_OHCI_REG_CONTROL),
|
||||||
grub_ohci_readreg32 (o, GRUB_OHCI_REG_CMDSTATUS),
|
grub_ohci_readreg32 (o, GRUB_OHCI_REG_CMDSTATUS));
|
||||||
|
grub_dprintf ("ohci","intstatus=0x%02x\n",
|
||||||
grub_ohci_readreg32 (o, GRUB_OHCI_REG_INTSTATUS));
|
grub_ohci_readreg32 (o, GRUB_OHCI_REG_INTSTATUS));
|
||||||
|
|
||||||
/* Safety measure to avoid a hang. */
|
/* Safety measure to avoid a hang. */
|
||||||
@ -651,9 +651,10 @@ grub_ohci_transfer (grub_usb_controller_t dev,
|
|||||||
}
|
}
|
||||||
while (1);
|
while (1);
|
||||||
|
|
||||||
grub_dprintf ("ohci", "end: control=0x%02x status=0x%02x\n\t\t intstatus=0x%02x\n",
|
grub_dprintf ("ohci", "end: control=0x%02x status=0x%02x\n",
|
||||||
grub_ohci_readreg32 (o, GRUB_OHCI_REG_CONTROL),
|
grub_ohci_readreg32 (o, GRUB_OHCI_REG_CONTROL),
|
||||||
grub_ohci_readreg32 (o, GRUB_OHCI_REG_CMDSTATUS),
|
grub_ohci_readreg32 (o, GRUB_OHCI_REG_CMDSTATUS));
|
||||||
|
grub_dprintf ("ohci", "intstatus=0x%02x\n",
|
||||||
grub_ohci_readreg32 (o, GRUB_OHCI_REG_INTSTATUS));
|
grub_ohci_readreg32 (o, GRUB_OHCI_REG_INTSTATUS));
|
||||||
|
|
||||||
if (!tderr_addr)
|
if (!tderr_addr)
|
||||||
@ -688,9 +689,10 @@ grub_ohci_transfer (grub_usb_controller_t dev,
|
|||||||
if (err_timeout)
|
if (err_timeout)
|
||||||
{
|
{
|
||||||
err = GRUB_ERR_TIMEOUT;
|
err = GRUB_ERR_TIMEOUT;
|
||||||
grub_dprintf("ohci", "Timeout, target=%08x, head=%08x\n\t\ttail=%08x, next=%08x\n",
|
grub_dprintf("ohci", "Timeout, target=%08x, head=%08x\n",
|
||||||
grub_le_to_cpu32(ed->target),
|
grub_le_to_cpu32(ed->target),
|
||||||
grub_le_to_cpu32(ed->td_head),
|
grub_le_to_cpu32(ed->td_head));
|
||||||
|
grub_dprintf("ohci", "tail=%08x, next=%08x\n",
|
||||||
grub_le_to_cpu32(ed->td_tail),
|
grub_le_to_cpu32(ed->td_tail),
|
||||||
grub_le_to_cpu32(ed->next_ed));
|
grub_le_to_cpu32(ed->next_ed));
|
||||||
}
|
}
|
||||||
@ -699,10 +701,10 @@ grub_ohci_transfer (grub_usb_controller_t dev,
|
|||||||
{
|
{
|
||||||
err = GRUB_USB_ERR_UNRECOVERABLE;
|
err = GRUB_USB_ERR_UNRECOVERABLE;
|
||||||
grub_dprintf("ohci",
|
grub_dprintf("ohci",
|
||||||
"Unrecoverable error, target=%08x, head=%08x\n"
|
"Unrecoverable error, target=%08x, head=%08x\n",
|
||||||
"\t\ttail=%08x, next=%08x\n",
|
|
||||||
grub_le_to_cpu32(ed->target),
|
grub_le_to_cpu32(ed->target),
|
||||||
grub_le_to_cpu32(ed->td_head),
|
grub_le_to_cpu32(ed->td_head));
|
||||||
|
grub_dprintf("ohci", "tail=%08x, next=%08x\n",
|
||||||
grub_le_to_cpu32(ed->td_tail),
|
grub_le_to_cpu32(ed->td_tail),
|
||||||
grub_le_to_cpu32(ed->next_ed));
|
grub_le_to_cpu32(ed->next_ed));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user