aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-06-25 06:18:24 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-08-13 02:47:14 -0400
commitd7058a79c56abf58bb33a5c2eee2f7cde6f5ec36 (patch)
treead0ac94ec1526aaa82f10ce54ebdab9aa30a959f /drivers
parent580416e6e4a886512ba692f245a9cb87f75afac7 (diff)
dm9000: Move the Davicom driver
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/Kconfig28
-rw-r--r--drivers/net/Makefile1
-rw-r--r--drivers/net/ethernet/Kconfig1
-rw-r--r--drivers/net/ethernet/Makefile1
-rw-r--r--drivers/net/ethernet/davicom/Kconfig31
-rw-r--r--drivers/net/ethernet/davicom/Makefile5
-rw-r--r--drivers/net/ethernet/davicom/dm9000.c (renamed from drivers/net/dm9000.c)0
-rw-r--r--drivers/net/ethernet/davicom/dm9000.h (renamed from drivers/net/dm9000.h)0
8 files changed, 38 insertions, 29 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index e83f559a2c46..23155cc4a48f 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -246,34 +246,6 @@ config NET_NETX
246 To compile this driver as a module, choose M here. The module 246 To compile this driver as a module, choose M here. The module
247 will be called netx-eth. 247 will be called netx-eth.
248 248
249config DM9000
250 tristate "DM9000 support"
251 depends on ARM || BLACKFIN || MIPS
252 select CRC32
253 select MII
254 ---help---
255 Support for DM9000 chipset.
256
257 To compile this driver as a module, choose M here. The module
258 will be called dm9000.
259
260config DM9000_DEBUGLEVEL
261 int "DM9000 maximum debug level"
262 depends on DM9000
263 default 4
264 help
265 The maximum level of debugging code compiled into the DM9000
266 driver.
267
268config DM9000_FORCE_SIMPLE_PHY_POLL
269 bool "Force simple NSR based PHY polling"
270 depends on DM9000
271 ---help---
272 This configuration forces the DM9000 to use the NSR's LinkStatus
273 bit to determine if the link is up or down instead of the more
274 costly MII PHY reads. Note, this will not work if the chip is
275 operating with an external PHY.
276
277config NET_PCI 249config NET_PCI
278 bool "EISA, VLB, PCI and on board controllers" 250 bool "EISA, VLB, PCI and on board controllers"
279 depends on ISA || EISA || PCI 251 depends on ISA || EISA || PCI
diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index 08ee56fc607e..298587f65c2b 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -52,7 +52,6 @@ obj-$(CONFIG_EQUALIZER) += eql.o
52obj-$(CONFIG_TUN) += tun.o 52obj-$(CONFIG_TUN) += tun.o
53obj-$(CONFIG_VETH) += veth.o 53obj-$(CONFIG_VETH) += veth.o
54obj-$(CONFIG_NET_NETX) += netx-eth.o 54obj-$(CONFIG_NET_NETX) += netx-eth.o
55obj-$(CONFIG_DM9000) += dm9000.o
56 55
57obj-$(CONFIG_DEV_APPLETALK) += appletalk/ 56obj-$(CONFIG_DEV_APPLETALK) += appletalk/
58obj-$(CONFIG_ETHERNET) += ethernet/ 57obj-$(CONFIG_ETHERNET) += ethernet/
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig
index 0cec25cbf36b..45eef598cbb1 100644
--- a/drivers/net/ethernet/Kconfig
+++ b/drivers/net/ethernet/Kconfig
@@ -24,6 +24,7 @@ source "drivers/net/ethernet/brocade/Kconfig"
24source "drivers/net/ethernet/chelsio/Kconfig" 24source "drivers/net/ethernet/chelsio/Kconfig"
25source "drivers/net/ethernet/cirrus/Kconfig" 25source "drivers/net/ethernet/cirrus/Kconfig"
26source "drivers/net/ethernet/cisco/Kconfig" 26source "drivers/net/ethernet/cisco/Kconfig"
27source "drivers/net/ethernet/davicom/Kconfig"
27 28
28config DNET 29config DNET
29 tristate "Dave ethernet support (DNET)" 30 tristate "Dave ethernet support (DNET)"
diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile
index ebe8aee3f839..dfd51467ea65 100644
--- a/drivers/net/ethernet/Makefile
+++ b/drivers/net/ethernet/Makefile
@@ -16,6 +16,7 @@ obj-$(CONFIG_NET_VENDOR_BROCADE) += brocade/
16obj-$(CONFIG_NET_VENDOR_CHELSIO) += chelsio/ 16obj-$(CONFIG_NET_VENDOR_CHELSIO) += chelsio/
17obj-$(CONFIG_NET_VENDOR_CIRRUS) += cirrus/ 17obj-$(CONFIG_NET_VENDOR_CIRRUS) += cirrus/
18obj-$(CONFIG_NET_VENDOR_CISCO) += cisco/ 18obj-$(CONFIG_NET_VENDOR_CISCO) += cisco/
19obj-$(CONFIG_DM9000) += davicom/
19obj-$(CONFIG_DNET) += dnet.o 20obj-$(CONFIG_DNET) += dnet.o
20obj-$(CONFIG_NET_VENDOR_DEC) += dec/ 21obj-$(CONFIG_NET_VENDOR_DEC) += dec/
21obj-$(CONFIG_NET_VENDOR_DLINK) += dlink/ 22obj-$(CONFIG_NET_VENDOR_DLINK) += dlink/
diff --git a/drivers/net/ethernet/davicom/Kconfig b/drivers/net/ethernet/davicom/Kconfig
new file mode 100644
index 000000000000..1809d25d6eda
--- /dev/null
+++ b/drivers/net/ethernet/davicom/Kconfig
@@ -0,0 +1,31 @@
1#
2# Davicom device configuration
3#
4
5config DM9000
6 tristate "DM9000 support"
7 depends on ARM || BLACKFIN || MIPS
8 select CRC32
9 select MII
10 ---help---
11 Support for DM9000 chipset.
12
13 To compile this driver as a module, choose M here. The module
14 will be called dm9000.
15
16config DM9000_DEBUGLEVEL
17 int "DM9000 maximum debug level"
18 depends on DM9000
19 default 4
20 ---help---
21 The maximum level of debugging code compiled into the DM9000
22 driver.
23
24config DM9000_FORCE_SIMPLE_PHY_POLL
25 bool "Force simple NSR based PHY polling"
26 depends on DM9000
27 ---help---
28 This configuration forces the DM9000 to use the NSR's LinkStatus
29 bit to determine if the link is up or down instead of the more
30 costly MII PHY reads. Note, this will not work if the chip is
31 operating with an external PHY.
diff --git a/drivers/net/ethernet/davicom/Makefile b/drivers/net/ethernet/davicom/Makefile
new file mode 100644
index 000000000000..74b31f0ebe18
--- /dev/null
+++ b/drivers/net/ethernet/davicom/Makefile
@@ -0,0 +1,5 @@
1#
2# Makefile for the Davicom device drivers.
3#
4
5obj-$(CONFIG_DM9000) += dm9000.o
diff --git a/drivers/net/dm9000.c b/drivers/net/ethernet/davicom/dm9000.c
index 8ef31dc4704d..8ef31dc4704d 100644
--- a/drivers/net/dm9000.c
+++ b/drivers/net/ethernet/davicom/dm9000.c
diff --git a/drivers/net/dm9000.h b/drivers/net/ethernet/davicom/dm9000.h
index 55688bd1a3ef..55688bd1a3ef 100644
--- a/drivers/net/dm9000.h
+++ b/drivers/net/ethernet/davicom/dm9000.h