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.
RapidIO: add mport driver for Tsi721 bridge
Add RapidIO mport driver for IDT TSI721 PCI Express-to-SRIO bridge device. The driver provides full set of callback functions defined for mport devices in RapidIO subsystem. It also is compatible with current version of RIONET driver (Ethernet over RapidIO messaging services). This patch is applicable to kernel versions starting from 2.6.39. Signed-off-by: Alexandre Bounine <[email protected]> Signed-off-by: Chul Kim <[email protected]> Cc: Kumar Gala <[email protected]> Cc: Matt Porter <[email protected]> Cc: Li Yang <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information
Showing
8 changed files
with
3,196 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
RapidIO subsystem mport driver for IDT Tsi721 PCI Express-to-SRIO bridge. | ||
========================================================================= | ||
|
||
I. Overview | ||
|
||
This driver implements all currently defined RapidIO mport callback functions. | ||
It supports maintenance read and write operations, inbound and outbound RapidIO | ||
doorbells, inbound maintenance port-writes and RapidIO messaging. | ||
|
||
To generate SRIO maintenance transactions this driver uses one of Tsi721 DMA | ||
channels. This mechanism provides access to larger range of hop counts and | ||
destination IDs without need for changes in outbound window translation. | ||
|
||
RapidIO messaging support uses dedicated messaging channels for each mailbox. | ||
For inbound messages this driver uses destination ID matching to forward messages | ||
into the corresponding message queue. Messaging callbacks are implemented to be | ||
fully compatible with RIONET driver (Ethernet over RapidIO messaging services). | ||
|
||
II. Known problems | ||
|
||
None. | ||
|
||
III. To do | ||
|
||
Add DMA data transfers (non-messaging). | ||
Add inbound region (SRIO-to-PCIe) mapping. | ||
|
||
IV. Version History | ||
|
||
1.0.0 - Initial driver release. | ||
|
||
V. License | ||
----------------------------------------------- | ||
|
||
Copyright(c) 2011 Integrated Device Technology, Inc. All rights reserved. | ||
|
||
This program is free software; you can redistribute it and/or modify it | ||
under the terms of the GNU General Public License as published by the Free | ||
Software Foundation; either version 2 of the License, or (at your option) | ||
any later version. | ||
|
||
This program is distributed in the hope that it will be useful, but WITHOUT | ||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
more details. | ||
|
||
You should have received a copy of the GNU General Public License along with | ||
this program; if not, write to the Free Software Foundation, Inc., | ||
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
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,10 @@ | ||
# | ||
# RapidIO master port configuration | ||
# | ||
|
||
config RAPIDIO_TSI721 | ||
bool "IDT Tsi721 PCI Express SRIO Controller support" | ||
depends on RAPIDIO && PCIEPORTBUS | ||
default "n" | ||
---help--- | ||
Include support for IDT Tsi721 PCI Express Serial RapidIO controller. |
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 RapidIO devices | ||
# | ||
|
||
obj-$(CONFIG_RAPIDIO_TSI721) += tsi721.o |
Oops, something went wrong.