Update of /cvsroot/leaf/src/bering-uclibc/contrib/e1000e
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv10230

Added Files:
        e1000e-kcompat.patch 
Log Message:
e1000e-kcompat.patch for e1000e


--- NEW FILE: e1000e-kcompat.patch ---
--- kcompat.h.orig      2008-06-23 18:27:33.000000000 +0200
+++ kcompat.h   2008-10-17 16:14:16.040775704 +0200
@@ -949,6 +949,11 @@
 #define dev_err(__unused_dev, format, arg...)            \
        printk(KERN_ERR "%s: " format, pci_name(adapter->pdev) , ## arg)
 
+// [email protected] 02182008 
+// recent 2.4 kernels have the list stuff already implemented
+// no need to redo this here
+#ifndef _LINUX_LIST_H // for 2.4.34
+
 /* hlist_* code - double linked lists */
 struct hlist_head {
        struct hlist_node *first;
@@ -1010,6 +1015,8 @@
                ({ tpos = hlist_entry(pos, typeof(*tpos), member); 1;}); \
             pos = n)
 
+#endif // _LINUX_LIST_H  for 2.4.34
+
 /* we ignore GFP here */
 #define dma_alloc_coherent(dv, sz, dma, gfp) \
        pci_alloc_consistent(pdev, (sz), (dma))
@@ -1020,6 +1027,7 @@
 #define might_sleep()
 #endif
 
+
 #endif /* <= 2.5.0 */
 
 /*****************************************************************************/


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
leaf-cvs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits

Reply via email to