aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-05-13 00:21:33 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-08-11 05:33:31 -0400
commit8efc91254fda97ee78e2e0b8e016120e664131de (patch)
tree3e8fdaad0c81411c49c19abe5e9b4db56fcdd740 /drivers
parent628a604842b68cb0fc483e7cd5fcfb836be633d5 (diff)
ni5010: Move the Racal-Interlan (Micom) driver
Moves the Racal-Interlan driver into drivers/net/ethernet/racal/ and make the necessary Kconfig and Makefile changes. CC: "Jan-Pascal van Best" <janpascal@vanbest.org> CC: Andreas Mohr <andi@lisas.de> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/Kconfig25
-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/racal/Kconfig32
-rw-r--r--drivers/net/ethernet/racal/Makefile5
-rw-r--r--drivers/net/ethernet/racal/ni5010.c (renamed from drivers/net/ni5010.c)0
-rw-r--r--drivers/net/ethernet/racal/ni5010.h (renamed from drivers/net/ni5010.h)0
8 files changed, 39 insertions, 26 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index d7d0b3532bc3..b76de822b52f 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -581,31 +581,6 @@ config GRETH
581 help 581 help
582 Say Y here if you want to use the Aeroflex Gaisler GRETH Ethernet MAC. 582 Say Y here if you want to use the Aeroflex Gaisler GRETH Ethernet MAC.
583 583
584config NET_VENDOR_RACAL
585 bool "Racal-Interlan (Micom) NI cards"
586 depends on ISA
587 help
588 If you have a network (Ethernet) card belonging to this class, such
589 as the NI5010, say Y and read the Ethernet-HOWTO,
590 available from <http://www.tldp.org/docs.html#howto>.
591
592 Note that the answer to this question doesn't directly affect the
593 kernel: saying N will just cause the configurator to skip all
594 the questions about NI cards. If you say Y, you will be asked for
595 your specific card in the following questions.
596
597config NI5010
598 tristate "NI5010 support (EXPERIMENTAL)"
599 depends on NET_VENDOR_RACAL && ISA && EXPERIMENTAL && BROKEN_ON_SMP
600 ---help---
601 If you have a network (Ethernet) card of this type, say Y and read
602 the Ethernet-HOWTO, available from
603 <http://www.tldp.org/docs.html#howto>. Note that this is still
604 experimental code.
605
606 To compile this driver as a module, choose M here. The module
607 will be called ni5010.
608
609config DNET 584config DNET
610 tristate "Dave ethernet support (DNET)" 585 tristate "Dave ethernet support (DNET)"
611 depends on NET_ETHERNET && HAS_IOMEM 586 depends on NET_ETHERNET && HAS_IOMEM
diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index 49b3e87075d3..e641f703bbad 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -140,7 +140,6 @@ obj-$(CONFIG_8139TOO) += 8139too.o
140obj-$(CONFIG_CPMAC) += cpmac.o 140obj-$(CONFIG_CPMAC) += cpmac.o
141obj-$(CONFIG_EWRK3) += ewrk3.o 141obj-$(CONFIG_EWRK3) += ewrk3.o
142obj-$(CONFIG_ATP) += atp.o 142obj-$(CONFIG_ATP) += atp.o
143obj-$(CONFIG_NI5010) += ni5010.o
144obj-$(CONFIG_SC92031) += sc92031.o 143obj-$(CONFIG_SC92031) += sc92031.o
145 144
146obj-$(CONFIG_ETH16I) += eth16i.o 145obj-$(CONFIG_ETH16I) += eth16i.o
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig
index d0a8fa8ab7ec..7efbb7cf91a9 100644
--- a/drivers/net/ethernet/Kconfig
+++ b/drivers/net/ethernet/Kconfig
@@ -19,6 +19,7 @@ source "drivers/net/ethernet/chelsio/Kconfig"
19source "drivers/net/ethernet/intel/Kconfig" 19source "drivers/net/ethernet/intel/Kconfig"
20source "drivers/net/ethernet/i825xx/Kconfig" 20source "drivers/net/ethernet/i825xx/Kconfig"
21source "drivers/net/ethernet/qlogic/Kconfig" 21source "drivers/net/ethernet/qlogic/Kconfig"
22source "drivers/net/ethernet/racal/Kconfig"
22source "drivers/net/ethernet/smsc/Kconfig" 23source "drivers/net/ethernet/smsc/Kconfig"
23 24
24endif # ETHERNET 25endif # ETHERNET
diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile
index 6d3276a48012..86da8b8339e1 100644
--- a/drivers/net/ethernet/Makefile
+++ b/drivers/net/ethernet/Makefile
@@ -10,4 +10,5 @@ obj-$(CONFIG_NET_VENDOR_CHELSIO) += chelsio/
10obj-$(CONFIG_NET_VENDOR_INTEL) += intel/ 10obj-$(CONFIG_NET_VENDOR_INTEL) += intel/
11obj-$(CONFIG_NET_VENDOR_I825XX) += i825xx/ 11obj-$(CONFIG_NET_VENDOR_I825XX) += i825xx/
12obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/ 12obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/
13obj-$(CONFIG_NET_VENDOR_RACAL) += racal/
13obj-$(CONFIG_NET_VENDOR_SMSC) += smsc/ 14obj-$(CONFIG_NET_VENDOR_SMSC) += smsc/
diff --git a/drivers/net/ethernet/racal/Kconfig b/drivers/net/ethernet/racal/Kconfig
new file mode 100644
index 000000000000..45d493036cec
--- /dev/null
+++ b/drivers/net/ethernet/racal/Kconfig
@@ -0,0 +1,32 @@
1#
2# Racal-Interlan device configuration
3#
4
5config NET_VENDOR_RACAL
6 bool "Racal-Interlan (Micom) NI devices"
7 depends on ISA
8 ---help---
9 If you have a network (Ethernet) card belonging to this class, such
10 as the NI5010, NI5210 or NI6210, say Y and read the Ethernet-HOWTO,
11 available from <http://www.tldp.org/docs.html#howto>.
12
13 Note that the answer to this question doesn't directly affect the
14 kernel: saying N will just cause the configurator to skip all
15 the questions about NI cards. If you say Y, you will be asked for
16 your specific card in the following questions.
17
18if NET_VENDOR_RACAL
19
20config NI5010
21 tristate "NI5010 support (EXPERIMENTAL)"
22 depends on ISA && EXPERIMENTAL && BROKEN_ON_SMP
23 ---help---
24 If you have a network (Ethernet) card of this type, say Y and read
25 the Ethernet-HOWTO, available from
26 <http://www.tldp.org/docs.html#howto>. Note that this is still
27 experimental code.
28
29 To compile this driver as a module, choose M here. The module
30 will be called ni5010.
31
32endif # NET_VENDOR_RACAL
diff --git a/drivers/net/ethernet/racal/Makefile b/drivers/net/ethernet/racal/Makefile
new file mode 100644
index 000000000000..1e210ca1d78b
--- /dev/null
+++ b/drivers/net/ethernet/racal/Makefile
@@ -0,0 +1,5 @@
1#
2# Makefile for the Racal-Interlan network device drivers.
3#
4
5obj-$(CONFIG_NI5010) += ni5010.o
diff --git a/drivers/net/ni5010.c b/drivers/net/ethernet/racal/ni5010.c
index 4d3f2e2b28bd..4d3f2e2b28bd 100644
--- a/drivers/net/ni5010.c
+++ b/drivers/net/ethernet/racal/ni5010.c
diff --git a/drivers/net/ni5010.h b/drivers/net/ethernet/racal/ni5010.h
index e10e717fcd76..e10e717fcd76 100644
--- a/drivers/net/ni5010.h
+++ b/drivers/net/ethernet/racal/ni5010.h