Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Oct 2007 00:45:40 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 127804 for review
Message-ID:  <200710200045.l9K0je6E010540@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=127804

Change 127804 by kmacy@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710200045.l9K0je6E010540>