forked from Freescale/linux-fslc
-
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.
NTB: Split ntb_hw_intel and ntb_transport drivers
Change ntb_hw_intel to use the new NTB hardware abstraction layer. Split ntb_transport into its own driver. Change it to use the new NTB hardware abstraction layer. Signed-off-by: Allen Hubbe <Allen.Hubbe@emc.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
- Loading branch information
Showing
13 changed files
with
2,589 additions
and
2,195 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,26 @@ | ||
config NTB | ||
tristate "Intel Non-Transparent Bridge support" | ||
depends on PCI | ||
depends on X86 | ||
help | ||
The PCI-E Non-transparent bridge hardware is a point-to-point PCI-E bus | ||
connecting 2 systems. When configured, writes to the device's PCI | ||
mapped memory will be mirrored to a buffer on the remote system. The | ||
ntb Linux driver uses this point-to-point communication as a method to | ||
transfer data from one system to the other. | ||
|
||
If unsure, say N. | ||
menuconfig NTB | ||
tristate "Non-Transparent Bridge support" | ||
depends on PCI | ||
help | ||
The PCI-E Non-transparent bridge hardware is a point-to-point PCI-E bus | ||
connecting 2 systems. When configured, writes to the device's PCI | ||
mapped memory will be mirrored to a buffer on the remote system. The | ||
ntb Linux driver uses this point-to-point communication as a method to | ||
transfer data from one system to the other. | ||
|
||
If unsure, say N. | ||
|
||
if NTB | ||
|
||
source "drivers/ntb/hw/Kconfig" | ||
|
||
config NTB_TRANSPORT | ||
tristate "NTB Transport Client" | ||
help | ||
This is a transport driver that enables connected systems to exchange | ||
messages over the ntb hardware. The transport exposes a queue pair api | ||
to client drivers. | ||
|
||
If unsure, say N. | ||
|
||
endif # NTB |
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 |
---|---|---|
@@ -1,4 +1,2 @@ | ||
obj-$(CONFIG_NTB) += ntb.o | ||
obj-$(CONFIG_NTB) += ntb_hw_intel.o | ||
|
||
ntb_hw_intel-objs := hw/intel/ntb_hw_intel.o ntb_transport.o | ||
obj-$(CONFIG_NTB) += ntb.o hw/ | ||
obj-$(CONFIG_NTB_TRANSPORT) += ntb_transport.o |
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 @@ | ||
source "drivers/ntb/hw/intel/Kconfig" |
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 @@ | ||
obj-$(CONFIG_NTB_INTEL) += intel/ |
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,7 @@ | ||
config NTB_INTEL | ||
tristate "Intel Non-Transparent Bridge support" | ||
depends on X86_64 | ||
help | ||
This driver supports Intel NTB on capable Xeon and Atom hardware. | ||
|
||
If unsure, say N. |
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 @@ | ||
obj-$(CONFIG_NTB_INTEL) += ntb_hw_intel.o |
Oops, something went wrong.