netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Cc: davem@davemloft.net, netdev@vger.kernel.org,
	Ben Dooks <ben@simtec.co.uk>
Subject: Re: [RFC 69/72] dm9000: Move the Davicom driver
Date: Mon, 27 Jun 2011 11:45:42 +0200	[thread overview]
Message-ID: <20110627094542.GY6069@pengutronix.de> (raw)
In-Reply-To: <1309010363-22750-70-git-send-email-jeffrey.t.kirsher@intel.com>

On Sat, Jun 25, 2011 at 06:59:20AM -0700, Jeff Kirsher wrote:
> Move the Davicom driver into drivers/net/ethernet/davicom/ and
> make the necessary Kconfig and Makefile changes.
> 
> CC: Ben Dooks <ben@simtec.co.uk>
> CC: Sascha Hauer <s.hauer@pengutronix.de>
> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>

Acked-by: Sascha Hauer <s.hauer@pengutronix.de>

> ---
>  drivers/net/Kconfig                         |   28 ------------------------
>  drivers/net/Makefile                        |    1 -
>  drivers/net/ethernet/Kconfig                |    1 +
>  drivers/net/ethernet/Makefile               |    1 +
>  drivers/net/ethernet/davicom/Kconfig        |   31 +++++++++++++++++++++++++++
>  drivers/net/ethernet/davicom/Makefile       |    5 ++++
>  drivers/net/{ => ethernet/davicom}/dm9000.c |    0
>  drivers/net/{ => ethernet/davicom}/dm9000.h |    0
>  8 files changed, 38 insertions(+), 29 deletions(-)
>  create mode 100644 drivers/net/ethernet/davicom/Kconfig
>  create mode 100644 drivers/net/ethernet/davicom/Makefile
>  rename drivers/net/{ => ethernet/davicom}/dm9000.c (100%)
>  rename drivers/net/{ => ethernet/davicom}/dm9000.h (100%)
> 
> diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
> index d1bcd23..4ddc389 100644
> --- a/drivers/net/Kconfig
> +++ b/drivers/net/Kconfig
> @@ -246,34 +246,6 @@ config NET_NETX
>  	  To compile this driver as a module, choose M here. The module
>  	  will be called netx-eth.
>  
> -config DM9000
> -	tristate "DM9000 support"
> -	depends on ARM || BLACKFIN || MIPS
> -	select CRC32
> -	select MII
> -	---help---
> -	  Support for DM9000 chipset.
> -
> -	  To compile this driver as a module, choose M here.  The module
> -	  will be called dm9000.
> -
> -config DM9000_DEBUGLEVEL
> -	int "DM9000 maximum debug level"
> -	depends on DM9000
> -	default 4
> -	help
> -	  The maximum level of debugging code compiled into the DM9000
> -	  driver.
> -
> -config DM9000_FORCE_SIMPLE_PHY_POLL
> -	bool "Force simple NSR based PHY polling"
> -	depends on DM9000
> -	---help---
> -	  This configuration forces the DM9000 to use the NSR's LinkStatus
> -	  bit to determine if the link is up or down instead of the more
> -	  costly MII PHY reads. Note, this will not work if the chip is
> -	  operating with an external PHY.
> -
>  config NET_PCI
>  	bool "EISA, VLB, PCI and on board controllers"
>  	depends on ISA || EISA || PCI
> diff --git a/drivers/net/Makefile b/drivers/net/Makefile
> index b647529..83075d4 100644
> --- a/drivers/net/Makefile
> +++ b/drivers/net/Makefile
> @@ -53,7 +53,6 @@ obj-$(CONFIG_EQUALIZER) += eql.o
>  obj-$(CONFIG_TUN) += tun.o
>  obj-$(CONFIG_VETH) += veth.o
>  obj-$(CONFIG_NET_NETX) += netx-eth.o
> -obj-$(CONFIG_DM9000) += dm9000.o
>  
>  obj-$(CONFIG_DEV_APPLETALK) += appletalk/
>  obj-$(CONFIG_ETHERNET) += ethernet/
> diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig
> index ac88e7c..3ec1903 100644
> --- a/drivers/net/ethernet/Kconfig
> +++ b/drivers/net/ethernet/Kconfig
> @@ -73,6 +73,7 @@ source "drivers/net/ethernet/broadcom/Kconfig"
>  source "drivers/net/ethernet/brocade/Kconfig"
>  source "drivers/net/ethernet/chelsio/Kconfig"
>  source "drivers/net/ethernet/cisco/Kconfig"
> +source "drivers/net/ethernet/davicom/Kconfig"
>  
>  config DNET
>  	tristate "Dave ethernet support (DNET)"
> diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile
> index afbb0ff..3b2a35a 100644
> --- a/drivers/net/ethernet/Makefile
> +++ b/drivers/net/ethernet/Makefile
> @@ -19,6 +19,7 @@ obj-$(CONFIG_NET_VENDOR_BROADCOM) += broadcom/
>  obj-$(CONFIG_NET_VENDOR_BROCADE) += brocade/
>  obj-$(CONFIG_NET_VENDOR_CHELSIO) += chelsio/
>  obj-$(CONFIG_NET_VENDOR_CISCO) += cisco/
> +obj-$(CONFIG_DM9000) += davicom/
>  obj-$(CONFIG_DNET) += dnet.o
>  obj-$(CONFIG_DEPCA) += depca.o
>  obj-$(CONFIG_NET_VENDOR_DLINK) += dlink/
> diff --git a/drivers/net/ethernet/davicom/Kconfig b/drivers/net/ethernet/davicom/Kconfig
> new file mode 100644
> index 0000000..0a03b0b
> --- /dev/null
> +++ b/drivers/net/ethernet/davicom/Kconfig
> @@ -0,0 +1,31 @@
> +#
> +# Davicom device configuration
> +#
> +
> +config DM9000
> +	tristate "DM9000 support"
> +	depends on ARM || BLACKFIN || MIPS
> +	select CRC32
> +	select MII
> +	---help---
> +	  Support for DM9000 chipset.
> +
> +	  To compile this driver as a module, choose M here.  The module
> +	  will be called dm9000.
> +
> +config DM9000_DEBUGLEVEL
> +	int "DM9000 maximum debug level"
> +	depends on DM9000
> +	default 4
> +	help
> +	  The maximum level of debugging code compiled into the DM9000
> +	  driver.
> +
> +config DM9000_FORCE_SIMPLE_PHY_POLL
> +	bool "Force simple NSR based PHY polling"
> +	depends on DM9000
> +	---help---
> +	  This configuration forces the DM9000 to use the NSR's LinkStatus
> +	  bit to determine if the link is up or down instead of the more
> +	  costly MII PHY reads. Note, this will not work if the chip is
> +	  operating with an external PHY.
> diff --git a/drivers/net/ethernet/davicom/Makefile b/drivers/net/ethernet/davicom/Makefile
> new file mode 100644
> index 0000000..74b31f0
> --- /dev/null
> +++ b/drivers/net/ethernet/davicom/Makefile
> @@ -0,0 +1,5 @@
> +#
> +# Makefile for the Davicom device drivers.
> +#
> +
> +obj-$(CONFIG_DM9000) += dm9000.o
> diff --git a/drivers/net/dm9000.c b/drivers/net/ethernet/davicom/dm9000.c
> similarity index 100%
> rename from drivers/net/dm9000.c
> rename to drivers/net/ethernet/davicom/dm9000.c
> diff --git a/drivers/net/dm9000.h b/drivers/net/ethernet/davicom/dm9000.h
> similarity index 100%
> rename from drivers/net/dm9000.h
> rename to drivers/net/ethernet/davicom/dm9000.h
> -- 
> 1.7.5.4
> 
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

  reply	other threads:[~2011-06-27  9:45 UTC|newest]

Thread overview: 135+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-25 13:58 [RFC 00/72] Organize/Move of the Ethernet drivers in drivers/net/ Jeff Kirsher
2011-06-25 13:58 ` [RFC 01/72] drivers/net/ethernet: Add ethernet dir and config option Jeff Kirsher
2011-06-25 13:58 ` [RFC 02/72] 3c*/acenic/typhoon: Move 3Com Ethernet drivers Jeff Kirsher
2011-06-25 16:11   ` David Dillow
2011-06-28  8:22   ` Alan Cox
2011-07-09 15:27     ` Jeff Kirsher
2011-06-25 13:58 ` [RFC 03/72] amd8111e/pcnet32/*lance/mvme147: Move AMD chipset drivers Jeff Kirsher
2011-06-25 13:58 ` [RFC 04/72] 8390: Move the 8390 related drivers Jeff Kirsher
2011-06-25 13:58 ` [RFC 05/72] broadcom: Move the Broadcom drivers Jeff Kirsher
2011-06-25 13:58 ` [RFC 06/72] chelsio: Move the Chelsio drivers Jeff Kirsher
2011-06-25 13:58 ` [RFC 07/72] intel: Move the Intel wired LAN drivers Jeff Kirsher
2011-06-25 13:58 ` [RFC 08/72] qlogic: Move the QLogic drivers Jeff Kirsher
2011-06-27  1:30   ` Anirban Chakraborty
2011-06-25 13:58 ` [RFC 09/72] smc: Move the SMC drivers Jeff Kirsher
2011-06-25 14:30   ` Arnd Bergmann
2011-06-25 13:58 ` [RFC 10/72] ni5*/ni65: Move the Racal-Interlan (Micom) drivers Jeff Kirsher
2011-06-25 13:58 ` [RFC 11/72] cassini/niu/sun*: Move the Sun drivers Jeff Kirsher
2011-06-25 14:46   ` Oliver Hartkopp
2011-06-25 23:56     ` David Miller
2011-06-25 13:58 ` [RFC 12/72] sfc: Move the Solarflare drivers Jeff Kirsher
2011-06-25 13:58 ` [RFC 13/72] be2net: Move the Emulex driver Jeff Kirsher
2011-06-25 13:58 ` [RFC 14/72] bna: Move the Brocade driver Jeff Kirsher
2011-06-25 13:58 ` [RFC 15/72] mlx4: Move the Mellanox driver Jeff Kirsher
2011-06-25 13:58 ` [RFC 16/72] myri*: Move the Myricom drivers Jeff Kirsher
2011-06-25 13:58 ` [RFC 17/72] s2io/vxge: Move the Exar drivers Jeff Kirsher
2011-06-25 13:58 ` [RFC 18/72] ehea/ibm*: Move the IBM drivers Jeff Kirsher
2011-06-25 14:39   ` Oliver Hartkopp
2011-06-25 15:04     ` Arnd Bergmann
2011-06-26  0:37       ` Benjamin Herrenschmidt
2011-06-25 13:58 ` [RFC 19/72] enic: Move the Cisco driver Jeff Kirsher
2011-06-25 13:58 ` [RFC 20/72] pasemic_mac*: Move the PA Semi driver Jeff Kirsher
2011-06-26  1:34   ` Olof Johansson
2011-06-25 13:58 ` [RFC 21/72] tehuti: Move the Tehuti driver Jeff Kirsher
2011-06-25 13:58 ` [RFC 22/72] stmmac: Move the STMicroelectronics driver Jeff Kirsher
2011-06-25 13:58 ` [RFC 23/72] bmac/mace/macmace/mac89x0/cs89x0: Move the Macintosh (Apple) drivers Jeff Kirsher
2011-06-25 13:58 ` [RFC 24/72] *sonic/natsemi/ns83829: Move the National Semi-conductor drivers Jeff Kirsher
2011-06-25 17:21   ` Marc Gauthier
2011-06-25 13:58 ` [RFC 25/72] smsc*/smc911x: Move the SMSC drivers Jeff Kirsher
2011-06-25 13:58 ` [RFC 26/72] arm: Move the ARM/ACORN drivers Jeff Kirsher
2011-06-25 14:48   ` Arnd Bergmann
2011-06-25 14:50     ` Arnd Bergmann
2011-06-25 15:53     ` Russell King - ARM Linux
2011-06-25 16:03       ` Arnd Bergmann
2011-06-25 16:12         ` Russell King - ARM Linux
2011-06-25 16:59           ` Arnd Bergmann
2011-06-25 18:02             ` Jeff Kirsher
2011-06-25 18:06             ` Jeff Kirsher
2011-06-25 18:22               ` Arnd Bergmann
2011-06-26  6:38               ` Joe Perches
2011-06-27  3:10     ` Gole, Anant
2011-06-25 13:58 ` [RFC 27/72] ftgmac100/ftmac100: Move the Faraday drivers Jeff Kirsher
2011-06-27  1:51   ` Po-Yu Chuang
2011-06-25 13:58 ` [RFC 28/72] 8139*/atp/r8169: Move the Realtek drivers Jeff Kirsher
2011-06-25 13:58 ` [RFC 29/72] de6*/dl2k: Move the D-Link drivers Jeff Kirsher
2011-06-25 13:58 ` [RFC 30/72] atl*: Move the Atheros drivers Jeff Kirsher
2011-06-25 18:16   ` Chris Snook
2011-06-25 13:58 ` [RFC 31/72] tulip: Move the tulip drivers Jeff Kirsher
2011-07-03  0:04   ` Grant Grundler
2011-06-25 13:58 ` [RFC 32/72] ioc3-eth/meth/sgiseeq: Move the SGI drivers Jeff Kirsher
2011-06-25 13:58 ` [RFC 33/72] pch_gbe: Move the OKI driver Jeff Kirsher
2011-06-27  1:53   ` Toshiharu Okada
2011-06-25 13:58 ` [RFC 34/72] skge/sky2: Move the SysKonnect Ethernet drivers Jeff Kirsher
2011-06-25 14:49   ` Arnd Bergmann
2011-06-25 16:26     ` Stephen Hemminger
2011-06-25 13:58 ` [RFC 35/72] via-*: Move the VIA drivers Jeff Kirsher
2011-06-25 13:58 ` [RFC 36/72] eepro/eexpress/eth16i/ewrk3/lp486e/seeq8005/znet: Move the ISA drivers Jeff Kirsher
2011-06-25 13:58 ` [RFC 37/72] fsl_*/gianfar*/ucc_*: Move the Freescale drivers Jeff Kirsher
2011-06-29 15:39   ` Tabi Timur-B04825
2011-07-09 15:07     ` Jeff Kirsher
2011-06-25 13:58 ` [RFC 38/72] ks8*/ksz8*: Move the Micrel drivers Jeff Kirsher
2011-06-25 13:58 ` [RFC 39/72] mv643xx/pxa168: Move the Marvell drivers Jeff Kirsher
2011-06-25 13:58 ` [RFC 40/72] spider_net: Move the spider_net (IBM) driver Jeff Kirsher
2011-06-25 14:34   ` Arnd Bergmann
2011-06-25 13:58 ` [RFC 41/72] sis*: Move the Silicon Integrated Systems (SiS) drivers Jeff Kirsher
2011-06-25 13:58 ` [RFC 42/72] 82586.c/fec*: Move the Motorola drivers Jeff Kirsher
2011-06-25 16:53   ` Arnd Bergmann
2011-06-25 13:58 ` [RFC 43/72] a2065/ariadne: Move the a2065/ariadne drivers Jeff Kirsher
2011-06-28 20:33   ` Geert Uytterhoeven
2011-07-09 14:30     ` Jeff Kirsher
2011-07-10 19:34       ` Geert Uytterhoeven
2011-07-11  0:48         ` Jeff Kirsher
2011-07-11  6:33           ` Geert Uytterhoeven
2011-07-11  9:39             ` Jeff Kirsher
2011-07-11  9:51               ` Geert Uytterhoeven
2011-07-11 11:31               ` Christoph Hellwig
2011-07-11 11:41                 ` David Miller
2011-07-10 19:56       ` Christoph Hellwig
2011-06-25 13:58 ` [RFC 44/72] s6gmac/tsi108_eth: Move the s6gmac/tsi108_eth drivers Jeff Kirsher
2011-06-25 13:58 ` [RFC 45/72] tlan/cpmac: Move the TI drivers Jeff Kirsher
2011-06-25 13:58 ` [RFC 46/72] ixp2000: Move the Radisys driver Jeff Kirsher
2011-06-26 11:47   ` Lennert Buytenhek
2011-07-09 15:58     ` Jeff Kirsher
2011-07-15  0:08       ` Lennert Buytenhek
2011-07-15  1:19         ` Jeff Kirsher
2011-07-15 10:32           ` Lennert Buytenhek
2011-06-25 13:58 ` [RFC 47/72] hamachi/yellowfin: Move the packet engine drivers Jeff Kirsher
2011-06-25 13:58 ` [RFC 48/72] octeon: Move the Cavium driver Jeff Kirsher
2011-06-25 13:59 ` [RFC 49/72] jme: Move the JME driver Jeff Kirsher
2011-06-25 13:59 ` [RFC 50/72] xilinx/ll_temac: Move the Xilinx drivers Jeff Kirsher
2011-06-25 13:59 ` [RFC 51/72] ipg: Move the IC Plus driver Jeff Kirsher
2011-06-25 13:59 ` [RFC 52/72] ps3_gelic*: Move the Sony (PS3) drivers Jeff Kirsher
2011-06-25 14:54   ` Arnd Bergmann
2011-06-25 16:25   ` Geoff Levand
2011-06-25 13:59 ` [RFC 53/72] korina: Move the IDT driver Jeff Kirsher
2011-06-25 13:59 ` [RFC 54/72] au1000_eth/mipsnet/tc35815: Move the MIPS drivers Jeff Kirsher
2011-06-25 16:13   ` Ralf Baechle
2011-06-25 18:11     ` Jeff Kirsher
2011-06-25 13:59 ` [RFC 55/72] bfin_mac: Move the Blackfin driver Jeff Kirsher
2011-06-25 14:57   ` Arnd Bergmann
2011-06-27 18:41   ` Hennerich, Michael
2011-06-25 13:59 ` [RFC 56/72] macb: Move the Atmel driver Jeff Kirsher
2011-06-27  7:46   ` Nicolas Ferre
2011-06-27  9:29     ` Jamie Iles
2011-06-25 13:59 ` [RFC 57/72] sc92031: Move the Silan driver Jeff Kirsher
2011-06-25 13:59 ` [RFC 58/72] sundance: Move the sundance driver Jeff Kirsher
2011-06-25 13:59 ` [RFC 59/72] r6040: Move the RDC driver Jeff Kirsher
2011-06-25 18:59   ` Florian Fainelli
2011-06-25 13:59 ` [RFC 60/72] fealnx: Move the Myson driver Jeff Kirsher
2011-06-25 13:59 ` [RFC 61/72] forcedeth: Move the NVIDIA nForce driver Jeff Kirsher
2011-06-25 13:59 ` [RFC 62/72] starfire: Move the starfire driver Jeff Kirsher
2011-06-25 13:59 ` [RFC 63/72] hp100/depca: Move the HP and Digital drivers Jeff Kirsher
2011-06-25 13:59 ` [RFC 64/72] at1700: Move the Allied Telesis driver Jeff Kirsher
2011-06-25 13:59 ` [RFC 65/72] dnet: Move the Dave Ethernet driver Jeff Kirsher
2011-06-25 13:59 ` [RFC 66/72] ethoc: Move the Avionic driver Jeff Kirsher
2011-06-25 13:59 ` [RFC 67/72] greth: Move the Aeroflex Gaisler driver Jeff Kirsher
2011-06-25 13:59 ` [RFC 68/72] enc28j60: Move the enc28j60 driver Jeff Kirsher
2011-06-25 13:59 ` [RFC 69/72] dm9000: Move the Davicom driver Jeff Kirsher
2011-06-27  9:45   ` Sascha Hauer [this message]
2011-06-25 13:59 ` [RFC 70/72] netx: Move the netx driver Jeff Kirsher
2011-06-27  9:45   ` Sascha Hauer
2011-06-25 13:59 ` [RFC 71/72] sh_eth: Move the Renesas SuperH driver Jeff Kirsher
2011-06-25 13:59 ` [RFC 72/72] drivers/net: Kconfig and Makefile cleanup Jeff Kirsher
2011-06-26  7:54 ` [RFC 00/72] Organize/Move of the Ethernet drivers in drivers/net/ Bill Fink
2011-06-26  8:35 ` Francois Romieu
2011-06-27  5:35 ` Jeff Kirsher

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=20110627094542.GY6069@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=ben@simtec.co.uk \
    --cc=davem@davemloft.net \
    --cc=jeffrey.t.kirsher@intel.com \
    --cc=netdev@vger.kernel.org \
    /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).