public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 1/2] TI: netdev: add driver for cpsw ethernet device
Date: Thu, 10 Nov 2011 11:26:17 -0500	[thread overview]
Message-ID: <201111101126.18553.vapier@gentoo.org> (raw)
In-Reply-To: <1320928830-16221-2-git-send-email-chandan.nath@ti.com>

On Thursday 10 November 2011 07:40:28 Chandan Nath wrote:
> +#define mac_hi(mac)    (((mac)[0] << 0) | ((mac)[1] << 8) |    \
> +                        ((mac)[2] << 16) | ((mac)[3] << 24))

looks like __get_unaligned_u32()

> +#define mac_lo(mac)    (((mac)[4] << 0) | ((mac)[5] << 8))

looks like __get_unaligned_u16()
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20111110/e76893bf/attachment.pgp 

  reply	other threads:[~2011-11-10 16:26 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-10 12:40 [U-Boot] [PATCH v2 0/2] Added CPSW support Chandan Nath
2011-11-10 12:40 ` [U-Boot] [PATCH v2 1/2] TI: netdev: add driver for cpsw ethernet device Chandan Nath
2011-11-10 16:26   ` Mike Frysinger [this message]
2011-11-10 16:39     ` Tom Rini
2011-11-10 17:06       ` Mike Frysinger
2011-11-10 22:43   ` Andy Fleming
2011-11-10 23:16     ` Tom Rini
2011-11-28 10:33     ` Kumar
2011-11-10 12:40 ` [U-Boot] [PATCH v2 2/2] ARM:AM33XX:Added cpsw support for AM335x EVM Chandan Nath
2011-11-10 14:46   ` Tom Rini
2011-11-10 15:05     ` Kumar
2011-11-10 12:40 ` Chandan Nath
2011-11-10 13:03   ` Kumar

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=201111101126.18553.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=u-boot@lists.denx.de \
    /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