diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-07-30 21:42:56 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-08-13 02:47:53 -0400 |
commit | cdd80bd4eece6109c15864e776b83c88c3bd891b (patch) | |
tree | abad5f1ca9e1dc8752e2f7b58f471fcbea28b9d5 /drivers | |
parent | 59ffb30f7d43d4db2b2be165037a1a29d2011cdb (diff) |
tile: Move the Tilera driver
Move the Tilera driver into drivers/net/ethernet/tile and
make the necessary Kconfig and Makefile changes.
Updated the Kconfig so that the options defualt to y if TILE kernel.
CC: Chris Metcalf <cmetcalf@tilera.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/Kconfig | 12 | ||||
-rw-r--r-- | drivers/net/Makefile | 2 | ||||
-rw-r--r-- | drivers/net/ethernet/Kconfig | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/Makefile | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/tile/Kconfig | 15 | ||||
-rw-r--r-- | drivers/net/ethernet/tile/Makefile (renamed from drivers/net/tile/Makefile) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/tile/tilepro.c (renamed from drivers/net/tile/tilepro.c) | 0 |
7 files changed, 17 insertions, 14 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index c83a1c0f0d45..3a1fd2c716c3 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -328,18 +328,6 @@ source "drivers/s390/net/Kconfig" | |||
328 | 328 | ||
329 | source "drivers/net/caif/Kconfig" | 329 | source "drivers/net/caif/Kconfig" |
330 | 330 | ||
331 | config TILE_NET | ||
332 | tristate "Tilera GBE/XGBE network driver support" | ||
333 | depends on TILE | ||
334 | default y | ||
335 | select CRC32 | ||
336 | help | ||
337 | This is a standard Linux network device driver for the | ||
338 | on-chip Tilera Gigabit Ethernet and XAUI interfaces. | ||
339 | |||
340 | To compile this driver as a module, choose M here: the module | ||
341 | will be called tile_net. | ||
342 | |||
343 | config XEN_NETDEV_FRONTEND | 331 | config XEN_NETDEV_FRONTEND |
344 | tristate "Xen network device frontend driver" | 332 | tristate "Xen network device frontend driver" |
345 | depends on XEN | 333 | depends on XEN |
diff --git a/drivers/net/Makefile b/drivers/net/Makefile index 620abd76e0b5..fcc62e603a28 100644 --- a/drivers/net/Makefile +++ b/drivers/net/Makefile | |||
@@ -79,5 +79,3 @@ obj-$(CONFIG_VIRTIO_NET) += virtio_net.o | |||
79 | 79 | ||
80 | obj-$(CONFIG_WIMAX) += wimax/ | 80 | obj-$(CONFIG_WIMAX) += wimax/ |
81 | obj-$(CONFIG_CAIF) += caif/ | 81 | obj-$(CONFIG_CAIF) += caif/ |
82 | |||
83 | obj-$(CONFIG_TILE_NET) += tile/ | ||
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig index f011665546d3..cff6ef536063 100644 --- a/drivers/net/ethernet/Kconfig +++ b/drivers/net/ethernet/Kconfig | |||
@@ -156,6 +156,7 @@ source "drivers/net/ethernet/stmicro/Kconfig" | |||
156 | source "drivers/net/ethernet/sun/Kconfig" | 156 | source "drivers/net/ethernet/sun/Kconfig" |
157 | source "drivers/net/ethernet/tehuti/Kconfig" | 157 | source "drivers/net/ethernet/tehuti/Kconfig" |
158 | source "drivers/net/ethernet/ti/Kconfig" | 158 | source "drivers/net/ethernet/ti/Kconfig" |
159 | source "drivers/net/ethernet/tile/Kconfig" | ||
159 | source "drivers/net/ethernet/toshiba/Kconfig" | 160 | source "drivers/net/ethernet/toshiba/Kconfig" |
160 | source "drivers/net/ethernet/tundra/Kconfig" | 161 | source "drivers/net/ethernet/tundra/Kconfig" |
161 | source "drivers/net/ethernet/via/Kconfig" | 162 | source "drivers/net/ethernet/via/Kconfig" |
diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile index 7f3b73ca4288..986def799cf6 100644 --- a/drivers/net/ethernet/Makefile +++ b/drivers/net/ethernet/Makefile | |||
@@ -65,6 +65,7 @@ obj-$(CONFIG_NET_VENDOR_STMICRO) += stmicro/ | |||
65 | obj-$(CONFIG_NET_VENDOR_SUN) += sun/ | 65 | obj-$(CONFIG_NET_VENDOR_SUN) += sun/ |
66 | obj-$(CONFIG_NET_VENDOR_TEHUTI) += tehuti/ | 66 | obj-$(CONFIG_NET_VENDOR_TEHUTI) += tehuti/ |
67 | obj-$(CONFIG_NET_VENDOR_TI) += ti/ | 67 | obj-$(CONFIG_NET_VENDOR_TI) += ti/ |
68 | obj-$(CONFIG_TILE_NET) += tile/ | ||
68 | obj-$(CONFIG_NET_VENDOR_TOSHIBA) += toshiba/ | 69 | obj-$(CONFIG_NET_VENDOR_TOSHIBA) += toshiba/ |
69 | obj-$(CONFIG_NET_VENDOR_TUNDRA) += tundra/ | 70 | obj-$(CONFIG_NET_VENDOR_TUNDRA) += tundra/ |
70 | obj-$(CONFIG_NET_VENDOR_VIA) += via/ | 71 | obj-$(CONFIG_NET_VENDOR_VIA) += via/ |
diff --git a/drivers/net/ethernet/tile/Kconfig b/drivers/net/ethernet/tile/Kconfig new file mode 100644 index 000000000000..2d9218f86bca --- /dev/null +++ b/drivers/net/ethernet/tile/Kconfig | |||
@@ -0,0 +1,15 @@ | |||
1 | # | ||
2 | # Tilera network device configuration | ||
3 | # | ||
4 | |||
5 | config TILE_NET | ||
6 | tristate "Tilera GBE/XGBE network driver support" | ||
7 | depends on TILE | ||
8 | default y | ||
9 | select CRC32 | ||
10 | ---help--- | ||
11 | This is a standard Linux network device driver for the | ||
12 | on-chip Tilera Gigabit Ethernet and XAUI interfaces. | ||
13 | |||
14 | To compile this driver as a module, choose M here: the module | ||
15 | will be called tile_net. | ||
diff --git a/drivers/net/tile/Makefile b/drivers/net/ethernet/tile/Makefile index f634f142cab4..f634f142cab4 100644 --- a/drivers/net/tile/Makefile +++ b/drivers/net/ethernet/tile/Makefile | |||
diff --git a/drivers/net/tile/tilepro.c b/drivers/net/ethernet/tile/tilepro.c index 1e2af96fc29c..1e2af96fc29c 100644 --- a/drivers/net/tile/tilepro.c +++ b/drivers/net/ethernet/tile/tilepro.c | |||