forked from torvalds/linux
-
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.
platform/x86: Move Mellanox platform hotplug driver to platform/mellanox
In preparation for making the hotplug driver build for different architectures, move mlxcpld-hotplug.c to platform/mellanox and the header to include/linux/platform_data as mlxreg.h to reflect the new interface changes to come. Replace references to CPLD with REG throughout the files, consistent with the new name. Signed-off-by: Vadim Pasternak <[email protected]> Acked-by: Andy Shevchenko <[email protected]> [dvhart: update copyright, rewrite commit message] Signed-off-by: Darren Hart (VMware) <[email protected]>
- Loading branch information
1 parent
d6fa758
commit 1f976f6
Showing
10 changed files
with
170 additions
and
146 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8860,12 +8860,13 @@ W: http://www.mellanox.com | |
Q: http://patchwork.ozlabs.org/project/netdev/list/ | ||
F: drivers/net/ethernet/mellanox/mlxfw/ | ||
|
||
MELLANOX MLX CPLD HOTPLUG DRIVER | ||
MELLANOX HARDWARE PLATFORM SUPPORT | ||
M: Andy Shevchenko <[email protected]> | ||
M: Darren Hart <[email protected]> | ||
M: Vadim Pasternak <[email protected]> | ||
L: [email protected] | ||
S: Supported | ||
F: drivers/platform/x86/mlxcpld-hotplug.c | ||
F: include/linux/platform_data/mlxcpld-hotplug.h | ||
F: drivers/platform/mellanox/ | ||
|
||
MELLANOX MLX4 core VPI driver | ||
M: Tariq Toukan <[email protected]> | ||
|
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,25 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
# | ||
# Platform support for Mellanox hardware | ||
# | ||
|
||
menuconfig MELLANOX_PLATFORM | ||
bool "Platform support for Mellanox hardware" | ||
depends on X86 || COMPILE_TEST | ||
---help--- | ||
Say Y here to get to see options for platform support for | ||
Mellanox systems. This option alone does not add any kernel code. | ||
|
||
If you say N, all options in this submenu will be skipped and disabled. | ||
|
||
if MELLANOX_PLATFORM | ||
|
||
config MLXREG_HOTPLUG | ||
tristate "Mellanox platform hotplug driver support" | ||
depends on HWMON | ||
depends on I2C | ||
---help--- | ||
This driver handles hot-plug events for the power suppliers, power | ||
cables and fans on the wide range Mellanox IB and Ethernet systems. | ||
|
||
endif # MELLANOX_PLATFORM |
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,6 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
# | ||
# Makefile for linux/drivers/platform/mellanox | ||
# Mellanox Platform-Specific Drivers | ||
# | ||
obj-$(CONFIG_MLXREG_HOTPLUG) += mlxreg-hotplug.o |
Oops, something went wrong.