Skip to content

Commit

Permalink
net: dsa: mv88e6xxx: move driver in its own folder
Browse files Browse the repository at this point in the history
With the upcoming support for cross-chip operations and other mv88e6xxx
enhancements, new files will be added.

Similarly to mlxsw or b53, move mv88e6xxx files into their own folder.

In the meantime, update the MAINTAINERS entry to please checkpatch.pl,
by replacing the invalid 88E6352 entry with 88E6XXX, maintained by
Andrew and myself.

Signed-off-by: Vivien Didelot <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
vivien authored and davem330 committed Jun 25, 2016
1 parent 8a0b075 commit 0d3cd4b
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 16 deletions.
11 changes: 6 additions & 5 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -7171,18 +7171,19 @@ W: http://www.kernel.org/doc/man-pages
L: [email protected]
S: Maintained

MARVELL 88E6XXX ETHERNET SWITCH FABRIC DRIVER
M: Andrew Lunn <[email protected]>
M: Vivien Didelot <[email protected]>
S: Maintained
F: drivers/net/dsa/mv88e6xxx/

MARVELL ARMADA DRM SUPPORT
M: Russell King <[email protected]>
S: Maintained
F: drivers/gpu/drm/armada/
F: include/uapi/drm/armada_drm.h
F: Documentation/devicetree/bindings/display/armada/

MARVELL 88E6352 DSA support
M: Guenter Roeck <[email protected]>
S: Maintained
F: drivers/net/dsa/mv88e6352.c

MARVELL CRYPTO DRIVER
M: Boris Brezillon <[email protected]>
M: Arnaud Ebalard <[email protected]>
Expand Down
10 changes: 2 additions & 8 deletions drivers/net/dsa/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@ config NET_DSA_MV88E6060
This enables support for the Marvell 88E6060 ethernet switch
chip.

config NET_DSA_MV88E6XXX
tristate "Marvell 88E6xxx Ethernet switch chip support"
depends on NET_DSA
select NET_DSA_TAG_EDSA
---help---
This enables support for most of the Marvell 88E6xxx models of
Ethernet switch chips, except 88E6060.

config NET_DSA_BCM_SF2
tristate "Broadcom Starfighter 2 Ethernet switch support"
depends on HAS_IOMEM && NET_DSA
Expand All @@ -30,4 +22,6 @@ config NET_DSA_BCM_SF2

source "drivers/net/dsa/b53/Kconfig"

source "drivers/net/dsa/mv88e6xxx/Kconfig"

endmenu
2 changes: 1 addition & 1 deletion drivers/net/dsa/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
obj-$(CONFIG_NET_DSA_MV88E6060) += mv88e6060.o
obj-$(CONFIG_NET_DSA_MV88E6XXX) += mv88e6xxx.o
obj-$(CONFIG_NET_DSA_BCM_SF2) += bcm_sf2.o

obj-y += b53/
obj-y += mv88e6xxx/
7 changes: 7 additions & 0 deletions drivers/net/dsa/mv88e6xxx/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
config NET_DSA_MV88E6XXX
tristate "Marvell 88E6xxx Ethernet switch fabric support"
depends on NET_DSA
select NET_DSA_TAG_EDSA
help
This driver adds support for most of the Marvell 88E6xxx models of
Ethernet switch chips, except 88E6060.
1 change: 1 addition & 0 deletions drivers/net/dsa/mv88e6xxx/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
obj-$(CONFIG_NET_DSA_MV88E6XXX) += mv88e6xxx.o
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* net/dsa/mv88e6xxx.c - Marvell 88e6xxx switch chip support
* Marvell 88e6xxx Ethernet switch single-chip support
*
* Copyright (c) 2008 Marvell Semiconductor
*
* Copyright (c) 2015 CMC Electronics, Inc.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* net/dsa/mv88e6xxx.h - Marvell 88e6xxx switch chip support
* Marvell 88e6xxx common definitions
*
* Copyright (c) 2008 Marvell Semiconductor
*
* This program is free software; you can redistribute it and/or modify
Expand Down

0 comments on commit 0d3cd4b

Please sign in to comment.