pci_map_page patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux