rpms/kernel/FC-4 jwltest-sky2.patch,1.1.2.1,1.1.2.2

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Nov 14 15:24:09 UTC 2005


Author: linville

Update of /cvs/dist/rpms/kernel/FC-4
In directory cvs.devel.redhat.com:/tmp/cvs-serv12978

Modified Files:
      Tag: private-linville-jwltest-fc4-23-branch
	jwltest-sky2.patch 
Log Message:


jwltest-sky2.patch:
 Kconfig       |   18 
 Makefile      |    1 
 sky2.c        | 3040 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sky2.h        | 1910 ++++++++++++++++++++++++++++++++++++
 sky2_compat.h |    6 
 5 files changed, 4975 insertions(+)

Index: jwltest-sky2.patch
===================================================================
RCS file: /cvs/dist/rpms/kernel/FC-4/Attic/jwltest-sky2.patch,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -r1.1.2.1 -r1.1.2.2
--- jwltest-sky2.patch	14 Nov 2005 15:09:29 -0000	1.1.2.1
+++ jwltest-sky2.patch	14 Nov 2005 15:24:05 -0000	1.1.2.2
@@ -1,43 +1,3 @@
---- linux-2.6.14/include/asm-x86_64/dma-mapping.h.orig	2005-11-07 16:16:16.000000000 -0500
-+++ linux-2.6.14/include/asm-x86_64/dma-mapping.h	2005-11-07 16:16:37.000000000 -0500
-@@ -85,10 +85,33 @@ static inline void dma_sync_single_for_d
- 	flush_write_buffers();
- }
- 
--#define dma_sync_single_range_for_cpu(dev, dma_handle, offset, size, dir)       \
--        dma_sync_single_for_cpu(dev, dma_handle, size, dir)
--#define dma_sync_single_range_for_device(dev, dma_handle, offset, size, dir)    \
--        dma_sync_single_for_device(dev, dma_handle, size, dir)
-+static inline void dma_sync_single_range_for_cpu(struct device *hwdev,
-+						 dma_addr_t dma_handle,
-+						 unsigned long offset,
-+						 size_t size, int direction)
-+{
-+	if (direction == DMA_NONE)
-+		out_of_line_bug();
-+
-+	if (swiotlb)
-+		return swiotlb_sync_single_for_cpu(hwdev,dma_handle,offset+size,direction);
-+
-+	flush_write_buffers();
-+}
-+
-+static inline void dma_sync_single_range_for_device(struct device *hwdev,
-+						    dma_addr_t dma_handle,
-+						    unsigned long offset,
-+						    size_t size, int direction)
-+{
-+        if (direction == DMA_NONE)
-+		out_of_line_bug();
-+
-+	if (swiotlb)
-+		return swiotlb_sync_single_for_device(hwdev,dma_handle,offset+size,direction);
-+
-+	flush_write_buffers();
-+}
- 
- static inline void dma_sync_sg_for_cpu(struct device *hwdev,
- 				       struct scatterlist *sg,
 --- linux-2.6.14/drivers/net/sky2.h.orig	2005-11-14 09:45:48.000000000 -0500
 +++ linux-2.6.14/drivers/net/sky2.h	2005-11-14 09:45:56.000000000 -0500
 @@ -0,0 +1,1910 @@




More information about the fedora-cvs-commits mailing list