]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Documentation/printk-formats.txt: add description for %pMR
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Sat, 21 Jul 2012 00:54:45 +0000 (10:54 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 25 Jul 2012 03:53:15 +0000 (13:53 +1000)
Add information about new specifier %pMR for Bluetooth addresses.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Cc: Joe Perches <joe@perches.com>
Cc: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/printk-formats.txt

index 5df176ed59b826e8cbeaca7c96d6ed6d06759fa8..d8d168fa79d654f7c21175b10e6b00d824d762fc 100644 (file)
@@ -56,6 +56,7 @@ Struct Resources:
 MAC/FDDI addresses:
 
        %pM     00:01:02:03:04:05
+       %pMR    05:04:03:02:01:00
        %pMF    00-01-02-03-04-05
        %pm     000102030405
 
@@ -67,6 +68,10 @@ MAC/FDDI addresses:
        the 'M' specifier to use dash ('-') separators instead of the default
        separator.
 
+       For Bluetooth addresses the 'R' specifier shall be used after the 'M'
+       specifier to use reversed byte order suitable for visual interpretation
+       of Bluetooth addresses which are in the little endian order.
+
 IPv4 addresses:
 
        %pI4    1.2.3.4