[pisa-src] r2131 - trunk/kernel/pisa.c

  • From: Mircea Gherzan <mircea.gherzan@xxxxxxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Fri, 12 Mar 2010 18:03:58 +0100

Author: gherzan
Date: Fri Mar 12 18:03:58 2010
New Revision: 2131

Log:
kpisa: add netdev_tx_t alias for backward compatibility

Modified:
   trunk/kernel/pisa.c

Modified: trunk/kernel/pisa.c
==============================================================================
--- trunk/kernel/pisa.c Fri Mar 12 17:28:33 2010        (r2130)
+++ trunk/kernel/pisa.c Fri Mar 12 18:03:58 2010        (r2131)
@@ -17,6 +17,14 @@
 
 #include <net/rtnetlink.h>
 
+/* Commit dc1f8bf68b311b1537cb65893430b6796118498a from mainline changed
+ * the type of the value returned by the _xmit routine.
+ * The following typedef is provided for backward compatibility.
+ */
+#ifndef netdev_tx_t
+typedef int netdev_tx_t
+#endif
+
 #define PISA_QUEUE_SIZE                1000
 
 #ifdef _DEBUG

Other related posts:

  • » [pisa-src] r2131 - trunk/kernel/pisa.c - Mircea Gherzan