* [B.A.T.M.A.N.] [PATCH 1/2] batman-adv: Remove date from README
@ 2011-12-23 20:53 Sven Eckelmann
2011-12-23 20:53 ` [B.A.T.M.A.N.] [PATCH 2/2] batman-adv: Split README in kernel and external part Sven Eckelmann
2011-12-24 14:02 ` [B.A.T.M.A.N.] [PATCH 1/2] batman-adv: Remove date from README Marek Lindner
0 siblings, 2 replies; 4+ messages in thread
From: Sven Eckelmann @ 2011-12-23 20:53 UTC (permalink / raw)
To: b.a.t.m.a.n
The date has to be updated when a patch touches the README. Therefore, nearly
every feature will modify this date. It can happens quite often that not only
one feature is currently in development or waiting on the mailinglist. This
creates merge conflicts when applying a patchset.
The date itself doesn't provide any additional information when this file is
only available in a release tarball or as part of a SCM repository.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
README | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/README b/README
index ddc9569..58d3473 100644
--- a/README
+++ b/README
@@ -1,5 +1,3 @@
-[state: 13-11-2011]
-
BATMAN-ADV
----------
--
1.7.7.3
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [B.A.T.M.A.N.] [PATCH 2/2] batman-adv: Split README in kernel and external part
2011-12-23 20:53 [B.A.T.M.A.N.] [PATCH 1/2] batman-adv: Remove date from README Sven Eckelmann
@ 2011-12-23 20:53 ` Sven Eckelmann
2011-12-24 14:06 ` Marek Lindner
2011-12-24 14:02 ` [B.A.T.M.A.N.] [PATCH 1/2] batman-adv: Remove date from README Marek Lindner
1 sibling, 1 reply; 4+ messages in thread
From: Sven Eckelmann @ 2011-12-23 20:53 UTC (permalink / raw)
To: b.a.t.m.a.n
The README is shipped in a stripped down version as part of the kernel under
Documentation/networking/batman-adv.txt. The readme has to be manually merged
each time it gets prepared for submission to the networking subsystem
maintainer after the README was modified.
This extra work is reduced by splitting it in a README which contains the same
data as available in the kernel and README.external which contains the
information that only affect the external module.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
README | 28 +++-------------------------
README.external | 45 +++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 48 insertions(+), 25 deletions(-)
create mode 100644 README.external
diff --git a/README b/README
index 58d3473..01db663 100644
--- a/README
+++ b/README
@@ -15,26 +15,7 @@ are: IPv4, IPv6, DHCP, IPX.
Batman advanced was implemented as a Linux kernel driver to re-
duce the overhead to a minimum. It does not depend on any (other)
network driver, and can be used on wifi as well as ethernet lan,
-vpn, etc ... (anything with ethernet-style layer 2). It compiles
-against and should work with Linux 2.6.29 - 3.2. Supporting
-older versions is not planned, but it's probably easy to backport
-it. If you work on a backport, feel free to contact us. :-)
-
-
-COMPILE
--------
-
-To compile against your currently installed kernel, just type:
-
-# make
-
-if you want to compile against some other kernel, use:
-
-# make KERNELPATH=/path/to/kernel
-
-if you wont to install this module:
-
-# sudo make install
+vpn, etc ... (anything with ethernet-style layer 2).
CONFIGURATION
@@ -89,6 +70,7 @@ folder:
# ap_isolation gw_bandwidth hop_penalty
# bonding gw_mode orig_interval
+
There is a special folder for debugging information:
# ls /sys/kernel/debug/batman_adv/bat0/
@@ -204,11 +186,7 @@ When investigating problems with your mesh network it is some-
times necessary to see more detail debug messages. This must be
enabled when compiling the batman-adv module. When building bat-
man-adv as part of kernel, use "make menuconfig" and enable the
-option "B.A.T.M.A.N. debugging". When compiling outside of the
-kernel tree it is necessary to enable it using the make option
-CONFIG_BATMAN_ADV_DEBUG=y
-
-# make CONFIG_BATMAN_ADV_DEBUG=y
+option "B.A.T.M.A.N. debugging".
Those additional debug messages can be accessed using a special
file in debugfs
diff --git a/README.external b/README.external
new file mode 100644
index 0000000..71104fa
--- /dev/null
+++ b/README.external
@@ -0,0 +1,45 @@
+BATMAN-ADV external module
+--------------------------
+
+The batman-adv module is shipped as part of the Linux kernel
+and as external module. The external module allows to get
+new features without upgrading to a newer kernel version
+and to get batman-adv specific bugfixes for kernels that are
+not supported anymore. It compiles against and should work
+with Linux 2.6.29 - 3.2. Supporting older versions is not
+planned, but it's probably easy to backport it. If you work on a
+backport, feel free to contact us. :-)
+
+COMPILE
+-------
+
+To compile against your currently installed kernel, just type:
+
+# make
+
+if you want to compile against some other kernel, use:
+
+# make KERNELPATH=/path/to/kernel
+
+if you wont to install this module:
+
+# sudo make install
+
+CONFIGURATION
+-------------
+
+The in-kernel module can be configured through
+menuconfig. When compiling outside of the kernel, tree it is
+necessary to configure it using the make options. Each
+option can be set to to y (enabled), n (disabled) or m (build as
+module). Available options and their possible values are
+(default marked with an "*")
+
+ * CONFIG_BATMAN_ADV_DEBUG=[y|n*] (B.A.T.M.A.N. debugging)
+
+e.g., debugging can be enabled by
+
+# make CONFIG_BATMAN_ADV_DEBUG=y
+
+Keep in mind that all options must also be added to "make
+install" call.
--
1.7.7.3
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [B.A.T.M.A.N.] [PATCH 1/2] batman-adv: Remove date from README
2011-12-23 20:53 [B.A.T.M.A.N.] [PATCH 1/2] batman-adv: Remove date from README Sven Eckelmann
2011-12-23 20:53 ` [B.A.T.M.A.N.] [PATCH 2/2] batman-adv: Split README in kernel and external part Sven Eckelmann
@ 2011-12-24 14:02 ` Marek Lindner
1 sibling, 0 replies; 4+ messages in thread
From: Marek Lindner @ 2011-12-24 14:02 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
On Saturday, December 24, 2011 04:53:26 Sven Eckelmann wrote:
> The date has to be updated when a patch touches the README. Therefore,
> nearly every feature will modify this date. It can happens quite often
> that not only one feature is currently in development or waiting on the
> mailinglist. This creates merge conflicts when applying a patchset.
>
> The date itself doesn't provide any additional information when this file
> is only available in a release tarball or as part of a SCM repository.
Applied in revision 58cd303.
Thanks,
Marek
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [B.A.T.M.A.N.] [PATCH 2/2] batman-adv: Split README in kernel and external part
2011-12-23 20:53 ` [B.A.T.M.A.N.] [PATCH 2/2] batman-adv: Split README in kernel and external part Sven Eckelmann
@ 2011-12-24 14:06 ` Marek Lindner
0 siblings, 0 replies; 4+ messages in thread
From: Marek Lindner @ 2011-12-24 14:06 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
On Saturday, December 24, 2011 04:53:27 Sven Eckelmann wrote:
> The README is shipped in a stripped down version as part of the kernel
> under Documentation/networking/batman-adv.txt. The readme has to be
> manually merged each time it gets prepared for submission to the
> networking subsystem maintainer after the README was modified.
>
> This extra work is reduced by splitting it in a README which contains the
> same data as available in the kernel and README.external which contains
> the information that only affect the external module.
Applied in revision e745802.
Thanks,
Marek
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-12-24 14:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-23 20:53 [B.A.T.M.A.N.] [PATCH 1/2] batman-adv: Remove date from README Sven Eckelmann
2011-12-23 20:53 ` [B.A.T.M.A.N.] [PATCH 2/2] batman-adv: Split README in kernel and external part Sven Eckelmann
2011-12-24 14:06 ` Marek Lindner
2011-12-24 14:02 ` [B.A.T.M.A.N.] [PATCH 1/2] batman-adv: Remove date from README Marek Lindner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox