2017-06-16 19:31:32 +00:00
|
|
|
From edb37fb30bbc8a3b6bec67911c7200e4eb071127 Mon Sep 17 00:00:00 2001
|
|
|
|
From: phcoder <phcoder@sid.debian.laptop.phnet>
|
|
|
|
Date: Sun, 9 Jul 2017 20:58:31 +0200
|
2018-04-03 17:41:24 +00:00
|
|
|
Subject: [PATCH 044/216] ehci: Fix compilation for amd64
|
2017-06-16 19:31:32 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
grub-core/bus/usb/ehci.c | 8 ++++----
|
|
|
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/grub-core/bus/usb/ehci.c b/grub-core/bus/usb/ehci.c
|
2018-02-27 18:56:41 +00:00
|
|
|
index c772e76546e..7b7061f5335 100644
|
2017-06-16 19:31:32 +00:00
|
|
|
--- a/grub-core/bus/usb/ehci.c
|
|
|
|
+++ b/grub-core/bus/usb/ehci.c
|
|
|
|
@@ -504,8 +504,8 @@ grub_ehci_init_device (volatile void *regs)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
grub_dprintf ("ehci",
|
|
|
|
- "EHCI grub_ehci_pci_iter: iobase of oper. regs: %08x\n",
|
|
|
|
- (grub_addr_t) e->iobase_ehcc + caplen);
|
|
|
|
+ "EHCI grub_ehci_pci_iter: iobase of oper. regs: %08llxx\n",
|
|
|
|
+ (unsigned long long) e->iobase_ehcc + caplen);
|
|
|
|
grub_dprintf ("ehci", "EHCI grub_ehci_pci_iter: COMMAND: %08x\n",
|
|
|
|
grub_ehci_oper_read32 (e, GRUB_EHCI_COMMAND));
|
|
|
|
grub_dprintf ("ehci", "EHCI grub_ehci_pci_iter: STATUS: %08x\n",
|
|
|
|
@@ -696,8 +696,8 @@ grub_ehci_init_device (volatile void *regs)
|
|
|
|
grub_dprintf ("ehci", "EHCI grub_ehci_pci_iter: OK at all\n");
|
|
|
|
|
|
|
|
grub_dprintf ("ehci",
|
|
|
|
- "EHCI grub_ehci_pci_iter: iobase of oper. regs: %08x\n",
|
|
|
|
- (grub_addr_t) regs);
|
|
|
|
+ "EHCI grub_ehci_pci_iter: iobase of oper. regs: %08llx\n",
|
|
|
|
+ (unsigned long long) regs);
|
|
|
|
grub_dprintf ("ehci", "EHCI grub_ehci_pci_iter: COMMAND: %08x\n",
|
|
|
|
grub_ehci_oper_read32 (e, GRUB_EHCI_COMMAND));
|
|
|
|
grub_dprintf ("ehci", "EHCI grub_ehci_pci_iter: STATUS: %08x\n",
|
|
|
|
--
|
2018-02-27 18:56:41 +00:00
|
|
|
2.15.0
|
2017-06-16 19:31:32 +00:00
|
|
|
|