From: Andrew Lunn <andrew@lunn.ch>
To: David Miller <davem@davemloft.net>
Cc: Vivien Didelot <vivien.didelot@savoirfairelinux.com>,
netdev <netdev@vger.kernel.org>, Andrew Lunn <andrew@lunn.ch>
Subject: [PATCHv3 net-next 0/2] Preparation for mv88e6390
Date: Wed, 21 Sep 2016 01:40:30 +0200 [thread overview]
Message-ID: <1474414832-1638-1-git-send-email-andrew@lunn.ch> (raw)
These two patches are a couple of preparation steps for supporting the
the MV88E6390 family of chips. This is a new generation from Marvell,
and will need more feature flags than are currently available in an
unsigned long. Expand to an unsigned long long. The MV88E6390 also
places its port registers somewhere else, so add a wrapper around port
register access.
v2:
Rework wrappers to use mv88e6xxx_{read|write}
Simpliy some (err < ) to (err)
Add Reviewed by tag.
v3::
reg = reg & foo -> reg &= foo
Fix over zealous s/ret/err
Andrew Lunn (2):
net: dsa: mv88e6xxx: Add helper for accessing port registers
net: dsa: mv88e6xxx: Convert flag bits to unsigned long long
drivers/net/dsa/mv88e6xxx/chip.c | 370 +++++++++++++++++-----------------
drivers/net/dsa/mv88e6xxx/mv88e6xxx.h | 63 +++---
2 files changed, 213 insertions(+), 220 deletions(-)
--
2.9.3
next reply other threads:[~2016-09-20 23:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-20 23:40 Andrew Lunn [this message]
2016-09-20 23:40 ` [PATCHv3 net-next 1/2] net: dsa: mv88e6xxx: Add helper for accessing port registers Andrew Lunn
2016-09-21 0:43 ` Vivien Didelot
2016-09-20 23:40 ` [PATCHv3 net-next 2/2] net: dsa: mv88e6xxx: Convert flag bits to unsigned long long Andrew Lunn
2016-09-22 6:20 ` [PATCHv3 net-next 0/2] Preparation for mv88e6390 David Miller
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=1474414832-1638-1-git-send-email-andrew@lunn.ch \
--to=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=vivien.didelot@savoirfairelinux.com \
/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;
as well as URLs for NNTP newsgroup(s).