From: "Maciej W. Rozycki" <macro@linux-mips.org>
To: H Hartley Sweeten <hartleys@visionengravers.com>
Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
David Miller <davem@davemloft.net>
Subject: Re: [PATCH] drivers/net/defxx.c: use %pM to show MAC address
Date: Mon, 4 Jan 2010 18:49:48 +0000 (GMT) [thread overview]
Message-ID: <alpine.LFD.2.00.1001041833560.13474@eddie.linux-mips.org> (raw)
In-Reply-To: <BD79186B4FD85F4B8E60E381CAEE19090200F63E@mi8nycmail19.Mi8.com>
On Wed, 30 Dec 2009, H Hartley Sweeten wrote:
> Use the %pM kernel extension to display the MAC address.
>
> The only difference in the output is that the MAC address is
> shown in the usual colon-separated hex notation.
>
> Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
> Cc: David S. Miller <davem@davemloft.net>
Nack. While I appreciate your effort, the FDDI standard defines opposite
bit-ordering for MAC addresses written in the dash-separated and the
colon-separated hexadecimal notation, which makes your change invalid,
sorry (you'd have to bit-swap them too and that would make addresses
counter-intuitive). Please note that `ifconfig' consistently uses the
dash-separated notation for FDDI interfaces too (I haven't checked other
tools like those in the "iproute" package; they may be buggy).
[I'd appreciate to be CCed on patch submissions to code I claim
maintenance of too.]
Maciej
next prev parent reply other threads:[~2010-01-04 18:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-30 18:28 H Hartley Sweeten
2010-01-04 18:49 ` Maciej W. Rozycki [this message]
2010-01-04 19:03 ` David Miller
2010-01-04 23:43 ` Maciej W. Rozycki
2010-01-05 1:05 ` [RFC PATCH] lib/vsprintf.c: Add %pMF to for FDDI bit reversed dashed output Joe Perches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LFD.2.00.1001041833560.13474@eddie.linux-mips.org \
--to=macro@linux-mips.org \
--cc=davem@davemloft.net \
--cc=hartleys@visionengravers.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®