]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Enable USB on 64-bit (still won't work with >= 4GiB memory).
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 2 Jun 2010 14:48:10 +0000 (16:48 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 2 Jun 2010 14:48:10 +0000 (16:48 +0200)
bus/pci.c

index 3e2126962b226527f958cef8eb3b61d14016c922..1635e889bc3f4f3c8c25432d8505e371f4bd4850 100644 (file)
--- a/bus/pci.c
+++ b/bus/pci.c
@@ -21,7 +21,8 @@
 #include <grub/pci.h>
 #include <grub/mm.h>
 
-#if GRUB_TARGET_SIZEOF_VOID_P == 4
+/* FIXME: correctly support 64-bit architectures.  */
+/* #if GRUB_TARGET_SIZEOF_VOID_P == 4 */
 struct grub_pci_dma_chunk *
 grub_memalign_dma32 (grub_size_t align, grub_size_t size)
 {
@@ -33,7 +34,7 @@ grub_dma_free (struct grub_pci_dma_chunk *ch)
 {
   grub_free (ch);
 }
-#endif
+/* #endif */
 
 #ifdef GRUB_MACHINE_MIPS_YEELOONG
 volatile void *