| 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> |
|---|---|---|
| ||
| Previous by Date: | bash-1.14.7 could not be built., Steven Liu |
|---|---|
| Next by Date: | Re: [Linux-mips-kernel]Re: i8259.c in big endian, Jun Sun |
| Previous by Thread: | bash-1.14.7 could not be built., Steven Liu |
| Next by Thread: | Which usrland packages should be built for swapon, hostname,and grep?, Steven Liu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |