PERFORCE change 127804 for review

Kip Macy kmacy at FreeBSD.org
Fri Oct 19 17:45:41 PDT 2007


http://perforce.freebsd.org/chv.cgi?CH=127804

Change 127804 by kmacy at kmacy_home:ethng on 2007/10/20 00:45:05

	add linux pci compat shims
	move scatterlist out of generic linux compat
	add irqreturn_t to generic compat

Affected files ...

.. //depot/projects/ethng/src/sys/contrib/rdma/ib_verbs.h#4 edit
.. //depot/projects/ethng/src/sys/sys/linux_compat.h#5 edit
.. //depot/projects/ethng/src/sys/sys/linux_pci.h#1 add

Differences ...

==== //depot/projects/ethng/src/sys/contrib/rdma/ib_verbs.h#4 (text+ko) ====

@@ -43,6 +43,7 @@
 #define IB_VERBS_H
 
 #include <sys/linux_compat.h>
+#include <sys/linux_pci.h>
 
 union ib_gid {
 	u8	raw[16];

==== //depot/projects/ethng/src/sys/sys/linux_compat.h#5 (text+ko) ====

@@ -35,15 +35,9 @@
 
 #define page vm_page
 
-struct scatterlist {
-	vm_page_t           page;
-	unsigned int        offset;
-	bus_addr_t          dma_address;
-	unsigned int        length;
-};
-
 typedef uint32_t gfp_t;
 typedef struct mtx spinlock_t;
+typedef int irqreturn_t;
 
 #define __iomem
 #define __init


More information about the p4-projects mailing list