diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-11-23 03:04:05 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-11-23 03:04:05 -0500 |
commit | 92907cbbef8625bb3998d1eb385fc88f23c97a3f (patch) | |
tree | 15626ff9287e37c3cb81c7286d6db5a7fd77c854 /include/uapi/linux/if_arcnet.h | |
parent | 15fbfccfe92c62ae8d1ecc647c44157ed01ac02e (diff) | |
parent | 1ec218373b8ebda821aec00bb156a9c94fad9cd4 (diff) |
Merge tag 'v4.4-rc2' into drm-intel-next-queued
Linux 4.4-rc2
Backmerge to get at
commit 1b0e3a049efe471c399674fd954500ce97438d30
Author: Imre Deak <imre.deak@intel.com>
Date: Thu Nov 5 23:04:11 2015 +0200
drm/i915/skl: disable display side power well support for now
so that we can proplery re-eanble skl power wells in -next.
Conflicts are just adjacent lines changed, except for intel_fbdev.c
where we need to interleave the changs. Nothing nefarious.
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'include/uapi/linux/if_arcnet.h')
-rw-r--r-- | include/uapi/linux/if_arcnet.h | 55 |
1 files changed, 26 insertions, 29 deletions
diff --git a/include/uapi/linux/if_arcnet.h b/include/uapi/linux/if_arcnet.h index 46e34bd0e783..cfb642f8e7bd 100644 --- a/include/uapi/linux/if_arcnet.h +++ b/include/uapi/linux/if_arcnet.h | |||
@@ -19,7 +19,6 @@ | |||
19 | #include <linux/types.h> | 19 | #include <linux/types.h> |
20 | #include <linux/if_ether.h> | 20 | #include <linux/if_ether.h> |
21 | 21 | ||
22 | |||
23 | /* | 22 | /* |
24 | * These are the defined ARCnet Protocol ID's. | 23 | * These are the defined ARCnet Protocol ID's. |
25 | */ | 24 | */ |
@@ -57,42 +56,40 @@ | |||
57 | * The RFC1201-specific components of an arcnet packet header. | 56 | * The RFC1201-specific components of an arcnet packet header. |
58 | */ | 57 | */ |
59 | struct arc_rfc1201 { | 58 | struct arc_rfc1201 { |
60 | __u8 proto; /* protocol ID field - varies */ | 59 | __u8 proto; /* protocol ID field - varies */ |
61 | __u8 split_flag; /* for use with split packets */ | 60 | __u8 split_flag; /* for use with split packets */ |
62 | __be16 sequence; /* sequence number */ | 61 | __be16 sequence; /* sequence number */ |
63 | __u8 payload[0]; /* space remaining in packet (504 bytes)*/ | 62 | __u8 payload[0]; /* space remaining in packet (504 bytes)*/ |
64 | }; | 63 | }; |
65 | #define RFC1201_HDR_SIZE 4 | 64 | #define RFC1201_HDR_SIZE 4 |
66 | 65 | ||
67 | |||
68 | /* | 66 | /* |
69 | * The RFC1051-specific components. | 67 | * The RFC1051-specific components. |
70 | */ | 68 | */ |
71 | struct arc_rfc1051 { | 69 | struct arc_rfc1051 { |
72 | __u8 proto; /* ARC_P_RFC1051_ARP/RFC1051_IP */ | 70 | __u8 proto; /* ARC_P_RFC1051_ARP/RFC1051_IP */ |
73 | __u8 payload[0]; /* 507 bytes */ | 71 | __u8 payload[0]; /* 507 bytes */ |
74 | }; | 72 | }; |
75 | #define RFC1051_HDR_SIZE 1 | 73 | #define RFC1051_HDR_SIZE 1 |
76 | 74 | ||
77 | |||
78 | /* | 75 | /* |
79 | * The ethernet-encap-specific components. We have a real ethernet header | 76 | * The ethernet-encap-specific components. We have a real ethernet header |
80 | * and some data. | 77 | * and some data. |
81 | */ | 78 | */ |
82 | struct arc_eth_encap { | 79 | struct arc_eth_encap { |
83 | __u8 proto; /* Always ARC_P_ETHER */ | 80 | __u8 proto; /* Always ARC_P_ETHER */ |
84 | struct ethhdr eth; /* standard ethernet header (yuck!) */ | 81 | struct ethhdr eth; /* standard ethernet header (yuck!) */ |
85 | __u8 payload[0]; /* 493 bytes */ | 82 | __u8 payload[0]; /* 493 bytes */ |
86 | }; | 83 | }; |
87 | #define ETH_ENCAP_HDR_SIZE 14 | 84 | #define ETH_ENCAP_HDR_SIZE 14 |
88 | 85 | ||
89 | |||
90 | struct arc_cap { | 86 | struct arc_cap { |
91 | __u8 proto; | 87 | __u8 proto; |
92 | __u8 cookie[sizeof(int)]; /* Actually NOT sent over the network */ | 88 | __u8 cookie[sizeof(int)]; |
89 | /* Actually NOT sent over the network */ | ||
93 | union { | 90 | union { |
94 | __u8 ack; | 91 | __u8 ack; |
95 | __u8 raw[0]; /* 507 bytes */ | 92 | __u8 raw[0]; /* 507 bytes */ |
96 | } mes; | 93 | } mes; |
97 | }; | 94 | }; |
98 | 95 | ||
@@ -105,9 +102,9 @@ struct arc_cap { | |||
105 | * driver. | 102 | * driver. |
106 | */ | 103 | */ |
107 | struct arc_hardware { | 104 | struct arc_hardware { |
108 | __u8 source, /* source ARCnet - filled in automagically */ | 105 | __u8 source; /* source ARCnet - filled in automagically */ |
109 | dest, /* destination ARCnet - 0 for broadcast */ | 106 | __u8 dest; /* destination ARCnet - 0 for broadcast */ |
110 | offset[2]; /* offset bytes (some weird semantics) */ | 107 | __u8 offset[2]; /* offset bytes (some weird semantics) */ |
111 | }; | 108 | }; |
112 | #define ARC_HDR_SIZE 4 | 109 | #define ARC_HDR_SIZE 4 |
113 | 110 | ||
@@ -116,17 +113,17 @@ struct arc_hardware { | |||
116 | * when you do a raw packet capture). | 113 | * when you do a raw packet capture). |
117 | */ | 114 | */ |
118 | struct archdr { | 115 | struct archdr { |
119 | /* hardware requirements */ | 116 | /* hardware requirements */ |
120 | struct arc_hardware hard; | 117 | struct arc_hardware hard; |
121 | 118 | ||
122 | /* arcnet encapsulation-specific bits */ | 119 | /* arcnet encapsulation-specific bits */ |
123 | union { | 120 | union { |
124 | struct arc_rfc1201 rfc1201; | 121 | struct arc_rfc1201 rfc1201; |
125 | struct arc_rfc1051 rfc1051; | 122 | struct arc_rfc1051 rfc1051; |
126 | struct arc_eth_encap eth_encap; | 123 | struct arc_eth_encap eth_encap; |
127 | struct arc_cap cap; | 124 | struct arc_cap cap; |
128 | __u8 raw[0]; /* 508 bytes */ | 125 | __u8 raw[0]; /* 508 bytes */ |
129 | } soft; | 126 | } soft; |
130 | }; | 127 | }; |
131 | 128 | ||
132 | #endif /* _LINUX_IF_ARCNET_H */ | 129 | #endif /* _LINUX_IF_ARCNET_H */ |