aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/netrom.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-10-22 08:34:51 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-10-22 08:34:51 -0400
commitc2fb7916927e989ea424e61ce5fe617e54878827 (patch)
tree02f9d5482075f8931637d82bb697a6470270136a /include/uapi/linux/netrom.h
parent29de6ce574870a0d3fd157afdbf51c0282e2bf63 (diff)
parent6f0c0580b70c89094b3422ba81118c7b959c7556 (diff)
Merge tag 'v3.7-rc2' into drm-intel-next-queued
Linux 3.7-rc2 Backmerge to solve two ugly conflicts: - uapi. We've already added new ioctl definitions for -next. Do I need to say more? - wc support gtt ptes. We've had to revert this for snb+ for 3.7 and also fix a few other things in the code. Now we know how to make it work on snb+, but to avoid losing the other fixes do the backmerge first before re-enabling wc gtt ptes on snb+. And a few other minor things, among them git getting confused in intel_dp.c and seemingly causing a conflict out of nothing ... Conflicts: drivers/gpu/drm/i915/i915_reg.h drivers/gpu/drm/i915/intel_display.c drivers/gpu/drm/i915/intel_dp.c drivers/gpu/drm/i915/intel_modes.c include/drm/i915_drm.h Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/uapi/linux/netrom.h')
-rw-r--r--include/uapi/linux/netrom.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/include/uapi/linux/netrom.h b/include/uapi/linux/netrom.h
new file mode 100644
index 000000000000..af7313cc9cb6
--- /dev/null
+++ b/include/uapi/linux/netrom.h
@@ -0,0 +1,36 @@
1/*
2 * These are the public elements of the Linux kernel NET/ROM implementation.
3 * For kernel AX.25 see the file ax25.h. This file requires ax25.h for the
4 * definition of the ax25_address structure.
5 */
6
7#ifndef NETROM_KERNEL_H
8#define NETROM_KERNEL_H
9
10#include <linux/ax25.h>
11
12#define NETROM_MTU 236
13
14#define NETROM_T1 1
15#define NETROM_T2 2
16#define NETROM_N2 3
17#define NETROM_T4 6
18#define NETROM_IDLE 7
19
20#define SIOCNRDECOBS (SIOCPROTOPRIVATE+2)
21
22struct nr_route_struct {
23#define NETROM_NEIGH 0
24#define NETROM_NODE 1
25 int type;
26 ax25_address callsign;
27 char device[16];
28 unsigned int quality;
29 char mnemonic[7];
30 ax25_address neighbour;
31 unsigned int obs_count;
32 unsigned int ndigis;
33 ax25_address digipeaters[AX25_MAX_DIGIS];
34};
35
36#endif