[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1474414832-1638-1-git-send-email-andrew@lunn.ch>
Date: Wed, 21 Sep 2016 01:40:30 +0200
From: Andrew Lunn <andrew@...n.ch>
To: David Miller <davem@...emloft.net>
Cc: Vivien Didelot <vivien.didelot@...oirfairelinux.com>,
netdev <netdev@...r.kernel.org>, Andrew Lunn <andrew@...n.ch>
Subject: [PATCHv3 net-next 0/2] Preparation for mv88e6390
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
Powered by blists - more mailing lists