-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moves the Mellanox driver into drivers/net/ethernet/mellanox/ and make the necessary Kconfig and Makefile changes. CC: Roland Dreier <roland@kernel.org> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
- Loading branch information
Jeff Kirsher
committed
Aug 11, 2011
1 parent
f844a0e
commit 5a2cc19
Showing
40 changed files
with
56 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# | ||
# Mellanox driver configuration | ||
# | ||
|
||
config NET_VENDOR_MELLANOX | ||
bool "Mellanox devices" | ||
depends on PCI && INET | ||
---help--- | ||
If you have a network (Ethernet) card belonging to this class, say Y | ||
and read the Ethernet-HOWTO, available from | ||
<http://www.tldp.org/docs.html#howto>. | ||
|
||
Note that the answer to this question doesn't directly affect the | ||
kernel: saying N will just cause the configurator to skip all | ||
the questions about Mellanox cards. If you say Y, you will be asked | ||
for your specific card in the following questions. | ||
|
||
if NET_VENDOR_MELLANOX | ||
|
||
source "drivers/net/ethernet/mellanox/mlx4/Kconfig" | ||
|
||
endif # NET_VENDOR_MELLANOX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# | ||
# Makefile for the Mellanox device drivers. | ||
# | ||
|
||
obj-$(CONFIG_MLX4_CORE) += mlx4/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# | ||
# Mellanox driver configuration | ||
# | ||
|
||
config MLX4_EN | ||
tristate "Mellanox Technologies 10Gbit Ethernet support" | ||
depends on PCI && INET | ||
select MLX4_CORE | ||
select INET_LRO | ||
---help--- | ||
This driver supports Mellanox Technologies ConnectX Ethernet | ||
devices. | ||
|
||
config MLX4_CORE | ||
tristate | ||
depends on PCI | ||
default n | ||
|
||
config MLX4_DEBUG | ||
bool "Verbose debugging output" if (MLX4_CORE && EXPERT) | ||
depends on MLX4_CORE | ||
default y | ||
---help--- | ||
This option causes debugging code to be compiled into the | ||
mlx4_core driver. The output can be turned on via the | ||
debug_level module parameter (which can also be set after | ||
the driver is loaded through sysfs). |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.