|| ||Tony Prisk <firstname.lastname@example.org> |
|| ||Francois Romieu <email@example.com> |
|| ||[PATCHv2 0/3] Add support for velocity network driver on platform devices |
|| ||Mon, 29 Apr 2013 19:50:38 +1200|
firstname.lastname@example.org, Tony Prisk <email@example.com>|
|| ||Article, Thread
Drop patch #1 as requested by David Miller.
Correct the PHYID_ICPLUS_IP101A MII bits - should be ON, rather than OFF.
Read the platform rev_id from the correct register [regs->rev_id]. It's possible
this would work for the PCI version as well and would remove the need for the
'if (pci)' test to set vptr->rev_id.
The first three patches are general tidyup.
[DROPPED] Patch ## just alphabetizes the #includes to make it easier to read.
Patch #1 replaces vptr->dev with vptr->netdev, in preparation of adding a
struct device *dev in Patch #3
Patch #2 replaces the pci dma functions with the generic versions.
I have build tested these patches but don't have a PCI velocity to run-test it.
I can't see that they should introduce any problems as it is all renames and
Patch #3 adds support for the velocity driver on devicetree platform devices.
Binding document included. This patch is compile-tested for PCI, and boot
tested on a VIA APC8750.
I think it would be pertinent to get some tested-by's for PCI users.
Tony Prisk (3):
net: velocity: Rename vptr->dev to vptr->netdev
net: velocity: Convert to generic dma functions
net: velocity: Add platform device support to VIA velocity driver
.../devicetree/bindings/net/via-velocity.txt | 20 +
drivers/net/ethernet/via/Kconfig | 3 +-
drivers/net/ethernet/via/via-velocity.c | 564 ++++++++++++++------
drivers/net/ethernet/via/via-velocity.h | 35 +-
4 files changed, 456 insertions(+), 166 deletions(-)
create mode 100644 Documentation/devicetree/bindings/net/via-velocity.txt
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/