linux-mips
[Top] [All Lists]

pci_map_page patch

To: linux-mips@oss.sgi.com
Subject: pci_map_page patch
From: Atsushi Nemoto <nemoto@toshiba-tops.co.jp>
Date: Fri, 09 Nov 2001 17:19:09 +0900 (JST)
Cc: ralf@oss.sgi.com
Organization: TOSHIBA Personal Computer System Corporation
Sender: owner-linux-mips@oss.sgi.com
pci_map_page() (added in 2.4.14) ignores offset value.

--- linux-sgi-cvs/include/asm-mips/pci.h        Thu Nov  8 16:27:01 2001
+++ linux.new/include/asm-mips/pci.h    Fri Nov  9 16:54:46 2001
@@ -130,6 +130,7 @@
                BUG();
 
        addr = (unsigned long) page_address(page);
+       addr += offset;
 #ifndef CONFIG_COHERENT_IO
        dma_cache_wback_inv(addr, size);
 #endif
---
Atsushi Nemoto

<Prev in Thread] Current Thread [Next in Thread>
  • pci_map_page patch, Atsushi Nemoto <=