Subject: [CAN] Update documentation of struct sockaddr_can (for 2.6.25)

From: Oliver Hartkopp <[email-masked]>
Date: Sun, 13 Apr 2008 14:26:29 +0200

Hello Dave,

as there are still some things pending for the final 2.6.25 please add 
the following patch to fix the current documentation.

Thanks,
Oliver

------------------

The struct sockaddr_can has been simplified in the code review process. 
This patch updates this simplification also in the associated 
documentation in can.txt .

Signed-off-by: Oliver Hartkopp <[email-masked]>

diff --git a/Documentation/networking/can.txt b/Documentation/networking/can.txt
index f1b2de1..641d2af 100644
--- a/Documentation/networking/can.txt
+++ b/Documentation/networking/can.txt
@@ -281,10 +281,10 @@ solution for a couple of reasons:
             sa_family_t can_family;
             int         can_ifindex;
             union {
-                    struct { canid_t rx_id, tx_id; } tp16;
-                    struct { canid_t rx_id, tx_id; } tp20;
-                    struct { canid_t rx_id, tx_id; } mcnet;
-                    struct { canid_t rx_id, tx_id; } isotp;
+                    /* transport protocol class address info (e.g. ISOTP) */
+                    struct { canid_t rx_id, tx_id; } tp;
+
+                    /* reserved for future CAN protocols address information */
             } can_addr;
     };