diff rathaxes_correctly_use_chunk_and_template_sequences_parameters_in_e1000.patch @ 66:901af221334b

Adding implementation poinctuts parameters to e1000 sample
author David Pineau <dav.pineau@gmail.com>
date Sat, 18 Feb 2012 15:51:06 +0100
parents 8dc1a3bf372a
children b916396fc577
line wrap: on
line diff
--- a/rathaxes_correctly_use_chunk_and_template_sequences_parameters_in_e1000.patch	Sat Feb 18 13:36:07 2012 +0100
+++ b/rathaxes_correctly_use_chunk_and_template_sequences_parameters_in_e1000.patch	Sat Feb 18 15:51:06 2012 +0100
@@ -1,5 +1,5 @@
 # HG changeset patch
-# Parent e24ae3e49b73a2b799765d863f69f0c956ea2c54
+# Parent 0197bb30a5d0fe40c5c67c510a9f076d2272d45d
 # User Louis Opter <louis@lse.epitech.net>, David Pineau <dav.pineau@gmail.com>
 rathaxes: correctly use chunk and template sequences parameters in the e1000 sample
 
@@ -304,7 +304,33 @@
  
                  return 0;
              }
-@@ -121,7 +139,7 @@
+@@ -66,7 +84,7 @@
+         {
+             static int  rtx_ethernet_xmit(struct sk_buff* skb, struct net_device *dev)
+             {
+-                ${pointcut ::IMPLEMENTATION};
++                ${pointcut ::IMPLEMENTATION(local.skb, local.dev)};
+ 
+                 return 0;
+             }
+@@ -87,7 +105,7 @@
+                 struct rtx_ethernet_dev* rtx_ether_dev =  netdev_priv(dev);
+                 struct rtx_e1000_ctx* ctx = &rtx_ether_dev->hw_ctx;
+ 
+-                ${pointcut ::IMPLEMENTATION};
++                ${pointcut ::IMPLEMENTATION(local.rtx_ether_dev)};
+ 
+                 return 0;
+             }
+@@ -114,14 +132,14 @@
+ 
+                 rtx_ether_dev = dev_id;
+                 ctx = &rtx_ether_dev->hw_ctx;
+-                ${pointcut ::IMPLEMENTATION};
++                ${pointcut ::IMPLEMENTATION(local.rtx_ether_dev)};
+ 
+                 return IRQ_NONE;
+             }
          }
      }