aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-07-24 05:13:24 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-08-12 15:39:02 -0400
commit9bba23b0ae933a143f8ea89e59c6becf0c1c1d1e (patch)
tree128d489d1e14d3e422fe74845eb4e211b3993272 /drivers/net
parent69b4b0952b7ef0bf9048723aa8f4ec3fd47d1fc9 (diff)
starfire: Move the Adaptec driver
Move the Adaptec driver into drivers/net/ethernet/adaptec/ and make the necessary Kconfig and Makefile changes. CC: Ion Badulescu <ionut@badula.org> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/Kconfig14
-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/adaptec/Kconfig34
-rw-r--r--drivers/net/ethernet/adaptec/Makefile5
-rw-r--r--drivers/net/ethernet/adaptec/starfire.c (renamed from drivers/net/starfire.c)0
7 files changed, 41 insertions, 15 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index c7953adc290d..e6e10a475df3 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -345,20 +345,6 @@ config NET_PCI
345 will be asked for your specific card in the following questions. If 345 will be asked for your specific card in the following questions. If
346 you are unsure, say Y. 346 you are unsure, say Y.
347 347
348config ADAPTEC_STARFIRE
349 tristate "Adaptec Starfire/DuraLAN support"
350 depends on NET_PCI && PCI
351 select CRC32
352 select MII
353 help
354 Say Y here if you have an Adaptec Starfire (or DuraLAN) PCI network
355 adapter. The DuraLAN chip is used on the 64 bit PCI boards from
356 Adaptec e.g. the ANA-6922A. The older 32 bit boards use the tulip
357 driver.
358
359 To compile this driver as a module, choose M here: the module
360 will be called starfire. This is recommended.
361
362config NET_POCKET 348config NET_POCKET
363 bool "Pocket and portable adapters" 349 bool "Pocket and portable adapters"
364 depends on PARPORT 350 depends on PARPORT
diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index 4d5af1590576..670e17526b5f 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -17,7 +17,6 @@ obj-$(CONFIG_PLIP) += plip.o
17obj-$(CONFIG_ROADRUNNER) += rrunner.o 17obj-$(CONFIG_ROADRUNNER) += rrunner.o
18 18
19obj-$(CONFIG_SKFP) += skfp/ 19obj-$(CONFIG_SKFP) += skfp/
20obj-$(CONFIG_ADAPTEC_STARFIRE) += starfire.o
21obj-$(CONFIG_RIONET) += rionet.o 20obj-$(CONFIG_RIONET) += rionet.o
22obj-$(CONFIG_SH_ETH) += sh_eth.o 21obj-$(CONFIG_SH_ETH) += sh_eth.o
23 22
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig
index 1de8edcdef4b..8cd38c91d549 100644
--- a/drivers/net/ethernet/Kconfig
+++ b/drivers/net/ethernet/Kconfig
@@ -12,6 +12,7 @@ menuconfig ETHERNET
12if ETHERNET 12if ETHERNET
13 13
14source "drivers/net/ethernet/3com/Kconfig" 14source "drivers/net/ethernet/3com/Kconfig"
15source "drivers/net/ethernet/adaptec/Kconfig"
15source "drivers/net/ethernet/amd/Kconfig" 16source "drivers/net/ethernet/amd/Kconfig"
16source "drivers/net/ethernet/apple/Kconfig" 17source "drivers/net/ethernet/apple/Kconfig"
17source "drivers/net/ethernet/atheros/Kconfig" 18source "drivers/net/ethernet/atheros/Kconfig"
diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile
index 3d5ed1fef54a..50e040c847d6 100644
--- a/drivers/net/ethernet/Makefile
+++ b/drivers/net/ethernet/Makefile
@@ -4,6 +4,7 @@
4 4
5obj-$(CONFIG_NET_VENDOR_3COM) += 3com/ 5obj-$(CONFIG_NET_VENDOR_3COM) += 3com/
6obj-$(CONFIG_NET_VENDOR_8390) += 8390/ 6obj-$(CONFIG_NET_VENDOR_8390) += 8390/
7obj-$(CONFIG_NET_VENDOR_ADAPTEC) += adaptec/
7obj-$(CONFIG_NET_VENDOR_AMD) += amd/ 8obj-$(CONFIG_NET_VENDOR_AMD) += amd/
8obj-$(CONFIG_NET_VENDOR_APPLE) += apple/ 9obj-$(CONFIG_NET_VENDOR_APPLE) += apple/
9obj-$(CONFIG_NET_VENDOR_ATHEROS) += atheros/ 10obj-$(CONFIG_NET_VENDOR_ATHEROS) += atheros/
diff --git a/drivers/net/ethernet/adaptec/Kconfig b/drivers/net/ethernet/adaptec/Kconfig
new file mode 100644
index 000000000000..5e9dbe9817fd
--- /dev/null
+++ b/drivers/net/ethernet/adaptec/Kconfig
@@ -0,0 +1,34 @@
1#
2# Adaptec network device configuration
3#
4
5config NET_VENDOR_ADAPTEC
6 bool "Adaptec devices"
7 depends on PCI
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 Adaptec cards. If you say Y, you will be asked for
16 your specific card in the following questions.
17
18if NET_VENDOR_ADAPTEC
19
20config ADAPTEC_STARFIRE
21 tristate "Adaptec Starfire/DuraLAN support"
22 depends on PCI
23 select CRC32
24 select MII
25 ---help---
26 Say Y here if you have an Adaptec Starfire (or DuraLAN) PCI network
27 adapter. The DuraLAN chip is used on the 64 bit PCI boards from
28 Adaptec e.g. the ANA-6922A. The older 32 bit boards use the tulip
29 driver.
30
31 To compile this driver as a module, choose M here: the module
32 will be called starfire. This is recommended.
33
34endif # NET_VENDOR_ADAPTEC
diff --git a/drivers/net/ethernet/adaptec/Makefile b/drivers/net/ethernet/adaptec/Makefile
new file mode 100644
index 000000000000..6c07b758ac0a
--- /dev/null
+++ b/drivers/net/ethernet/adaptec/Makefile
@@ -0,0 +1,5 @@
1#
2# Makefile for the Adaptec network device drivers.
3#
4
5obj-$(CONFIG_ADAPTEC_STARFIRE) += starfire.o
diff --git a/drivers/net/starfire.c b/drivers/net/ethernet/adaptec/starfire.c
index 7ae1f990a98e..7ae1f990a98e 100644
--- a/drivers/net/starfire.c
+++ b/drivers/net/ethernet/adaptec/starfire.c