]> rtime.felk.cvut.cz Git - socketcan-devel.git/commitdiff
Update to patch-series to revision 455.
authorthuermann <thuermann@030b6a49-0b11-0410-94ab-b0dab22257f2>
Fri, 3 Aug 2007 14:08:42 +0000 (14:08 +0000)
committerthuermann <thuermann@030b6a49-0b11-0410-94ab-b0dab22257f2>
Fri, 3 Aug 2007 14:08:42 +0000 (14:08 +0000)
Rebase from net-2.6.23 to net-2.6.

git-svn-id: svn://svn.berlios.de//socketcan/trunk@456 030b6a49-0b11-0410-94ab-b0dab22257f2

14 files changed:
patch-series/2.6.22/02-can-core.diff
patch-series/2.6.22/05-can-vcan-driver.diff
patch-series/2.6.22/07-can-doc.diff
patch-series/2.6.22/intro
patch-series/net-2.6.23/intro [deleted file]
patch-series/net-2.6/01-can-proto-numbers.diff [moved from patch-series/net-2.6.23/01-can-proto-numbers.diff with 80% similarity]
patch-series/net-2.6/02-can-core.diff [moved from patch-series/net-2.6.23/02-can-core.diff with 97% similarity]
patch-series/net-2.6/03-can-raw-proto.diff [moved from patch-series/net-2.6.23/03-can-raw-proto.diff with 97% similarity]
patch-series/net-2.6/04-can-bcm-proto.diff [moved from patch-series/net-2.6.23/04-can-bcm-proto.diff with 98% similarity]
patch-series/net-2.6/05-can-vcan-driver.diff [moved from patch-series/net-2.6.23/05-can-vcan-driver.diff with 86% similarity]
patch-series/net-2.6/06-can-maintainers.diff [moved from patch-series/net-2.6.23/06-can-maintainers.diff with 79% similarity]
patch-series/net-2.6/07-can-doc.diff [moved from patch-series/net-2.6.23/07-can-doc.diff with 98% similarity]
patch-series/net-2.6/intro [new file with mode: 0644]
patch-series/net-2.6/series [moved from patch-series/net-2.6.23/series with 100% similarity]

index a7bee3b6257abcbcdaec2a0b710c1a70fae8679c..63f45fbca8ace6174d05652f2577c5784d6bc18a 100644 (file)
@@ -9,7 +9,7 @@ Signed-off-by: Oliver Hartkopp <oliver.hartkopp@volkswagen.de>
 Signed-off-by: Urs Thuermann <urs.thuermann@volkswagen.de>
 
 ---
- include/linux/can.h       |   98 ++++
+ include/linux/can.h       |  113 +++++
  include/linux/can/core.h  |   80 +++
  include/linux/can/error.h |   93 ++++
  net/Kconfig               |    1 
@@ -19,13 +19,13 @@ Signed-off-by: Urs Thuermann <urs.thuermann@volkswagen.de>
  net/can/af_can.c          |  995 ++++++++++++++++++++++++++++++++++++++++++++++
  net/can/af_can.h          |  121 +++++
  net/can/proc.c            |  531 ++++++++++++++++++++++++
- 10 files changed, 1951 insertions(+)
+ 10 files changed, 1966 insertions(+)
 
 Index: linux-2.6.22/include/linux/can.h
 ===================================================================
 --- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.22/include/linux/can.h   2007-07-09 13:23:54.000000000 +0200
-@@ -0,0 +1,98 @@
++++ linux-2.6.22/include/linux/can.h   2007-08-03 11:08:46.000000000 +0200
+@@ -0,0 +1,113 @@
 +/*
 + * linux/can.h
 + *
@@ -58,7 +58,22 @@ Index: linux-2.6.22/include/linux/can.h
 +#define CAN_EFF_MASK 0x1FFFFFFFU /* extended frame format (EFF) */
 +#define CAN_ERR_MASK 0x1FFFFFFFU /* omit EFF, RTR, ERR flags */
 +
++/*
++ * Controller Area Network Identifier structure
++ *
++ * bit 0-28   : CAN identifier (11/29 bit)
++ * bit 29     : error frame flag (0 = data frame, 1 = error frame)
++ * bit 30     : remote transmission request flag (1 = rtr frame)
++ * bit 31     : frame format flag (0 = standard 11 bit, 1 = extended 29 bit)
++ */
 +typedef __u32 canid_t;
++
++/*
++ * Controller Area Network Error Frame Mask structure
++ *
++ * bit 0-28   : error class mask (see include/linux/can/error.h)
++ * bit 29-31  : set to zero
++ */
 +typedef __u32 can_err_mask_t;
 +
 +/**
@@ -127,7 +142,7 @@ Index: linux-2.6.22/include/linux/can.h
 Index: linux-2.6.22/include/linux/can/core.h
 ===================================================================
 --- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.22/include/linux/can/core.h      2007-07-09 13:23:54.000000000 +0200
++++ linux-2.6.22/include/linux/can/core.h      2007-08-03 11:08:46.000000000 +0200
 @@ -0,0 +1,80 @@
 +/*
 + * linux/can/core.h
@@ -150,7 +165,7 @@ Index: linux-2.6.22/include/linux/can/core.h
 +#include <linux/skbuff.h>
 +#include <linux/netdevice.h>
 +
-+#define CAN_VERSION "20070709"
++#define CAN_VERSION "20070802"
 +
 +/* increment this number each time you change some user-space interface */
 +#define CAN_ABI_VERSION "8"
@@ -211,8 +226,8 @@ Index: linux-2.6.22/include/linux/can/core.h
 +#endif /* CAN_CORE_H */
 Index: linux-2.6.22/net/Kconfig
 ===================================================================
---- linux-2.6.22.orig/net/Kconfig      2007-07-09 13:23:50.000000000 +0200
-+++ linux-2.6.22/net/Kconfig   2007-07-09 13:23:54.000000000 +0200
+--- linux-2.6.22.orig/net/Kconfig      2007-07-16 21:54:39.000000000 +0200
++++ linux-2.6.22/net/Kconfig   2007-07-16 21:54:41.000000000 +0200
 @@ -210,6 +210,7 @@
  endmenu
  
@@ -223,8 +238,8 @@ Index: linux-2.6.22/net/Kconfig
  source "net/rxrpc/Kconfig"
 Index: linux-2.6.22/net/Makefile
 ===================================================================
---- linux-2.6.22.orig/net/Makefile     2007-07-09 13:23:50.000000000 +0200
-+++ linux-2.6.22/net/Makefile  2007-07-09 13:23:54.000000000 +0200
+--- linux-2.6.22.orig/net/Makefile     2007-07-16 21:54:39.000000000 +0200
++++ linux-2.6.22/net/Makefile  2007-07-16 21:54:41.000000000 +0200
 @@ -34,6 +34,7 @@
  obj-$(CONFIG_NETROM)          += netrom/
  obj-$(CONFIG_ROSE)            += rose/
@@ -236,7 +251,7 @@ Index: linux-2.6.22/net/Makefile
 Index: linux-2.6.22/net/can/Kconfig
 ===================================================================
 --- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.22/net/can/Kconfig       2007-07-16 21:42:28.000000000 +0200
++++ linux-2.6.22/net/can/Kconfig       2007-08-03 11:08:02.000000000 +0200
 @@ -0,0 +1,25 @@
 +#
 +# Controller Area Network (CAN) network layer core configuration
@@ -266,7 +281,7 @@ Index: linux-2.6.22/net/can/Kconfig
 Index: linux-2.6.22/net/can/Makefile
 ===================================================================
 --- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.22/net/can/Makefile      2007-07-16 21:42:28.000000000 +0200
++++ linux-2.6.22/net/can/Makefile      2007-08-03 11:08:02.000000000 +0200
 @@ -0,0 +1,6 @@
 +#
 +#  Makefile for the Linux Controller Area Network core.
@@ -277,7 +292,7 @@ Index: linux-2.6.22/net/can/Makefile
 Index: linux-2.6.22/net/can/af_can.c
 ===================================================================
 --- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.22/net/can/af_can.c      2007-07-16 21:46:13.000000000 +0200
++++ linux-2.6.22/net/can/af_can.c      2007-07-16 21:54:41.000000000 +0200
 @@ -0,0 +1,995 @@
 +/*
 + * af_can.c - Protocol family CAN core module
@@ -1277,7 +1292,7 @@ Index: linux-2.6.22/net/can/af_can.c
 Index: linux-2.6.22/net/can/af_can.h
 ===================================================================
 --- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.22/net/can/af_can.h      2007-07-09 13:23:54.000000000 +0200
++++ linux-2.6.22/net/can/af_can.h      2007-07-16 21:54:41.000000000 +0200
 @@ -0,0 +1,121 @@
 +/*
 + * Copyright (c) 2002-2007 Volkswagen Group Electronic Research
@@ -1403,7 +1418,7 @@ Index: linux-2.6.22/net/can/af_can.h
 Index: linux-2.6.22/net/can/proc.c
 ===================================================================
 --- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.22/net/can/proc.c        2007-07-16 21:46:13.000000000 +0200
++++ linux-2.6.22/net/can/proc.c        2007-07-16 21:54:41.000000000 +0200
 @@ -0,0 +1,531 @@
 +/*
 + * proc.c - procfs support for Protocol family CAN core module
@@ -1939,7 +1954,7 @@ Index: linux-2.6.22/net/can/proc.c
 Index: linux-2.6.22/include/linux/can/error.h
 ===================================================================
 --- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.22/include/linux/can/error.h     2007-07-09 13:23:54.000000000 +0200
++++ linux-2.6.22/include/linux/can/error.h     2007-07-16 21:54:41.000000000 +0200
 @@ -0,0 +1,93 @@
 +/*
 + * linux/can/error.h
index af255050403de5c94800e260a7df13a6c783a23f..3f7b1b948aca66ba48a9fda875ca5cf9b94f322e 100644 (file)
@@ -12,14 +12,14 @@ Signed-off-by: Urs Thuermann <urs.thuermann@volkswagen.de>
  drivers/net/Makefile     |    1 
  drivers/net/can/Kconfig  |   25 ++++
  drivers/net/can/Makefile |    5 
- drivers/net/can/vcan.c   |  286 +++++++++++++++++++++++++++++++++++++++++++++++
+ drivers/net/can/vcan.c   |  283 +++++++++++++++++++++++++++++++++++++++++++++++
  net/can/Kconfig          |    3 
- 5 files changed, 320 insertions(+)
+ 5 files changed, 317 insertions(+)
 
 Index: linux-2.6.22/drivers/net/Makefile
 ===================================================================
---- linux-2.6.22.orig/drivers/net/Makefile     2007-07-16 21:42:28.000000000 +0200
-+++ linux-2.6.22/drivers/net/Makefile  2007-07-16 21:52:34.000000000 +0200
+--- linux-2.6.22.orig/drivers/net/Makefile     2007-07-16 21:54:38.000000000 +0200
++++ linux-2.6.22/drivers/net/Makefile  2007-07-16 21:54:41.000000000 +0200
 @@ -8,6 +8,7 @@
  obj-$(CONFIG_CHELSIO_T1) += chelsio/
  obj-$(CONFIG_CHELSIO_T3) += cxgb3/
@@ -31,7 +31,7 @@ Index: linux-2.6.22/drivers/net/Makefile
 Index: linux-2.6.22/drivers/net/can/Kconfig
 ===================================================================
 --- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.22/drivers/net/can/Kconfig       2007-07-16 21:52:34.000000000 +0200
++++ linux-2.6.22/drivers/net/can/Kconfig       2007-07-16 21:54:41.000000000 +0200
 @@ -0,0 +1,25 @@
 +menu "CAN Device Drivers"
 +      depends on CAN
@@ -61,7 +61,7 @@ Index: linux-2.6.22/drivers/net/can/Kconfig
 Index: linux-2.6.22/drivers/net/can/Makefile
 ===================================================================
 --- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.22/drivers/net/can/Makefile      2007-07-16 21:52:34.000000000 +0200
++++ linux-2.6.22/drivers/net/can/Makefile      2007-07-16 21:54:41.000000000 +0200
 @@ -0,0 +1,5 @@
 +#
 +#  Makefile for the Linux Controller Area Network drivers.
@@ -71,8 +71,8 @@ Index: linux-2.6.22/drivers/net/can/Makefile
 Index: linux-2.6.22/drivers/net/can/vcan.c
 ===================================================================
 --- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.22/drivers/net/can/vcan.c        2007-07-16 21:53:10.000000000 +0200
-@@ -0,0 +1,286 @@
++++ linux-2.6.22/drivers/net/can/vcan.c        2007-08-03 11:07:41.000000000 +0200
+@@ -0,0 +1,283 @@
 +/*
 + * vcan.c - Virtual CAN interface
 + *
@@ -150,17 +150,14 @@ Index: linux-2.6.22/drivers/net/can/vcan.c
 +MODULE_PARM_DESC(numdev, "Number of virtual CAN devices");
 +
 +/*
-+ * CAN network devices *should* support a local loopback functionality
-+ * (see Documentation/networking/can.txt). To test the handling of CAN
-+ * interfaces that do not support the loopback both driver types are
-+ * implemented inside this vcan driver. In the case that the driver does
-+ * not support the loopback the IFF_LOOPBACK remains clear in dev->flags.
-+ * This causes the PF_CAN core to perform the loopback as a fallback solution.
++ * CAN test feature:
++ * Enable the loopback on driver level for testing the CAN core loopback modes.
++ * See Documentation/networking/can.txt for details.
 + */
 +
-+static int loopback; /* vcan default: no loopback, just free the skb */
++static int loopback; /* loopback testing. Default: 0 (Off) */
 +module_param(loopback, int, S_IRUGO);
-+MODULE_PARM_DESC(loopback, "Loop back sent frames. vcan default: 0 (Off)");
++MODULE_PARM_DESC(loopback, "Loop back frames (for testing). Default: 0 (Off)");
 +
 +static struct net_device **vcan_devs; /* root pointer to netdevice structs */
 +
@@ -361,8 +358,8 @@ Index: linux-2.6.22/drivers/net/can/vcan.c
 +module_exit(vcan_cleanup_module);
 Index: linux-2.6.22/net/can/Kconfig
 ===================================================================
---- linux-2.6.22.orig/net/can/Kconfig  2007-07-16 21:50:19.000000000 +0200
-+++ linux-2.6.22/net/can/Kconfig       2007-07-16 21:52:34.000000000 +0200
+--- linux-2.6.22.orig/net/can/Kconfig  2007-07-16 21:54:41.000000000 +0200
++++ linux-2.6.22/net/can/Kconfig       2007-07-16 21:54:41.000000000 +0200
 @@ -77,3 +77,6 @@
          Say Y here if you want the CAN core to produce a bunch of debug
          messages to the system log.  Select this if you are having a
index ec0e945e1aa623543094f0029f0b5e0992002707..238750a545398bd59d7c440171a07708053eccb7 100644 (file)
@@ -14,7 +14,7 @@ Signed-off-by: Urs Thuermann <urs.thuermann@volkswagen.de>
 Index: linux-2.6.22/Documentation/networking/can.txt
 ===================================================================
 --- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.22/Documentation/networking/can.txt      2007-07-09 10:43:09.000000000 +0200
++++ linux-2.6.22/Documentation/networking/can.txt      2007-08-03 11:06:26.000000000 +0200
 @@ -0,0 +1,635 @@
 +============================================================================
 +
@@ -391,7 +391,7 @@ Index: linux-2.6.22/Documentation/networking/can.txt
 +  provided by the multi user SocketCAN approach, some reasonable
 +  defaults are set at RAW socket bindung time:
 +
-+  - The filters are set to excatly one filter receiving everything
++  - The filters are set to exactly one filter receiving everything
 +  - The socket only receives valid data frames (=> no error frames)
 +  - The loopback of sent CAN frames is enabled (see chapter 3.2)
 +  - The socket does not receive it's own sent frames (in loopback mode)
@@ -653,8 +653,8 @@ Index: linux-2.6.22/Documentation/networking/can.txt
 +  Michael Schulze (driver layer loopback requirement, RT CAN drivers review)
 Index: linux-2.6.22/Documentation/networking/00-INDEX
 ===================================================================
---- linux-2.6.22.orig/Documentation/networking/00-INDEX        2007-07-09 10:42:42.000000000 +0200
-+++ linux-2.6.22/Documentation/networking/00-INDEX     2007-07-09 10:43:09.000000000 +0200
+--- linux-2.6.22.orig/Documentation/networking/00-INDEX        2007-07-16 21:42:28.000000000 +0200
++++ linux-2.6.22/Documentation/networking/00-INDEX     2007-07-16 21:54:42.000000000 +0200
 @@ -26,6 +26,8 @@
        - info on the driver for Baycom style amateur radio modems
  bridge.txt
index fb0f5cf4e6548c6f160ef73e33a47e8f950ca2d0..0f1ceaf0a30f72652bb7b12d377ee493a0a46c0a 100644 (file)
@@ -3,7 +3,7 @@ CAN: Add new PF_CAN protocol family
 ESUBJECT
 
 This patch series applies against linux-2.6.22 and is derived from
-Subversion revision r434 of http://svn.berlios.de/svnroot/repos/socketcan.
+Subversion revision r455 of http://svn.berlios.de/svnroot/repos/socketcan.
 It can be found in the directory
 http://svn.berlios.de/svnroot/repos/socketcan/trunk/patch-series/<version>.
 
diff --git a/patch-series/net-2.6.23/intro b/patch-series/net-2.6.23/intro
deleted file mode 100644 (file)
index 2e69fe5..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-SUBJECT
-CAN: Add new PF_CAN protocol family, try #4
-ESUBJECT
-
-Hello Dave,
-
-this is the fourth post of the patch series that adds the PF_CAN
-protocol family for the Controller Area Network.
-
-Since our last post we have changed the following:
-
-* Revert our change to use skb->iif instead of skb->cb.  After
-  discussion with Patrick and Jamal it turned out, our first
-  implementation was correct.
-* Change vcan network driver to use the new RTNL API.
-
-* Use skb_tail_pointer() instead of skb->tail directly.
-
-* Minor changes for 64-bit-cleanliness.
-
-* Minor cleanup of #include's
-
-This patch series applies against net-2.6.23 and is derived from Subversion
-revision r434 of http://svn.berlios.de/svnroot/repos/socketcan.
-It can be found in the directory
-http://svn.berlios.de/svnroot/repos/socketcan/trunk/patch-series/<version>.
-
-This patch doesn't touch anything in the kernel except for the allocation
-of a couple of numbers for protocol, arp hw type, and a line discipline.
-
-Please consider this patch series for integration into your tree.
-
-Thanks very much for your work!
-
-Best regards,
-
-Urs Thuermann
-Oliver Hartkopp
similarity index 80%
rename from patch-series/net-2.6.23/01-can-proto-numbers.diff
rename to patch-series/net-2.6/01-can-proto-numbers.diff
index bbf2a67a1b6f45bb8e2e6eaaed3f3a6cb01eb482..69dce331fcb010ade9aec132ff97c5b6d18932ae 100644 (file)
@@ -16,10 +16,10 @@ Signed-off-by: Urs Thuermann <urs.thuermann@volkswagen.de>
  net/core/sock.c          |    4 ++--
  5 files changed, 8 insertions(+), 3 deletions(-)
 
-Index: net-2.6.23/include/linux/if_arp.h
+Index: net-2.6/include/linux/if_arp.h
 ===================================================================
---- net-2.6.23.orig/include/linux/if_arp.h     2007-07-09 10:41:39.000000000 +0200
-+++ net-2.6.23/include/linux/if_arp.h  2007-07-09 10:41:47.000000000 +0200
+--- net-2.6.orig/include/linux/if_arp.h        2007-08-03 11:21:32.000000000 +0200
++++ net-2.6/include/linux/if_arp.h     2007-08-03 11:21:42.000000000 +0200
 @@ -52,6 +52,7 @@
  #define ARPHRD_ROSE   270
  #define ARPHRD_X25    271             /* CCITT X.25                   */
@@ -28,10 +28,10 @@ Index: net-2.6.23/include/linux/if_arp.h
  #define ARPHRD_PPP    512
  #define ARPHRD_CISCO  513             /* Cisco HDLC                   */
  #define ARPHRD_HDLC   ARPHRD_CISCO
-Index: net-2.6.23/include/linux/if_ether.h
+Index: net-2.6/include/linux/if_ether.h
 ===================================================================
---- net-2.6.23.orig/include/linux/if_ether.h   2007-07-09 10:41:39.000000000 +0200
-+++ net-2.6.23/include/linux/if_ether.h        2007-07-09 10:41:47.000000000 +0200
+--- net-2.6.orig/include/linux/if_ether.h      2007-08-03 11:21:32.000000000 +0200
++++ net-2.6/include/linux/if_ether.h   2007-08-03 11:21:42.000000000 +0200
 @@ -90,6 +90,7 @@
  #define ETH_P_WAN_PPP   0x0007          /* Dummy type for WAN PPP frames*/
  #define ETH_P_PPP_MP    0x0008          /* Dummy type for PPP MP frames */
@@ -40,10 +40,10 @@ Index: net-2.6.23/include/linux/if_ether.h
  #define ETH_P_PPPTALK 0x0010          /* Dummy type for Atalk over PPP*/
  #define ETH_P_TR_802_2        0x0011          /* 802.2 frames                 */
  #define ETH_P_MOBITEX 0x0015          /* Mobitex (kaz@cafe.net)       */
-Index: net-2.6.23/include/linux/socket.h
+Index: net-2.6/include/linux/socket.h
 ===================================================================
---- net-2.6.23.orig/include/linux/socket.h     2007-07-09 10:41:39.000000000 +0200
-+++ net-2.6.23/include/linux/socket.h  2007-07-09 10:41:47.000000000 +0200
+--- net-2.6.orig/include/linux/socket.h        2007-08-03 11:21:32.000000000 +0200
++++ net-2.6/include/linux/socket.h     2007-08-03 11:21:42.000000000 +0200
 @@ -185,6 +185,7 @@
  #define AF_PPPOX      24      /* PPPoX sockets                */
  #define AF_WANPIPE    25      /* Wanpipe API Sockets */
@@ -60,10 +60,10 @@ Index: net-2.6.23/include/linux/socket.h
  #define PF_TIPC               AF_TIPC
  #define PF_BLUETOOTH  AF_BLUETOOTH
  #define PF_IUCV               AF_IUCV
-Index: net-2.6.23/include/linux/tty.h
+Index: net-2.6/include/linux/tty.h
 ===================================================================
---- net-2.6.23.orig/include/linux/tty.h        2007-07-09 10:41:39.000000000 +0200
-+++ net-2.6.23/include/linux/tty.h     2007-07-09 10:41:47.000000000 +0200
+--- net-2.6.orig/include/linux/tty.h   2007-08-03 11:21:32.000000000 +0200
++++ net-2.6/include/linux/tty.h        2007-08-03 11:21:42.000000000 +0200
 @@ -24,7 +24,7 @@
  #define NR_PTYS       CONFIG_LEGACY_PTY_COUNT   /* Number of legacy ptys */
  #define NR_UNIX98_PTY_DEFAULT 4096      /* Default maximum for Unix98 ptys */
@@ -81,10 +81,10 @@ Index: net-2.6.23/include/linux/tty.h
  
  /*
   * This character is the same as _POSIX_VDISABLE: it cannot be used as
-Index: net-2.6.23/net/core/sock.c
+Index: net-2.6/net/core/sock.c
 ===================================================================
---- net-2.6.23.orig/net/core/sock.c    2007-07-09 10:41:39.000000000 +0200
-+++ net-2.6.23/net/core/sock.c 2007-07-09 10:41:47.000000000 +0200
+--- net-2.6.orig/net/core/sock.c       2007-08-03 11:21:32.000000000 +0200
++++ net-2.6/net/core/sock.c    2007-08-03 11:21:42.000000000 +0200
 @@ -153,7 +153,7 @@
    "sk_lock-AF_ASH"   , "sk_lock-AF_ECONET"   , "sk_lock-AF_ATMSVC"   ,
    "sk_lock-21"       , "sk_lock-AF_SNA"      , "sk_lock-AF_IRDA"     ,
similarity index 97%
rename from patch-series/net-2.6.23/02-can-core.diff
rename to patch-series/net-2.6/02-can-core.diff
index 6a68376014464a4ce5a8dfa77e627837bd8825c4..6fb170c235dfbd6a4c724bef319cd280c51c9940 100644 (file)
@@ -9,7 +9,7 @@ Signed-off-by: Oliver Hartkopp <oliver.hartkopp@volkswagen.de>
 Signed-off-by: Urs Thuermann <urs.thuermann@volkswagen.de>
 
 ---
- include/linux/can.h       |   98 ++++
+ include/linux/can.h       |  113 +++++
  include/linux/can/core.h  |   80 +++
  include/linux/can/error.h |   93 ++++
  net/Kconfig               |    1 
@@ -19,13 +19,13 @@ Signed-off-by: Urs Thuermann <urs.thuermann@volkswagen.de>
  net/can/af_can.c          |  995 ++++++++++++++++++++++++++++++++++++++++++++++
  net/can/af_can.h          |  121 +++++
  net/can/proc.c            |  531 ++++++++++++++++++++++++
- 10 files changed, 1951 insertions(+)
+ 10 files changed, 1966 insertions(+)
 
-Index: net-2.6.23/include/linux/can.h
+Index: net-2.6/include/linux/can.h
 ===================================================================
 --- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ net-2.6.23/include/linux/can.h     2007-07-09 13:23:28.000000000 +0200
-@@ -0,0 +1,98 @@
++++ net-2.6/include/linux/can.h        2007-08-03 11:21:46.000000000 +0200
+@@ -0,0 +1,113 @@
 +/*
 + * linux/can.h
 + *
@@ -58,7 +58,22 @@ Index: net-2.6.23/include/linux/can.h
 +#define CAN_EFF_MASK 0x1FFFFFFFU /* extended frame format (EFF) */
 +#define CAN_ERR_MASK 0x1FFFFFFFU /* omit EFF, RTR, ERR flags */
 +
++/*
++ * Controller Area Network Identifier structure
++ *
++ * bit 0-28   : CAN identifier (11/29 bit)
++ * bit 29     : error frame flag (0 = data frame, 1 = error frame)
++ * bit 30     : remote transmission request flag (1 = rtr frame)
++ * bit 31     : frame format flag (0 = standard 11 bit, 1 = extended 29 bit)
++ */
 +typedef __u32 canid_t;
++
++/*
++ * Controller Area Network Error Frame Mask structure
++ *
++ * bit 0-28   : error class mask (see include/linux/can/error.h)
++ * bit 29-31  : set to zero
++ */
 +typedef __u32 can_err_mask_t;
 +
 +/**
@@ -124,10 +139,10 @@ Index: net-2.6.23/include/linux/can.h
 +#define CAN_INV_FILTER 0x20000000U /* to be set in can_filter.can_id */
 +
 +#endif /* CAN_H */
-Index: net-2.6.23/include/linux/can/core.h
+Index: net-2.6/include/linux/can/core.h
 ===================================================================
 --- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ net-2.6.23/include/linux/can/core.h        2007-07-09 13:23:28.000000000 +0200
++++ net-2.6/include/linux/can/core.h   2007-08-03 11:21:46.000000000 +0200
 @@ -0,0 +1,80 @@
 +/*
 + * linux/can/core.h
@@ -150,7 +165,7 @@ Index: net-2.6.23/include/linux/can/core.h
 +#include <linux/skbuff.h>
 +#include <linux/netdevice.h>
 +
-+#define CAN_VERSION "20070709"
++#define CAN_VERSION "20070802"
 +
 +/* increment this number each time you change some user-space interface */
 +#define CAN_ABI_VERSION "8"
@@ -209,10 +224,10 @@ Index: net-2.6.23/include/linux/can/core.h
 +#endif
 +
 +#endif /* CAN_CORE_H */
-Index: net-2.6.23/net/Kconfig
+Index: net-2.6/net/Kconfig
 ===================================================================
---- net-2.6.23.orig/net/Kconfig        2007-07-09 13:23:24.000000000 +0200
-+++ net-2.6.23/net/Kconfig     2007-07-09 13:23:28.000000000 +0200
+--- net-2.6.orig/net/Kconfig   2007-08-03 11:21:32.000000000 +0200
++++ net-2.6/net/Kconfig        2007-08-03 11:21:46.000000000 +0200
 @@ -210,6 +210,7 @@
  endmenu
  
@@ -221,10 +236,10 @@ Index: net-2.6.23/net/Kconfig
  source "net/irda/Kconfig"
  source "net/bluetooth/Kconfig"
  source "net/rxrpc/Kconfig"
-Index: net-2.6.23/net/Makefile
+Index: net-2.6/net/Makefile
 ===================================================================
---- net-2.6.23.orig/net/Makefile       2007-07-09 13:23:24.000000000 +0200
-+++ net-2.6.23/net/Makefile    2007-07-09 13:23:28.000000000 +0200
+--- net-2.6.orig/net/Makefile  2007-08-03 11:21:32.000000000 +0200
++++ net-2.6/net/Makefile       2007-08-03 11:21:46.000000000 +0200
 @@ -34,6 +34,7 @@
  obj-$(CONFIG_NETROM)          += netrom/
  obj-$(CONFIG_ROSE)            += rose/
@@ -233,10 +248,10 @@ Index: net-2.6.23/net/Makefile
  obj-$(CONFIG_IRDA)            += irda/
  obj-$(CONFIG_BT)              += bluetooth/
  obj-$(CONFIG_SUNRPC)          += sunrpc/
-Index: net-2.6.23/net/can/Kconfig
+Index: net-2.6/net/can/Kconfig
 ===================================================================
 --- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ net-2.6.23/net/can/Kconfig 2007-07-16 21:42:33.000000000 +0200
++++ net-2.6/net/can/Kconfig    2007-08-03 11:21:46.000000000 +0200
 @@ -0,0 +1,25 @@
 +#
 +# Controller Area Network (CAN) network layer core configuration
@@ -263,10 +278,10 @@ Index: net-2.6.23/net/can/Kconfig
 +        Say Y here if you want the CAN core to produce a bunch of debug
 +        messages to the system log.  Select this if you are having a
 +        problem with CAN support and want to see more of what is going on.
-Index: net-2.6.23/net/can/Makefile
+Index: net-2.6/net/can/Makefile
 ===================================================================
 --- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ net-2.6.23/net/can/Makefile        2007-07-16 21:42:33.000000000 +0200
++++ net-2.6/net/can/Makefile   2007-08-03 11:21:46.000000000 +0200
 @@ -0,0 +1,6 @@
 +#
 +#  Makefile for the Linux Controller Area Network core.
@@ -274,10 +289,10 @@ Index: net-2.6.23/net/can/Makefile
 +
 +obj-$(CONFIG_CAN)     += can.o
 +can-objs              := af_can.o proc.o
-Index: net-2.6.23/net/can/af_can.c
+Index: net-2.6/net/can/af_can.c
 ===================================================================
 --- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ net-2.6.23/net/can/af_can.c        2007-07-16 21:45:37.000000000 +0200
++++ net-2.6/net/can/af_can.c   2007-08-03 11:21:46.000000000 +0200
 @@ -0,0 +1,995 @@
 +/*
 + * af_can.c - Protocol family CAN core module
@@ -1207,7 +1222,7 @@ Index: net-2.6.23/net/can/af_can.c
 +      printk(banner);
 +
 +      rcv_cache = kmem_cache_create("can_receiver", sizeof(struct receiver),
-+                                    0, 0, NULL, NULL);
++                                    0, 0, NULL);
 +      if (!rcv_cache)
 +              return -ENOMEM;
 +
@@ -1274,10 +1289,10 @@ Index: net-2.6.23/net/can/af_can.c
 +
 +module_init(can_init);
 +module_exit(can_exit);
-Index: net-2.6.23/net/can/af_can.h
+Index: net-2.6/net/can/af_can.h
 ===================================================================
 --- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ net-2.6.23/net/can/af_can.h        2007-07-09 13:23:28.000000000 +0200
++++ net-2.6/net/can/af_can.h   2007-08-03 11:21:46.000000000 +0200
 @@ -0,0 +1,121 @@
 +/*
 + * Copyright (c) 2002-2007 Volkswagen Group Electronic Research
@@ -1400,10 +1415,10 @@ Index: net-2.6.23/net/can/af_can.h
 +extern struct hlist_head rx_dev_list; /* rx dispatcher structures */
 +
 +#endif /* AF_CAN_H */
-Index: net-2.6.23/net/can/proc.c
+Index: net-2.6/net/can/proc.c
 ===================================================================
 --- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ net-2.6.23/net/can/proc.c  2007-07-16 21:45:37.000000000 +0200
++++ net-2.6/net/can/proc.c     2007-08-03 11:21:46.000000000 +0200
 @@ -0,0 +1,531 @@
 +/*
 + * proc.c - procfs support for Protocol family CAN core module
@@ -1936,10 +1951,10 @@ Index: net-2.6.23/net/can/proc.c
 +      if (can_dir)
 +              remove_proc_entry(CAN_PROC_DIR, NULL);
 +}
-Index: net-2.6.23/include/linux/can/error.h
+Index: net-2.6/include/linux/can/error.h
 ===================================================================
 --- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ net-2.6.23/include/linux/can/error.h       2007-07-09 13:23:28.000000000 +0200
++++ net-2.6/include/linux/can/error.h  2007-08-03 11:21:46.000000000 +0200
 @@ -0,0 +1,93 @@
 +/*
 + * linux/can/error.h
similarity index 97%
rename from patch-series/net-2.6.23/03-can-raw-proto.diff
rename to patch-series/net-2.6/03-can-raw-proto.diff
index d5f1a89a720b4612a8b5d9abe527f09f42ff07d6..9fbecec620546497a947f52fa8a2eae36ff385b8 100644 (file)
@@ -13,10 +13,10 @@ Signed-off-by: Urs Thuermann <urs.thuermann@volkswagen.de>
  net/can/raw.c           |  757 ++++++++++++++++++++++++++++++++++++++++++++++++
  4 files changed, 817 insertions(+)
 
-Index: net-2.6.23/include/linux/can/raw.h
+Index: net-2.6/include/linux/can/raw.h
 ===================================================================
 --- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ net-2.6.23/include/linux/can/raw.h 2007-07-16 21:48:09.000000000 +0200
++++ net-2.6/include/linux/can/raw.h    2007-08-03 11:21:48.000000000 +0200
 @@ -0,0 +1,31 @@
 +/*
 + * linux/can/raw.h
@@ -49,10 +49,10 @@ Index: net-2.6.23/include/linux/can/raw.h
 +};
 +
 +#endif
-Index: net-2.6.23/net/can/Kconfig
+Index: net-2.6/net/can/Kconfig
 ===================================================================
---- net-2.6.23.orig/net/can/Kconfig    2007-07-16 21:42:33.000000000 +0200
-+++ net-2.6.23/net/can/Kconfig 2007-07-16 21:48:09.000000000 +0200
+--- net-2.6.orig/net/can/Kconfig       2007-08-03 11:21:46.000000000 +0200
++++ net-2.6/net/can/Kconfig    2007-08-03 11:21:48.000000000 +0200
 @@ -16,6 +16,32 @@
          If you want CAN support, you should say Y here and also to the
          specific driver for your controller(s) below.
@@ -86,10 +86,10 @@ Index: net-2.6.23/net/can/Kconfig
  config CAN_DEBUG_CORE
        bool "CAN Core debugging messages"
        depends on CAN
-Index: net-2.6.23/net/can/Makefile
+Index: net-2.6/net/can/Makefile
 ===================================================================
---- net-2.6.23.orig/net/can/Makefile   2007-07-16 21:42:33.000000000 +0200
-+++ net-2.6.23/net/can/Makefile        2007-07-16 21:48:09.000000000 +0200
+--- net-2.6.orig/net/can/Makefile      2007-08-03 11:21:46.000000000 +0200
++++ net-2.6/net/can/Makefile   2007-08-03 11:21:48.000000000 +0200
 @@ -4,3 +4,6 @@
  
  obj-$(CONFIG_CAN)     += can.o
@@ -97,10 +97,10 @@ Index: net-2.6.23/net/can/Makefile
 +
 +obj-$(CONFIG_CAN_RAW) += can-raw.o
 +can-raw-objs          := raw.o
-Index: net-2.6.23/net/can/raw.c
+Index: net-2.6/net/can/raw.c
 ===================================================================
 --- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ net-2.6.23/net/can/raw.c   2007-07-16 21:49:35.000000000 +0200
++++ net-2.6/net/can/raw.c      2007-08-03 11:21:48.000000000 +0200
 @@ -0,0 +1,757 @@
 +/*
 + * raw.c - Raw sockets for protocol family CAN
similarity index 98%
rename from patch-series/net-2.6.23/04-can-bcm-proto.diff
rename to patch-series/net-2.6/04-can-bcm-proto.diff
index 93fa87bb117b338d92faa80d3b04fed8de47ad43..4b35cec3fa0e8924baebfa6e68732e8083488837 100644 (file)
@@ -13,10 +13,10 @@ Signed-off-by: Urs Thuermann <urs.thuermann@volkswagen.de>
  net/can/bcm.c           | 1755 ++++++++++++++++++++++++++++++++++++++++++++++++
  4 files changed, 1851 insertions(+)
 
-Index: net-2.6.23/include/linux/can/bcm.h
+Index: net-2.6/include/linux/can/bcm.h
 ===================================================================
 --- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ net-2.6.23/include/linux/can/bcm.h 2007-07-16 21:50:22.000000000 +0200
++++ net-2.6/include/linux/can/bcm.h    2007-08-03 11:21:51.000000000 +0200
 @@ -0,0 +1,65 @@
 +/*
 + * linux/can/bcm.h
@@ -83,10 +83,10 @@ Index: net-2.6.23/include/linux/can/bcm.h
 +#define RX_RTR_FRAME        0x0400
 +
 +#endif /* CAN_BCM_H */
-Index: net-2.6.23/net/can/Kconfig
+Index: net-2.6/net/can/Kconfig
 ===================================================================
---- net-2.6.23.orig/net/can/Kconfig    2007-07-16 21:48:09.000000000 +0200
-+++ net-2.6.23/net/can/Kconfig 2007-07-16 21:50:22.000000000 +0200
+--- net-2.6.orig/net/can/Kconfig       2007-08-03 11:21:48.000000000 +0200
++++ net-2.6/net/can/Kconfig    2007-08-03 11:21:51.000000000 +0200
 @@ -42,6 +42,34 @@
          Say Y here if you want non-root users to be able to access CAN_RAW
          sockets.
@@ -122,10 +122,10 @@ Index: net-2.6.23/net/can/Kconfig
  config CAN_DEBUG_CORE
        bool "CAN Core debugging messages"
        depends on CAN
-Index: net-2.6.23/net/can/Makefile
+Index: net-2.6/net/can/Makefile
 ===================================================================
---- net-2.6.23.orig/net/can/Makefile   2007-07-16 21:48:09.000000000 +0200
-+++ net-2.6.23/net/can/Makefile        2007-07-16 21:50:22.000000000 +0200
+--- net-2.6.orig/net/can/Makefile      2007-08-03 11:21:48.000000000 +0200
++++ net-2.6/net/can/Makefile   2007-08-03 11:21:51.000000000 +0200
 @@ -7,3 +7,6 @@
  
  obj-$(CONFIG_CAN_RAW) += can-raw.o
@@ -133,10 +133,10 @@ Index: net-2.6.23/net/can/Makefile
 +
 +obj-$(CONFIG_CAN_BCM) += can-bcm.o
 +can-bcm-objs          := bcm.o
-Index: net-2.6.23/net/can/bcm.c
+Index: net-2.6/net/can/bcm.c
 ===================================================================
 --- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ net-2.6.23/net/can/bcm.c   2007-07-16 21:51:28.000000000 +0200
++++ net-2.6/net/can/bcm.c      2007-08-03 11:21:51.000000000 +0200
 @@ -0,0 +1,1755 @@
 +/*
 + * bcm.c - Broadcast Manager to filter/send (cyclic) CAN content
similarity index 86%
rename from patch-series/net-2.6.23/05-can-vcan-driver.diff
rename to patch-series/net-2.6/05-can-vcan-driver.diff
index 6fdf82d4f668e6ccedd42d6701f8b01c5c1b0c84..85e713041d982c6af0bba59cce5fd2c4cf442b78 100644 (file)
@@ -12,14 +12,14 @@ Signed-off-by: Urs Thuermann <urs.thuermann@volkswagen.de>
  drivers/net/Makefile     |    1 
  drivers/net/can/Kconfig  |   25 ++++
  drivers/net/can/Makefile |    5 
- drivers/net/can/vcan.c   |  264 +++++++++++++++++++++++++++++++++++++++++++++++
+ drivers/net/can/vcan.c   |  261 +++++++++++++++++++++++++++++++++++++++++++++++
  net/can/Kconfig          |    3 
- 5 files changed, 298 insertions(+)
+ 5 files changed, 295 insertions(+)
 
-Index: net-2.6.23/drivers/net/Makefile
+Index: net-2.6/drivers/net/Makefile
 ===================================================================
---- net-2.6.23.orig/drivers/net/Makefile       2007-07-16 21:42:32.000000000 +0200
-+++ net-2.6.23/drivers/net/Makefile    2007-07-16 21:52:38.000000000 +0200
+--- net-2.6.orig/drivers/net/Makefile  2007-08-03 11:21:31.000000000 +0200
++++ net-2.6/drivers/net/Makefile       2007-08-03 11:21:54.000000000 +0200
 @@ -8,6 +8,7 @@
  obj-$(CONFIG_CHELSIO_T1) += chelsio/
  obj-$(CONFIG_CHELSIO_T3) += cxgb3/
@@ -28,10 +28,10 @@ Index: net-2.6.23/drivers/net/Makefile
  obj-$(CONFIG_BONDING) += bonding/
  obj-$(CONFIG_ATL1) += atl1/
  obj-$(CONFIG_GIANFAR) += gianfar_driver.o
-Index: net-2.6.23/drivers/net/can/Kconfig
+Index: net-2.6/drivers/net/can/Kconfig
 ===================================================================
 --- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ net-2.6.23/drivers/net/can/Kconfig 2007-07-16 21:52:38.000000000 +0200
++++ net-2.6/drivers/net/can/Kconfig    2007-08-03 11:21:54.000000000 +0200
 @@ -0,0 +1,25 @@
 +menu "CAN Device Drivers"
 +      depends on CAN
@@ -58,21 +58,21 @@ Index: net-2.6.23/drivers/net/can/Kconfig
 +        on.
 +
 +endmenu
-Index: net-2.6.23/drivers/net/can/Makefile
+Index: net-2.6/drivers/net/can/Makefile
 ===================================================================
 --- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ net-2.6.23/drivers/net/can/Makefile        2007-07-16 21:52:38.000000000 +0200
++++ net-2.6/drivers/net/can/Makefile   2007-08-03 11:21:54.000000000 +0200
 @@ -0,0 +1,5 @@
 +#
 +#  Makefile for the Linux Controller Area Network drivers.
 +#
 +
 +obj-$(CONFIG_CAN_VCAN)                += vcan.o
-Index: net-2.6.23/drivers/net/can/vcan.c
+Index: net-2.6/drivers/net/can/vcan.c
 ===================================================================
 --- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ net-2.6.23/drivers/net/can/vcan.c  2007-07-16 21:53:31.000000000 +0200
-@@ -0,0 +1,264 @@
++++ net-2.6/drivers/net/can/vcan.c     2007-08-03 11:21:54.000000000 +0200
+@@ -0,0 +1,261 @@
 +/*
 + * vcan.c - Virtual CAN interface
 + *
@@ -148,17 +148,14 @@ Index: net-2.6.23/drivers/net/can/vcan.c
 +
 +
 +/*
-+ * CAN network devices *should* support a local loopback functionality
-+ * (see Documentation/networking/can.txt). To test the handling of CAN
-+ * interfaces that do not support the loopback both driver types are
-+ * implemented inside this vcan driver. In the case that the driver does
-+ * not support the loopback the IFF_LOOPBACK remains clear in dev->flags.
-+ * This causes the PF_CAN core to perform the loopback as a fallback solution.
++ * CAN test feature:
++ * Enable the loopback on driver level for testing the CAN core loopback modes.
++ * See Documentation/networking/can.txt for details.
 + */
 +
-+static int loopback; /* vcan default: no loopback, just free the skb */
++static int loopback; /* loopback testing. Default: 0 (Off) */
 +module_param(loopback, int, S_IRUGO);
-+MODULE_PARM_DESC(loopback, "Loop back sent frames. vcan default: 0 (Off)");
++MODULE_PARM_DESC(loopback, "Loop back frames (for testing). Default: 0 (Off)");
 +
 +struct vcan_priv {
 +      struct net_device *dev;
@@ -337,10 +334,10 @@ Index: net-2.6.23/drivers/net/can/vcan.c
 +
 +module_init(vcan_init_module);
 +module_exit(vcan_cleanup_module);
-Index: net-2.6.23/net/can/Kconfig
+Index: net-2.6/net/can/Kconfig
 ===================================================================
---- net-2.6.23.orig/net/can/Kconfig    2007-07-16 21:50:22.000000000 +0200
-+++ net-2.6.23/net/can/Kconfig 2007-07-16 21:52:38.000000000 +0200
+--- net-2.6.orig/net/can/Kconfig       2007-08-03 11:21:51.000000000 +0200
++++ net-2.6/net/can/Kconfig    2007-08-03 11:21:54.000000000 +0200
 @@ -77,3 +77,6 @@
          Say Y here if you want the CAN core to produce a bunch of debug
          messages to the system log.  Select this if you are having a
similarity index 79%
rename from patch-series/net-2.6.23/06-can-maintainers.diff
rename to patch-series/net-2.6/06-can-maintainers.diff
index f9cf284e8c54ef41e393d34b0c81d3ca1a054dc3..fea8dcdf47949ec8b19f5584c01598ae15d992dd 100644 (file)
@@ -11,11 +11,11 @@ Signed-off-by: Urs Thuermann <urs.thuermann@volkswagen.de>
  MAINTAINERS |    9 +++++++++
  2 files changed, 25 insertions(+)
 
-Index: net-2.6.23/CREDITS
+Index: net-2.6/CREDITS
 ===================================================================
---- net-2.6.23.orig/CREDITS    2007-07-09 10:41:38.000000000 +0200
-+++ net-2.6.23/CREDITS 2007-07-09 10:42:04.000000000 +0200
-@@ -1330,6 +1330,14 @@
+--- net-2.6.orig/CREDITS       2007-08-03 11:21:31.000000000 +0200
++++ net-2.6/CREDITS    2007-08-03 11:21:56.000000000 +0200
+@@ -1331,6 +1331,14 @@
  S: 5623 HZ Eindhoven
  S: The Netherlands
  
@@ -30,7 +30,7 @@ Index: net-2.6.23/CREDITS
  N: Andrew Haylett
  E: ajh@primag.co.uk
  D: Selection mechanism
-@@ -3283,6 +3291,14 @@
+@@ -3284,6 +3292,14 @@
  S: F-35042 Rennes Cedex
  S: France
  
@@ -45,10 +45,10 @@ Index: net-2.6.23/CREDITS
  N: Jon Tombs
  E: jon@gte.esi.us.es
  W: http://www.esi.us.es/~jon
-Index: net-2.6.23/MAINTAINERS
+Index: net-2.6/MAINTAINERS
 ===================================================================
---- net-2.6.23.orig/MAINTAINERS        2007-07-09 10:41:38.000000000 +0200
-+++ net-2.6.23/MAINTAINERS     2007-07-09 10:42:04.000000000 +0200
+--- net-2.6.orig/MAINTAINERS   2007-08-03 11:21:31.000000000 +0200
++++ net-2.6/MAINTAINERS        2007-08-03 11:21:56.000000000 +0200
 @@ -951,6 +951,15 @@
  L:    video4linux-list@redhat.com
  S:    Maintained
similarity index 98%
rename from patch-series/net-2.6.23/07-can-doc.diff
rename to patch-series/net-2.6/07-can-doc.diff
index 7e27bf6581e7ff41d112311d8f5ae2a84eb5d2e0..c3316124840dce62fbe456ebffa479eb7a93735f 100644 (file)
@@ -11,10 +11,10 @@ Signed-off-by: Urs Thuermann <urs.thuermann@volkswagen.de>
  Documentation/networking/can.txt  |  635 ++++++++++++++++++++++++++++++++++++++
  2 files changed, 637 insertions(+)
 
-Index: net-2.6.23/Documentation/networking/can.txt
+Index: net-2.6/Documentation/networking/can.txt
 ===================================================================
 --- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ net-2.6.23/Documentation/networking/can.txt        2007-07-09 10:42:09.000000000 +0200
++++ net-2.6/Documentation/networking/can.txt   2007-08-03 11:21:58.000000000 +0200
 @@ -0,0 +1,635 @@
 +============================================================================
 +
@@ -391,7 +391,7 @@ Index: net-2.6.23/Documentation/networking/can.txt
 +  provided by the multi user SocketCAN approach, some reasonable
 +  defaults are set at RAW socket bindung time:
 +
-+  - The filters are set to excatly one filter receiving everything
++  - The filters are set to exactly one filter receiving everything
 +  - The socket only receives valid data frames (=> no error frames)
 +  - The loopback of sent CAN frames is enabled (see chapter 3.2)
 +  - The socket does not receive it's own sent frames (in loopback mode)
@@ -651,10 +651,10 @@ Index: net-2.6.23/Documentation/networking/can.txt
 +  Klaus Hitschler (PEAK driver integration)
 +  Uwe Koppe (CAN netdevices with PF_PACKET approach)
 +  Michael Schulze (driver layer loopback requirement, RT CAN drivers review)
-Index: net-2.6.23/Documentation/networking/00-INDEX
+Index: net-2.6/Documentation/networking/00-INDEX
 ===================================================================
---- net-2.6.23.orig/Documentation/networking/00-INDEX  2007-07-09 10:41:38.000000000 +0200
-+++ net-2.6.23/Documentation/networking/00-INDEX       2007-07-09 10:42:09.000000000 +0200
+--- net-2.6.orig/Documentation/networking/00-INDEX     2007-08-03 11:21:31.000000000 +0200
++++ net-2.6/Documentation/networking/00-INDEX  2007-08-03 11:21:58.000000000 +0200
 @@ -26,6 +26,8 @@
        - info on the driver for Baycom style amateur radio modems
  bridge.txt
diff --git a/patch-series/net-2.6/intro b/patch-series/net-2.6/intro
new file mode 100644 (file)
index 0000000..4d30e29
--- /dev/null
@@ -0,0 +1,78 @@
+SUBJECT
+CAN: Add new PF_CAN protocol family, try #5
+ESUBJECT
+
+Hello Dave,
+
+this is the fifth post of the patch series that adds the PF_CAN
+protocol family for the Controller Area Network.
+
+Since our last post we have changed the following:
+
+* Remove slab destructor from calls to kmem_cache_alloc().
+* Add comments about types defined in can.h.
+* Update comment on vcan loopback module parameter.
+* Fix typo in documentation.
+
+The changes in try #4 were:
+
+* Change vcan network driver to use the new RTNL API.
+* Revert our change to use skb->iif instead of skb->cb.  After
+  discussion with Patrick and Jamal it turned out, our first
+  implementation was correct.
+* Use skb_tail_pointer() instead of skb->tail directly.
+* Coding style changes to satisfy linux/scripts/checkpatch.pl.
+* Minor changes for 64-bit-cleanliness.
+* Minor cleanup of #include's
+
+The changes in try #3 were:
+
+* Use sbk->sk and skb->pkt_type instead of skb->cb to pass loopback
+  flags and originating socket down to the driver and back to the
+  receiving socket.  Thanks to Patrick McHardy for pointing out our
+  wrong use of sbk->cb.
+* Use skb->iif instead of skb->cb to pass receiving interface from
+  raw_rcv() and bcm_rcv() up to raw_recvmsg() and bcm_recvmsg().
+* Set skb->protocol when sending CAN frames to netdevices.
+* Removed struct raw_opt and struct bcm_opt and integrated these
+  directly into struct raw_sock and bcm_sock resp., like most other
+  proto implementations do.
+* We have found and fixed race conditions between raw_bind(),
+  raw_{set,get}sockopt() and raw_notifier().  This resulted in
+  - complete removal of our own notifier list infrastructure in
+    af_can.c.  raw.c and bcm.c now use normal netdevice notifiers.
+  - removal of ro->lock spinlock.  We use lock_sock(sk) now.
+  - changed deletion of dev_rcv_lists, which are now marked for
+    deletion in the netdevice notifier in af_can.c and are actually
+    deleted when all entries have been deleted using can_rx_unregister().
+* Follow changes in 2.6.22 (e.g. ktime_t timestamps in skb).
+* Removed obsolete code from vcan.c, as pointed out by Stephen Hemminger.
+
+The changes in try #2 were:
+
+* reduced RCU callback overhead when deleting receiver lists (thx to
+  feedback from Paul E. McKenney).
+* eliminated some code duplication in net/can/proc.c.
+* renamed slock-29 and sk_lock-29 to slock-AF_CAN and sk_lock-AF_CAN in
+  net/core/sock.c
+* added entry for can.txt in Documentation/networking/00-INDEX
+* added error frame definitions in include/linux/can/error.h, which are to
+  be used by CAN network drivers.
+
+
+This patch series applies against net-2.6 and is derived from Subversion
+revision r455 of http://svn.berlios.de/svnroot/repos/socketcan.
+It can be found in the directory
+http://svn.berlios.de/svnroot/repos/socketcan/trunk/patch-series/<version>.
+
+This patch doesn't touch anything in the kernel except for the allocation
+of a couple of numbers for protocol, arp hw type, and a line discipline.
+
+Please review this patch series for integration into your tree.
+
+Thanks very much for your work!
+
+Best regards,
+
+Urs Thuermann
+Oliver Hartkopp