diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-05-20 03:04:35 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-08-11 19:29:50 -0400 |
commit | 3401299a1b9e747cbf7de2cc0c8f6376c3cbe565 (patch) | |
tree | bdc229019b5a31d8b3bcf422055eccb261259ca4 /drivers/net | |
parent | a8fe65b8f031c5c0a7414059773eaa962e5243cb (diff) |
de6*/dl2k/sundance: Move the D-Link drivers
Move the D-Link drivers into drivers/net/ethernet/dlink/ and
make the necessary Kconfig and Makefile changes.
CC: Bjorn Ekwall <bj0rn@blox.se>
CC: Donald Becker <becker@scyld.com>
CC: Edward Peng <edward_peng@dlink.com.tw>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/Kconfig | 64 | ||||
-rw-r--r-- | drivers/net/Makefile | 4 | ||||
-rw-r--r-- | drivers/net/ethernet/Kconfig | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/Makefile | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/dlink/Kconfig | 84 | ||||
-rw-r--r-- | drivers/net/ethernet/dlink/Makefile | 8 | ||||
-rw-r--r-- | drivers/net/ethernet/dlink/de600.c (renamed from drivers/net/de600.c) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/dlink/de600.h (renamed from drivers/net/de600.h) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/dlink/de620.c (renamed from drivers/net/de620.c) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/dlink/de620.h (renamed from drivers/net/de620.h) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/dlink/dl2k.c (renamed from drivers/net/dl2k.c) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/dlink/dl2k.h (renamed from drivers/net/dl2k.h) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/dlink/sundance.c (renamed from drivers/net/sundance.c) | 0 |
13 files changed, 94 insertions, 68 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 42408d7dc1c2..8799caf64c98 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -623,26 +623,6 @@ config SIS900 | |||
623 | To compile this driver as a module, choose M here: the module | 623 | To compile this driver as a module, choose M here: the module |
624 | will be called sis900. This is recommended. | 624 | will be called sis900. This is recommended. |
625 | 625 | ||
626 | config SUNDANCE | ||
627 | tristate "Sundance Alta support" | ||
628 | depends on NET_PCI && PCI | ||
629 | select CRC32 | ||
630 | select MII | ||
631 | help | ||
632 | This driver is for the Sundance "Alta" chip. | ||
633 | More specific information and updates are available from | ||
634 | <http://www.scyld.com/network/sundance.html>. | ||
635 | |||
636 | config SUNDANCE_MMIO | ||
637 | bool "Use MMIO instead of PIO" | ||
638 | depends on SUNDANCE | ||
639 | help | ||
640 | Enable memory-mapped I/O for interaction with Sundance NIC registers. | ||
641 | Do NOT enable this by default, PIO (enabled when MMIO is disabled) | ||
642 | is known to solve bugs on certain chips. | ||
643 | |||
644 | If unsure, say N. | ||
645 | |||
646 | config TLAN | 626 | config TLAN |
647 | tristate "TI ThunderLAN support" | 627 | tristate "TI ThunderLAN support" |
648 | depends on NET_PCI && (PCI || EISA) | 628 | depends on NET_PCI && (PCI || EISA) |
@@ -740,36 +720,6 @@ config NET_POCKET | |||
740 | the questions about this class of network devices. If you say Y, you | 720 | the questions about this class of network devices. If you say Y, you |
741 | will be asked for your specific device in the following questions. | 721 | will be asked for your specific device in the following questions. |
742 | 722 | ||
743 | config DE600 | ||
744 | tristate "D-Link DE600 pocket adapter support" | ||
745 | depends on NET_POCKET && PARPORT | ||
746 | ---help--- | ||
747 | This is a network (Ethernet) device which attaches to your parallel | ||
748 | port. Read <file:Documentation/networking/DLINK.txt> as well as the | ||
749 | Ethernet-HOWTO, available from | ||
750 | <http://www.tldp.org/docs.html#howto>, if you want to use | ||
751 | this. It is possible to have several devices share a single parallel | ||
752 | port and it is safe to compile the corresponding drivers into the | ||
753 | kernel. | ||
754 | |||
755 | To compile this driver as a module, choose M here: the module | ||
756 | will be called de600. | ||
757 | |||
758 | config DE620 | ||
759 | tristate "D-Link DE620 pocket adapter support" | ||
760 | depends on NET_POCKET && PARPORT | ||
761 | ---help--- | ||
762 | This is a network (Ethernet) device which attaches to your parallel | ||
763 | port. Read <file:Documentation/networking/DLINK.txt> as well as the | ||
764 | Ethernet-HOWTO, available from | ||
765 | <http://www.tldp.org/docs.html#howto>, if you want to use | ||
766 | this. It is possible to have several devices share a single parallel | ||
767 | port and it is safe to compile the corresponding drivers into the | ||
768 | kernel. | ||
769 | |||
770 | To compile this driver as a module, choose M here: the module | ||
771 | will be called de620. | ||
772 | |||
773 | config SGISEEQ | 723 | config SGISEEQ |
774 | tristate "SGI Seeq ethernet controller support" | 724 | tristate "SGI Seeq ethernet controller support" |
775 | depends on SGI_HAS_SEEQ | 725 | depends on SGI_HAS_SEEQ |
@@ -862,20 +812,6 @@ menuconfig NETDEV_1000 | |||
862 | 812 | ||
863 | if NETDEV_1000 | 813 | if NETDEV_1000 |
864 | 814 | ||
865 | config DL2K | ||
866 | tristate "DL2000/TC902x-based Gigabit Ethernet support" | ||
867 | depends on PCI | ||
868 | select CRC32 | ||
869 | help | ||
870 | This driver supports DL2000/TC902x-based Gigabit ethernet cards, | ||
871 | which includes | ||
872 | D-Link DGE-550T Gigabit Ethernet Adapter. | ||
873 | D-Link DL2000-based Gigabit Ethernet Adapter. | ||
874 | Sundance/Tamarack TC902x Gigabit Ethernet Adapter. | ||
875 | |||
876 | To compile this driver as a module, choose M here: the | ||
877 | module will be called dl2k. | ||
878 | |||
879 | config IP1000 | 815 | config IP1000 |
880 | tristate "IP1000 Gigabit Ethernet support" | 816 | tristate "IP1000 Gigabit Ethernet support" |
881 | depends on PCI && EXPERIMENTAL | 817 | depends on PCI && EXPERIMENTAL |
diff --git a/drivers/net/Makefile b/drivers/net/Makefile index d142fc5ef68c..ecd8c9f664d2 100644 --- a/drivers/net/Makefile +++ b/drivers/net/Makefile | |||
@@ -67,7 +67,6 @@ obj-$(CONFIG_SH_ETH) += sh_eth.o | |||
67 | # end link order section | 67 | # end link order section |
68 | # | 68 | # |
69 | 69 | ||
70 | obj-$(CONFIG_SUNDANCE) += sundance.o | ||
71 | obj-$(CONFIG_HAMACHI) += hamachi.o | 70 | obj-$(CONFIG_HAMACHI) += hamachi.o |
72 | obj-$(CONFIG_NET) += Space.o loopback.o | 71 | obj-$(CONFIG_NET) += Space.o loopback.o |
73 | obj-$(CONFIG_SEEQ8005) += seeq8005.o | 72 | obj-$(CONFIG_SEEQ8005) += seeq8005.o |
@@ -106,8 +105,6 @@ obj-$(CONFIG_DUMMY) += dummy.o | |||
106 | obj-$(CONFIG_IFB) += ifb.o | 105 | obj-$(CONFIG_IFB) += ifb.o |
107 | obj-$(CONFIG_MACVLAN) += macvlan.o | 106 | obj-$(CONFIG_MACVLAN) += macvlan.o |
108 | obj-$(CONFIG_MACVTAP) += macvtap.o | 107 | obj-$(CONFIG_MACVTAP) += macvtap.o |
109 | obj-$(CONFIG_DE600) += de600.o | ||
110 | obj-$(CONFIG_DE620) += de620.o | ||
111 | obj-$(CONFIG_DEFXX) += defxx.o | 108 | obj-$(CONFIG_DEFXX) += defxx.o |
112 | obj-$(CONFIG_SGISEEQ) += sgiseeq.o | 109 | obj-$(CONFIG_SGISEEQ) += sgiseeq.o |
113 | obj-$(CONFIG_SGI_O2MACE_ETH) += meth.o | 110 | obj-$(CONFIG_SGI_O2MACE_ETH) += meth.o |
@@ -123,7 +120,6 @@ obj-$(CONFIG_SGI_IOC3_ETH) += ioc3-eth.o | |||
123 | obj-$(CONFIG_TUN) += tun.o | 120 | obj-$(CONFIG_TUN) += tun.o |
124 | obj-$(CONFIG_VETH) += veth.o | 121 | obj-$(CONFIG_VETH) += veth.o |
125 | obj-$(CONFIG_NET_NETX) += netx-eth.o | 122 | obj-$(CONFIG_NET_NETX) += netx-eth.o |
126 | obj-$(CONFIG_DL2K) += dl2k.o | ||
127 | obj-$(CONFIG_PXA168_ETH) += pxa168_eth.o | 123 | obj-$(CONFIG_PXA168_ETH) += pxa168_eth.o |
128 | obj-$(CONFIG_BFIN_MAC) += bfin_mac.o | 124 | obj-$(CONFIG_BFIN_MAC) += bfin_mac.o |
129 | obj-$(CONFIG_DM9000) += dm9000.o | 125 | obj-$(CONFIG_DM9000) += dm9000.o |
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig index fecac79b009b..8007e20972e4 100644 --- a/drivers/net/ethernet/Kconfig +++ b/drivers/net/ethernet/Kconfig | |||
@@ -18,6 +18,7 @@ source "drivers/net/ethernet/broadcom/Kconfig" | |||
18 | source "drivers/net/ethernet/brocade/Kconfig" | 18 | source "drivers/net/ethernet/brocade/Kconfig" |
19 | source "drivers/net/ethernet/chelsio/Kconfig" | 19 | source "drivers/net/ethernet/chelsio/Kconfig" |
20 | source "drivers/net/ethernet/cisco/Kconfig" | 20 | source "drivers/net/ethernet/cisco/Kconfig" |
21 | source "drivers/net/ethernet/dlink/Kconfig" | ||
21 | source "drivers/net/ethernet/emulex/Kconfig" | 22 | source "drivers/net/ethernet/emulex/Kconfig" |
22 | source "drivers/net/ethernet/neterion/Kconfig" | 23 | source "drivers/net/ethernet/neterion/Kconfig" |
23 | source "drivers/net/ethernet/faraday/Kconfig" | 24 | source "drivers/net/ethernet/faraday/Kconfig" |
diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile index 0092c30db18f..22ef3808f439 100644 --- a/drivers/net/ethernet/Makefile +++ b/drivers/net/ethernet/Makefile | |||
@@ -10,6 +10,7 @@ obj-$(CONFIG_NET_VENDOR_BROADCOM) += broadcom/ | |||
10 | obj-$(CONFIG_NET_VENDOR_BROCADE) += brocade/ | 10 | obj-$(CONFIG_NET_VENDOR_BROCADE) += brocade/ |
11 | obj-$(CONFIG_NET_VENDOR_CHELSIO) += chelsio/ | 11 | obj-$(CONFIG_NET_VENDOR_CHELSIO) += chelsio/ |
12 | obj-$(CONFIG_NET_VENDOR_CISCO) += cisco/ | 12 | obj-$(CONFIG_NET_VENDOR_CISCO) += cisco/ |
13 | obj-$(CONFIG_NET_VENDOR_DLINK) += dlink/ | ||
13 | obj-$(CONFIG_NET_VENDOR_EMULEX) += emulex/ | 14 | obj-$(CONFIG_NET_VENDOR_EMULEX) += emulex/ |
14 | obj-$(CONFIG_NET_VENDOR_EXAR) += neterion/ | 15 | obj-$(CONFIG_NET_VENDOR_EXAR) += neterion/ |
15 | obj-$(CONFIG_NET_VENDOR_FARADAY) += faraday/ | 16 | obj-$(CONFIG_NET_VENDOR_FARADAY) += faraday/ |
diff --git a/drivers/net/ethernet/dlink/Kconfig b/drivers/net/ethernet/dlink/Kconfig new file mode 100644 index 000000000000..9fdb66b66f15 --- /dev/null +++ b/drivers/net/ethernet/dlink/Kconfig | |||
@@ -0,0 +1,84 @@ | |||
1 | # | ||
2 | # D-Link device configuration | ||
3 | # | ||
4 | |||
5 | config NET_VENDOR_DLINK | ||
6 | bool "D-Link devices" | ||
7 | depends on PCI || PARPORT | ||
8 | ---help--- | ||
9 | If you have a network (Ethernet) card belonging to this class, say Y | ||
10 | and read the Ethernet-HOWTO, available from | ||
11 | <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 D-Link devices. If you say Y, you will be asked for | ||
16 | your specific card in the following questions. | ||
17 | |||
18 | if NET_VENDOR_DLINK | ||
19 | |||
20 | config DE600 | ||
21 | tristate "D-Link DE600 pocket adapter support" | ||
22 | depends on PARPORT | ||
23 | ---help--- | ||
24 | This is a network (Ethernet) device which attaches to your parallel | ||
25 | port. Read <file:Documentation/networking/DLINK.txt> as well as the | ||
26 | Ethernet-HOWTO, available from | ||
27 | <http://www.tldp.org/docs.html#howto>, if you want to use | ||
28 | this. It is possible to have several devices share a single parallel | ||
29 | port and it is safe to compile the corresponding drivers into the | ||
30 | kernel. | ||
31 | |||
32 | To compile this driver as a module, choose M here: the module | ||
33 | will be called de600. | ||
34 | |||
35 | config DE620 | ||
36 | tristate "D-Link DE620 pocket adapter support" | ||
37 | depends on PARPORT | ||
38 | ---help--- | ||
39 | This is a network (Ethernet) device which attaches to your parallel | ||
40 | port. Read <file:Documentation/networking/DLINK.txt> as well as the | ||
41 | Ethernet-HOWTO, available from | ||
42 | <http://www.tldp.org/docs.html#howto>, if you want to use | ||
43 | this. It is possible to have several devices share a single parallel | ||
44 | port and it is safe to compile the corresponding drivers into the | ||
45 | kernel. | ||
46 | |||
47 | To compile this driver as a module, choose M here: the module | ||
48 | will be called de620. | ||
49 | |||
50 | config DL2K | ||
51 | tristate "DL2000/TC902x-based Gigabit Ethernet support" | ||
52 | depends on PCI | ||
53 | select CRC32 | ||
54 | ---help--- | ||
55 | This driver supports DL2000/TC902x-based Gigabit ethernet cards, | ||
56 | which includes | ||
57 | D-Link DGE-550T Gigabit Ethernet Adapter. | ||
58 | D-Link DL2000-based Gigabit Ethernet Adapter. | ||
59 | Sundance/Tamarack TC902x Gigabit Ethernet Adapter. | ||
60 | |||
61 | To compile this driver as a module, choose M here: the | ||
62 | module will be called dl2k. | ||
63 | |||
64 | config SUNDANCE | ||
65 | tristate "Sundance Alta support" | ||
66 | depends on PCI | ||
67 | select CRC32 | ||
68 | select MII | ||
69 | ---help--- | ||
70 | This driver is for the Sundance "Alta" chip. | ||
71 | More specific information and updates are available from | ||
72 | <http://www.scyld.com/network/sundance.html>. | ||
73 | |||
74 | config SUNDANCE_MMIO | ||
75 | bool "Use MMIO instead of PIO" | ||
76 | depends on SUNDANCE | ||
77 | ---help--- | ||
78 | Enable memory-mapped I/O for interaction with Sundance NIC registers. | ||
79 | Do NOT enable this by default, PIO (enabled when MMIO is disabled) | ||
80 | is known to solve bugs on certain chips. | ||
81 | |||
82 | If unsure, say N. | ||
83 | |||
84 | endif # NET_VENDOR_DLINK | ||
diff --git a/drivers/net/ethernet/dlink/Makefile b/drivers/net/ethernet/dlink/Makefile new file mode 100644 index 000000000000..c705eaa4f5b2 --- /dev/null +++ b/drivers/net/ethernet/dlink/Makefile | |||
@@ -0,0 +1,8 @@ | |||
1 | # | ||
2 | # Makefile for the D-Link network device drivers. | ||
3 | # | ||
4 | |||
5 | obj-$(CONFIG_DE600) += de600.o | ||
6 | obj-$(CONFIG_DE620) += de620.o | ||
7 | obj-$(CONFIG_DL2K) += dl2k.o | ||
8 | obj-$(CONFIG_SUNDANCE) += sundance.o | ||
diff --git a/drivers/net/de600.c b/drivers/net/ethernet/dlink/de600.c index 23a65398d011..23a65398d011 100644 --- a/drivers/net/de600.c +++ b/drivers/net/ethernet/dlink/de600.c | |||
diff --git a/drivers/net/de600.h b/drivers/net/ethernet/dlink/de600.h index e80ecbabcf4e..e80ecbabcf4e 100644 --- a/drivers/net/de600.h +++ b/drivers/net/ethernet/dlink/de600.h | |||
diff --git a/drivers/net/de620.c b/drivers/net/ethernet/dlink/de620.c index 1c51a7576119..1c51a7576119 100644 --- a/drivers/net/de620.c +++ b/drivers/net/ethernet/dlink/de620.c | |||
diff --git a/drivers/net/de620.h b/drivers/net/ethernet/dlink/de620.h index e8d9a88f4cb5..e8d9a88f4cb5 100644 --- a/drivers/net/de620.h +++ b/drivers/net/ethernet/dlink/de620.h | |||
diff --git a/drivers/net/dl2k.c b/drivers/net/ethernet/dlink/dl2k.c index ed73e4a93508..ed73e4a93508 100644 --- a/drivers/net/dl2k.c +++ b/drivers/net/ethernet/dlink/dl2k.c | |||
diff --git a/drivers/net/dl2k.h b/drivers/net/ethernet/dlink/dl2k.h index 7caab3d26a9e..7caab3d26a9e 100644 --- a/drivers/net/dl2k.h +++ b/drivers/net/ethernet/dlink/dl2k.h | |||
diff --git a/drivers/net/sundance.c b/drivers/net/ethernet/dlink/sundance.c index 4793df843c24..4793df843c24 100644 --- a/drivers/net/sundance.c +++ b/drivers/net/ethernet/dlink/sundance.c | |||