Commit 37587fad authored by Joe Perches's avatar Joe Perches Committed by Michael Grzeschik

arcnet: fix indentation of if_arcnet.h

Standardized spacing is easier to read.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarMichael Grzeschik <m.grzeschik@pengutronix.de>
parent 227b9e87
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include <linux/types.h> #include <linux/types.h>
#include <linux/if_ether.h> #include <linux/if_ether.h>
/* /*
* These are the defined ARCnet Protocol ID's. * These are the defined ARCnet Protocol ID's.
*/ */
...@@ -64,7 +63,6 @@ struct arc_rfc1201 { ...@@ -64,7 +63,6 @@ struct arc_rfc1201 {
}; };
#define RFC1201_HDR_SIZE 4 #define RFC1201_HDR_SIZE 4
/* /*
* The RFC1051-specific components. * The RFC1051-specific components.
*/ */
...@@ -74,7 +72,6 @@ struct arc_rfc1051 { ...@@ -74,7 +72,6 @@ struct arc_rfc1051 {
}; };
#define RFC1051_HDR_SIZE 1 #define RFC1051_HDR_SIZE 1
/* /*
* The ethernet-encap-specific components. We have a real ethernet header * The ethernet-encap-specific components. We have a real ethernet header
* and some data. * and some data.
...@@ -86,10 +83,10 @@ struct arc_eth_encap { ...@@ -86,10 +83,10 @@ struct arc_eth_encap {
}; };
#define ETH_ENCAP_HDR_SIZE 14 #define ETH_ENCAP_HDR_SIZE 14
struct arc_cap { struct arc_cap {
__u8 proto; __u8 proto;
__u8 cookie[sizeof(int)]; /* Actually NOT sent over the network */ __u8 cookie[sizeof(int)];
/* Actually NOT sent over the network */
union { union {
__u8 ack; __u8 ack;
__u8 raw[0]; /* 507 bytes */ __u8 raw[0]; /* 507 bytes */
...@@ -105,9 +102,9 @@ struct arc_cap { ...@@ -105,9 +102,9 @@ struct arc_cap {
* driver. * driver.
*/ */
struct arc_hardware { struct arc_hardware {
__u8 source, /* source ARCnet - filled in automagically */ __u8 source; /* source ARCnet - filled in automagically */
dest, /* destination ARCnet - 0 for broadcast */ __u8 dest; /* destination ARCnet - 0 for broadcast */
offset[2]; /* offset bytes (some weird semantics) */ __u8 offset[2]; /* offset bytes (some weird semantics) */
}; };
#define ARC_HDR_SIZE 4 #define ARC_HDR_SIZE 4
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment