arcnet: fix indentation of if_arcnet.h
Standardized spacing is easier to read. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
This commit is contained in:
Родитель
227b9e8708
Коммит
37587fadff
|
@ -19,7 +19,6 @@
|
|||
#include <linux/types.h>
|
||||
#include <linux/if_ether.h>
|
||||
|
||||
|
||||
/*
|
||||
* These are the defined ARCnet Protocol ID's.
|
||||
*/
|
||||
|
@ -64,7 +63,6 @@ struct arc_rfc1201 {
|
|||
};
|
||||
#define RFC1201_HDR_SIZE 4
|
||||
|
||||
|
||||
/*
|
||||
* The RFC1051-specific components.
|
||||
*/
|
||||
|
@ -74,7 +72,6 @@ struct arc_rfc1051 {
|
|||
};
|
||||
#define RFC1051_HDR_SIZE 1
|
||||
|
||||
|
||||
/*
|
||||
* The ethernet-encap-specific components. We have a real ethernet header
|
||||
* and some data.
|
||||
|
@ -86,10 +83,10 @@ struct arc_eth_encap {
|
|||
};
|
||||
#define ETH_ENCAP_HDR_SIZE 14
|
||||
|
||||
|
||||
struct arc_cap {
|
||||
__u8 proto;
|
||||
__u8 cookie[sizeof(int)]; /* Actually NOT sent over the network */
|
||||
__u8 cookie[sizeof(int)];
|
||||
/* Actually NOT sent over the network */
|
||||
union {
|
||||
__u8 ack;
|
||||
__u8 raw[0]; /* 507 bytes */
|
||||
|
@ -105,9 +102,9 @@ struct arc_cap {
|
|||
* driver.
|
||||
*/
|
||||
struct arc_hardware {
|
||||
__u8 source, /* source ARCnet - filled in automagically */
|
||||
dest, /* destination ARCnet - 0 for broadcast */
|
||||
offset[2]; /* offset bytes (some weird semantics) */
|
||||
__u8 source; /* source ARCnet - filled in automagically */
|
||||
__u8 dest; /* destination ARCnet - 0 for broadcast */
|
||||
__u8 offset[2]; /* offset bytes (some weird semantics) */
|
||||
};
|
||||
#define ARC_HDR_SIZE 4
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче