Message ID | 1312082850-24914-57-git-send-email-jeffrey.t.kirsher@intel.com |
---|---|
State | RFC, archived |
Delegated to: | David Miller |
Headers | show |
On Sat, Jul 30, 2011 at 08:27:15PM -0700, Jeff Kirsher wrote: > Move the Atmel driver into drivers/net/ethernet/cadence/ and > make the necessary Kconfig and Makefile changes. > > CC: Nicolas Ferre <nicolas.ferre@atmel.com> > CC: Jamie Iles <jamie@jamieiles.com> > Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Looks good to me. Acked-by: Jamie Iles <jamie@jamieiles.com> -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 07/31/2011 04:27 AM, Jeff Kirsher wrote: > Move the Atmel driver into drivers/net/ethernet/cadence/ and > make the necessary Kconfig and Makefile changes. > > CC: Nicolas Ferre<nicolas.ferre@atmel.com> You can add my: Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> > CC: Jamie Iles<jamie@jamieiles.com> > Signed-off-by: Jeff Kirsher<jeffrey.t.kirsher@intel.com> > --- > MAINTAINERS | 2 +- > drivers/net/Kconfig | 16 -------- > drivers/net/Makefile | 3 - > drivers/net/arm/Kconfig | 12 ------ > drivers/net/arm/Makefile | 6 --- > drivers/net/ethernet/Kconfig | 1 + > drivers/net/ethernet/Makefile | 1 + > drivers/net/ethernet/cadence/Kconfig | 40 ++++++++++++++++++++ > drivers/net/ethernet/cadence/Makefile | 6 +++ > drivers/net/{arm => ethernet/cadence}/at91_ether.c | 0 > drivers/net/{arm => ethernet/cadence}/at91_ether.h | 0 > drivers/net/{ => ethernet/cadence}/macb.c | 0 > drivers/net/{ => ethernet/cadence}/macb.h | 0 > 13 files changed, 49 insertions(+), 38 deletions(-) > delete mode 100644 drivers/net/arm/Kconfig > delete mode 100644 drivers/net/arm/Makefile > create mode 100644 drivers/net/ethernet/cadence/Kconfig > create mode 100644 drivers/net/ethernet/cadence/Makefile > rename drivers/net/{arm => ethernet/cadence}/at91_ether.c (100%) > rename drivers/net/{arm => ethernet/cadence}/at91_ether.h (100%) > rename drivers/net/{ => ethernet/cadence}/macb.c (100%) > rename drivers/net/{ => ethernet/cadence}/macb.h (100%) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 83a51ad..995f504 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -1317,7 +1317,7 @@ F: include/video/atmel_lcdc.h > ATMEL MACB ETHERNET DRIVER > M: Nicolas Ferre<nicolas.ferre@atmel.com> > S: Supported > -F: drivers/net/macb.* > +F: drivers/net/ethernet/cadence/ > > ATMEL SPI DRIVER > M: Nicolas Ferre<nicolas.ferre@atmel.com> > diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig > index bb4bc4b..6db322c 100644 > --- a/drivers/net/Kconfig > +++ b/drivers/net/Kconfig > @@ -2,9 +2,6 @@ > # Network device configuration > # > > -config HAVE_NET_MACB > - bool > - > menuconfig NETDEVICES > default y if UML > depends on NET > @@ -224,19 +221,6 @@ menuconfig NET_ETHERNET > > if NET_ETHERNET > > -config MACB > - tristate "Atmel MACB support" > - depends on HAVE_NET_MACB > - select PHYLIB > - help > - The Atmel MACB ethernet interface is found on many AT32 and AT91 > - parts. Say Y to include support for the MACB chip. > - > - To compile this driver as a module, choose M here: the module > - will be called macb. > - > -source "drivers/net/arm/Kconfig" > - > config SH_ETH > tristate "Renesas SuperH Ethernet support" > depends on SUPERH&& \ > diff --git a/drivers/net/Makefile b/drivers/net/Makefile > index d249d76..d7873ba 100644 > --- a/drivers/net/Makefile > +++ b/drivers/net/Makefile > @@ -63,9 +63,6 @@ obj-$(CONFIG_ETHOC) += ethoc.o > obj-$(CONFIG_GRETH) += greth.o > > obj-$(CONFIG_DNET) += dnet.o > -obj-$(CONFIG_MACB) += macb.o > - > -obj-$(CONFIG_ARM) += arm/ > obj-$(CONFIG_DEV_APPLETALK) += appletalk/ > obj-$(CONFIG_ETHERNET) += ethernet/ > obj-$(CONFIG_TR) += tokenring/ > diff --git a/drivers/net/arm/Kconfig b/drivers/net/arm/Kconfig > deleted file mode 100644 > index 57d16b9..0000000 > --- a/drivers/net/arm/Kconfig > +++ /dev/null > @@ -1,12 +0,0 @@ > -# > -# Acorn Network device configuration > -# These are for Acorn's Expansion card network interfaces > -# > - > -config ARM_AT91_ETHER > - tristate "AT91RM9200 Ethernet support" > - depends on ARM&& ARCH_AT91RM9200 > - select MII > - help > - If you wish to compile a kernel for the AT91RM9200 and enable > - ethernet support, then you should always answer Y to this. > diff --git a/drivers/net/arm/Makefile b/drivers/net/arm/Makefile > deleted file mode 100644 > index fc0f85c..0000000 > --- a/drivers/net/arm/Makefile > +++ /dev/null > @@ -1,6 +0,0 @@ > -# File: drivers/net/arm/Makefile > -# > -# Makefile for the ARM network device drivers > -# > - > -obj-$(CONFIG_ARM_AT91_ETHER) += at91_ether.o > diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig > index e087337..68a31b9 100644 > --- a/drivers/net/ethernet/Kconfig > +++ b/drivers/net/ethernet/Kconfig > @@ -15,6 +15,7 @@ source "drivers/net/ethernet/3com/Kconfig" > source "drivers/net/ethernet/amd/Kconfig" > source "drivers/net/ethernet/apple/Kconfig" > source "drivers/net/ethernet/atheros/Kconfig" > +source "drivers/net/ethernet/cadence/Kconfig" > source "drivers/net/ethernet/adi/Kconfig" > source "drivers/net/ethernet/broadcom/Kconfig" > source "drivers/net/ethernet/brocade/Kconfig" > diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile > index 826db27..0e91c4d 100644 > --- a/drivers/net/ethernet/Makefile > +++ b/drivers/net/ethernet/Makefile > @@ -7,6 +7,7 @@ obj-$(CONFIG_NET_VENDOR_8390) += 8390/ > obj-$(CONFIG_NET_VENDOR_AMD) += amd/ > obj-$(CONFIG_NET_VENDOR_APPLE) += apple/ > obj-$(CONFIG_NET_VENDOR_ATHEROS) += atheros/ > +obj-$(CONFIG_NET_ATMEL) += cadence/ > obj-$(CONFIG_NET_BFIN) += adi/ > obj-$(CONFIG_NET_VENDOR_BROADCOM) += broadcom/ > obj-$(CONFIG_NET_VENDOR_BROCADE) += brocade/ > diff --git a/drivers/net/ethernet/cadence/Kconfig b/drivers/net/ethernet/cadence/Kconfig > new file mode 100644 > index 0000000..4c443da > --- /dev/null > +++ b/drivers/net/ethernet/cadence/Kconfig > @@ -0,0 +1,40 @@ > +# > +# Atmel device configuration > +# > + > +config HAVE_NET_MACB > + bool > + > +config NET_ATMEL > + bool "Atmel devices" > + depends on HAVE_NET_MACB || (ARM&& ARCH_AT91RM9200) > + ---help--- > + If you have a network (Ethernet) card belonging to this class, say Y. > + Make sure you know the name of your card. Read the Ethernet-HOWTO, > + available from<http://www.tldp.org/docs.html#howto>. > + > + If unsure, say Y. > + > + Note that the answer to this question doesn't directly affect the > + kernel: saying N will just cause the configurator to skip all > + the remaining Atmel network card questions. If you say Y, you will be > + asked for your specific card in the following questions. > + > +config ARM_AT91_ETHER > + tristate "AT91RM9200 Ethernet support" > + depends on NET_ATMEL&& ARM&& ARCH_AT91RM9200 > + select MII > + ---help--- > + If you wish to compile a kernel for the AT91RM9200 and enable > + ethernet support, then you should always answer Y to this. > + > +config MACB > + tristate "Atmel MACB support" > + depends on NET_ATMEL&& HAVE_NET_MACB > + select PHYLIB > + ---help--- > + The Atmel MACB ethernet interface is found on many AT32 and AT91 > + parts. Say Y to include support for the MACB chip. > + > + To compile this driver as a module, choose M here: the module > + will be called macb. > diff --git a/drivers/net/ethernet/cadence/Makefile b/drivers/net/ethernet/cadence/Makefile > new file mode 100644 > index 0000000..9068b83 > --- /dev/null > +++ b/drivers/net/ethernet/cadence/Makefile > @@ -0,0 +1,6 @@ > +# > +# Makefile for the Atmel network device drivers. > +# > + > +obj-$(CONFIG_ARM_AT91_ETHER) += at91_ether.o > +obj-$(CONFIG_MACB) += macb.o > diff --git a/drivers/net/arm/at91_ether.c b/drivers/net/ethernet/cadence/at91_ether.c > similarity index 100% > rename from drivers/net/arm/at91_ether.c > rename to drivers/net/ethernet/cadence/at91_ether.c > diff --git a/drivers/net/arm/at91_ether.h b/drivers/net/ethernet/cadence/at91_ether.h > similarity index 100% > rename from drivers/net/arm/at91_ether.h > rename to drivers/net/ethernet/cadence/at91_ether.h > diff --git a/drivers/net/macb.c b/drivers/net/ethernet/cadence/macb.c > similarity index 100% > rename from drivers/net/macb.c > rename to drivers/net/ethernet/cadence/macb.c > diff --git a/drivers/net/macb.h b/drivers/net/ethernet/cadence/macb.h > similarity index 100% > rename from drivers/net/macb.h > rename to drivers/net/ethernet/cadence/macb.h -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Mon, 2011-08-01 at 07:49 -0700, Nicolas Ferre wrote: > On 07/31/2011 04:27 AM, Jeff Kirsher wrote: > > Move the Atmel driver into drivers/net/ethernet/cadence/ and > > make the necessary Kconfig and Makefile changes. > > > > CC: Nicolas Ferre<nicolas.ferre@atmel.com> > > You can add my: > Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> > > > CC: Jamie Iles<jamie@jamieiles.com> > > Signed-off-by: Jeff Kirsher<jeffrey.t.kirsher@intel.com> Nicolas/Jamie- I have a v3 series of patches coming out here imminently, and I have tweaked the Kconfig just a bit based on feedback from others. Since the "tweak" made sense for all the Kconfig, I applied it across the board. Here is the new Kconfig: +# +# Atmel device configuration +# + +config HAVE_NET_MACB + bool + +config NET_ATMEL + bool "Atmel devices" + depends on HAVE_NET_MACB || (ARM && ARCH_AT91RM9200) + ---help--- + If you have a network (Ethernet) card belonging to this class, say Y. + Make sure you know the name of your card. Read the Ethernet-HOWTO, + available from <http://www.tldp.org/docs.html#howto>. + + If unsure, say Y. + + Note that the answer to this question doesn't directly affect the + kernel: saying N will just cause the configurator to skip all + the remaining Atmel network card questions. If you say Y, you will be + asked for your specific card in the following questions. + +if NET_ATMEL + +config ARM_AT91_ETHER + tristate "AT91RM9200 Ethernet support" + depends on ARM && ARCH_AT91RM9200 + select MII + ---help--- + If you wish to compile a kernel for the AT91RM9200 and enable + ethernet support, then you should always answer Y to this. + +config MACB + tristate "Atmel MACB support" + depends on HAVE_NET_MACB + select PHYLIB + ---help--- + The Atmel MACB ethernet interface is found on many AT32 and AT91 + parts. Say Y to include support for the MACB chip. + + To compile this driver as a module, choose M here: the module + will be called macb. + +endif # NET_ATMEL If these changes are fine, I can add your ACK's.
On Tue, Aug 02, 2011 at 10:59:28PM -0700, Jeff Kirsher wrote: > On Mon, 2011-08-01 at 07:49 -0700, Nicolas Ferre wrote: > > On 07/31/2011 04:27 AM, Jeff Kirsher wrote: > > > Move the Atmel driver into drivers/net/ethernet/cadence/ and > > > make the necessary Kconfig and Makefile changes. > > > > > > CC: Nicolas Ferre<nicolas.ferre@atmel.com> > > > > You can add my: > > Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> > > > > > CC: Jamie Iles<jamie@jamieiles.com> > > > Signed-off-by: Jeff Kirsher<jeffrey.t.kirsher@intel.com> > > Nicolas/Jamie- > > I have a v3 series of patches coming out here imminently, and I have > tweaked the Kconfig just a bit based on feedback from others. Since the > "tweak" made sense for all the Kconfig, I applied it across the board. > Here is the new Kconfig: [...] > If these changes are fine, I can add your ACK's. It all reads fine to me though I wonder if we should substitute Atmel for Cadence. Perhaps this should be a separate patch though that makes it a little clearer in the drivers too. Anyhow, for now I'm happy as it is, so: Acked-by: Jamie Iles <jamie@jamieiles.com> Jamie -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 08/03/2011 09:47 AM, Jamie Iles wrote: > On Tue, Aug 02, 2011 at 10:59:28PM -0700, Jeff Kirsher wrote: >> On Mon, 2011-08-01 at 07:49 -0700, Nicolas Ferre wrote: >>> On 07/31/2011 04:27 AM, Jeff Kirsher wrote: >>>> Move the Atmel driver into drivers/net/ethernet/cadence/ and >>>> make the necessary Kconfig and Makefile changes. >>>> >>>> CC: Nicolas Ferre<nicolas.ferre@atmel.com> >>> >>> You can add my: >>> Acked-by: Nicolas Ferre<nicolas.ferre@atmel.com> >>> >>>> CC: Jamie Iles<jamie@jamieiles.com> >>>> Signed-off-by: Jeff Kirsher<jeffrey.t.kirsher@intel.com> >> >> Nicolas/Jamie- >> >> I have a v3 series of patches coming out here imminently, and I have >> tweaked the Kconfig just a bit based on feedback from others. Since the >> "tweak" made sense for all the Kconfig, I applied it across the board. >> Here is the new Kconfig: > [...] >> If these changes are fine, I can add your ACK's. > > It all reads fine to me though I wonder if we should substitute Atmel > for Cadence. Perhaps this should be a separate patch though that makes > it a little clearer in the drivers too. Yes, that is true. > Anyhow, for now I'm happy as it is, so: > > Acked-by: Jamie Iles<jamie@jamieiles.com> Yes, you can add my: Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
On Wed, 2011-08-03 at 01:50 -0700, Nicolas Ferre wrote: > On 08/03/2011 09:47 AM, Jamie Iles wrote: > > On Tue, Aug 02, 2011 at 10:59:28PM -0700, Jeff Kirsher wrote: > >> On Mon, 2011-08-01 at 07:49 -0700, Nicolas Ferre wrote: > >>> On 07/31/2011 04:27 AM, Jeff Kirsher wrote: > >>>> Move the Atmel driver into drivers/net/ethernet/cadence/ and > >>>> make the necessary Kconfig and Makefile changes. > >>>> > >>>> CC: Nicolas Ferre<nicolas.ferre@atmel.com> > >>> > >>> You can add my: > >>> Acked-by: Nicolas Ferre<nicolas.ferre@atmel.com> > >>> > >>>> CC: Jamie Iles<jamie@jamieiles.com> > >>>> Signed-off-by: Jeff Kirsher<jeffrey.t.kirsher@intel.com> > >> > >> Nicolas/Jamie- > >> > >> I have a v3 series of patches coming out here imminently, and I have > >> tweaked the Kconfig just a bit based on feedback from others. Since the > >> "tweak" made sense for all the Kconfig, I applied it across the board. > >> Here is the new Kconfig: > > [...] > >> If these changes are fine, I can add your ACK's. > > > > It all reads fine to me though I wonder if we should substitute Atmel > > for Cadence. Perhaps this should be a separate patch though that makes > > it a little clearer in the drivers too. Not that I am trying to get out of the additional cleanup, but I vote for a separate patch after we go through the push of this series of patches. :) > > Yes, that is true. > > > Anyhow, for now I'm happy as it is, so: > > > > Acked-by: Jamie Iles<jamie@jamieiles.com> > > Yes, you can add my: > > Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Thanks, I will add your ACK's.
diff --git a/MAINTAINERS b/MAINTAINERS index 83a51ad..995f504 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1317,7 +1317,7 @@ F: include/video/atmel_lcdc.h ATMEL MACB ETHERNET DRIVER M: Nicolas Ferre <nicolas.ferre@atmel.com> S: Supported -F: drivers/net/macb.* +F: drivers/net/ethernet/cadence/ ATMEL SPI DRIVER M: Nicolas Ferre <nicolas.ferre@atmel.com> diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index bb4bc4b..6db322c 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -2,9 +2,6 @@ # Network device configuration # -config HAVE_NET_MACB - bool - menuconfig NETDEVICES default y if UML depends on NET @@ -224,19 +221,6 @@ menuconfig NET_ETHERNET if NET_ETHERNET -config MACB - tristate "Atmel MACB support" - depends on HAVE_NET_MACB - select PHYLIB - help - The Atmel MACB ethernet interface is found on many AT32 and AT91 - parts. Say Y to include support for the MACB chip. - - To compile this driver as a module, choose M here: the module - will be called macb. - -source "drivers/net/arm/Kconfig" - config SH_ETH tristate "Renesas SuperH Ethernet support" depends on SUPERH && \ diff --git a/drivers/net/Makefile b/drivers/net/Makefile index d249d76..d7873ba 100644 --- a/drivers/net/Makefile +++ b/drivers/net/Makefile @@ -63,9 +63,6 @@ obj-$(CONFIG_ETHOC) += ethoc.o obj-$(CONFIG_GRETH) += greth.o obj-$(CONFIG_DNET) += dnet.o -obj-$(CONFIG_MACB) += macb.o - -obj-$(CONFIG_ARM) += arm/ obj-$(CONFIG_DEV_APPLETALK) += appletalk/ obj-$(CONFIG_ETHERNET) += ethernet/ obj-$(CONFIG_TR) += tokenring/ diff --git a/drivers/net/arm/Kconfig b/drivers/net/arm/Kconfig deleted file mode 100644 index 57d16b9..0000000 --- a/drivers/net/arm/Kconfig +++ /dev/null @@ -1,12 +0,0 @@ -# -# Acorn Network device configuration -# These are for Acorn's Expansion card network interfaces -# - -config ARM_AT91_ETHER - tristate "AT91RM9200 Ethernet support" - depends on ARM && ARCH_AT91RM9200 - select MII - help - If you wish to compile a kernel for the AT91RM9200 and enable - ethernet support, then you should always answer Y to this. diff --git a/drivers/net/arm/Makefile b/drivers/net/arm/Makefile deleted file mode 100644 index fc0f85c..0000000 --- a/drivers/net/arm/Makefile +++ /dev/null @@ -1,6 +0,0 @@ -# File: drivers/net/arm/Makefile -# -# Makefile for the ARM network device drivers -# - -obj-$(CONFIG_ARM_AT91_ETHER) += at91_ether.o diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig index e087337..68a31b9 100644 --- a/drivers/net/ethernet/Kconfig +++ b/drivers/net/ethernet/Kconfig @@ -15,6 +15,7 @@ source "drivers/net/ethernet/3com/Kconfig" source "drivers/net/ethernet/amd/Kconfig" source "drivers/net/ethernet/apple/Kconfig" source "drivers/net/ethernet/atheros/Kconfig" +source "drivers/net/ethernet/cadence/Kconfig" source "drivers/net/ethernet/adi/Kconfig" source "drivers/net/ethernet/broadcom/Kconfig" source "drivers/net/ethernet/brocade/Kconfig" diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile index 826db27..0e91c4d 100644 --- a/drivers/net/ethernet/Makefile +++ b/drivers/net/ethernet/Makefile @@ -7,6 +7,7 @@ obj-$(CONFIG_NET_VENDOR_8390) += 8390/ obj-$(CONFIG_NET_VENDOR_AMD) += amd/ obj-$(CONFIG_NET_VENDOR_APPLE) += apple/ obj-$(CONFIG_NET_VENDOR_ATHEROS) += atheros/ +obj-$(CONFIG_NET_ATMEL) += cadence/ obj-$(CONFIG_NET_BFIN) += adi/ obj-$(CONFIG_NET_VENDOR_BROADCOM) += broadcom/ obj-$(CONFIG_NET_VENDOR_BROCADE) += brocade/ diff --git a/drivers/net/ethernet/cadence/Kconfig b/drivers/net/ethernet/cadence/Kconfig new file mode 100644 index 0000000..4c443da --- /dev/null +++ b/drivers/net/ethernet/cadence/Kconfig @@ -0,0 +1,40 @@ +# +# Atmel device configuration +# + +config HAVE_NET_MACB + bool + +config NET_ATMEL + bool "Atmel devices" + depends on HAVE_NET_MACB || (ARM && ARCH_AT91RM9200) + ---help--- + If you have a network (Ethernet) card belonging to this class, say Y. + Make sure you know the name of your card. Read the Ethernet-HOWTO, + available from <http://www.tldp.org/docs.html#howto>. + + If unsure, say Y. + + Note that the answer to this question doesn't directly affect the + kernel: saying N will just cause the configurator to skip all + the remaining Atmel network card questions. If you say Y, you will be + asked for your specific card in the following questions. + +config ARM_AT91_ETHER + tristate "AT91RM9200 Ethernet support" + depends on NET_ATMEL && ARM && ARCH_AT91RM9200 + select MII + ---help--- + If you wish to compile a kernel for the AT91RM9200 and enable + ethernet support, then you should always answer Y to this. + +config MACB + tristate "Atmel MACB support" + depends on NET_ATMEL && HAVE_NET_MACB + select PHYLIB + ---help--- + The Atmel MACB ethernet interface is found on many AT32 and AT91 + parts. Say Y to include support for the MACB chip. + + To compile this driver as a module, choose M here: the module + will be called macb. diff --git a/drivers/net/ethernet/cadence/Makefile b/drivers/net/ethernet/cadence/Makefile new file mode 100644 index 0000000..9068b83 --- /dev/null +++ b/drivers/net/ethernet/cadence/Makefile @@ -0,0 +1,6 @@ +# +# Makefile for the Atmel network device drivers. +# + +obj-$(CONFIG_ARM_AT91_ETHER) += at91_ether.o +obj-$(CONFIG_MACB) += macb.o
Move the Atmel driver into drivers/net/ethernet/cadence/ and make the necessary Kconfig and Makefile changes. CC: Nicolas Ferre <nicolas.ferre@atmel.com> CC: Jamie Iles <jamie@jamieiles.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> --- MAINTAINERS | 2 +- drivers/net/Kconfig | 16 -------- drivers/net/Makefile | 3 - drivers/net/arm/Kconfig | 12 ------ drivers/net/arm/Makefile | 6 --- drivers/net/ethernet/Kconfig | 1 + drivers/net/ethernet/Makefile | 1 + drivers/net/ethernet/cadence/Kconfig | 40 ++++++++++++++++++++ drivers/net/ethernet/cadence/Makefile | 6 +++ drivers/net/{arm => ethernet/cadence}/at91_ether.c | 0 drivers/net/{arm => ethernet/cadence}/at91_ether.h | 0 drivers/net/{ => ethernet/cadence}/macb.c | 0 drivers/net/{ => ethernet/cadence}/macb.h | 0 13 files changed, 49 insertions(+), 38 deletions(-) delete mode 100644 drivers/net/arm/Kconfig delete mode 100644 drivers/net/arm/Makefile create mode 100644 drivers/net/ethernet/cadence/Kconfig create mode 100644 drivers/net/ethernet/cadence/Makefile rename drivers/net/{arm => ethernet/cadence}/at91_ether.c (100%) rename drivers/net/{arm => ethernet/cadence}/at91_ether.h (100%) rename drivers/net/{ => ethernet/cadence}/macb.c (100%) rename drivers/net/{ => ethernet/cadence}/macb.h (100%) diff --git a/drivers/net/arm/at91_ether.c b/drivers/net/ethernet/cadence/at91_ether.c similarity index 100% rename from drivers/net/arm/at91_ether.c rename to drivers/net/ethernet/cadence/at91_ether.c diff --git a/drivers/net/arm/at91_ether.h b/drivers/net/ethernet/cadence/at91_ether.h similarity index 100% rename from drivers/net/arm/at91_ether.h rename to drivers/net/ethernet/cadence/at91_ether.h diff --git a/drivers/net/macb.c b/drivers/net/ethernet/cadence/macb.c similarity index 100% rename from drivers/net/macb.c rename to drivers/net/ethernet/cadence/macb.c diff --git a/drivers/net/macb.h b/drivers/net/ethernet/cadence/macb.h similarity index 100% rename from drivers/net/macb.h rename to drivers/net/ethernet/cadence/macb.h