mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
rapidio/tsi721: modify mport name assignment
Modify RapidIO mport device name assignment to include device name of PCIe side of Tsi721 bridge. The new name format is intended to provide definitive reference between RapidIO and PCIe sides of the bridge in systems with multiple Tsi721 bridges. Signed-off-by: Alexandre Bounine <[email protected]> Cc: Matt Porter <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
7c4a6106d6
commit
ed43f44f86
2 changed files with 4 additions and 2 deletions
|
|
@ -2165,7 +2165,8 @@ static int __devinit tsi721_setup_mport(struct tsi721_device *priv)
|
|||
rio_init_dbell_res(&mport->riores[RIO_DOORBELL_RESOURCE], 0, 0xffff);
|
||||
rio_init_mbox_res(&mport->riores[RIO_INB_MBOX_RESOURCE], 0, 3);
|
||||
rio_init_mbox_res(&mport->riores[RIO_OUTB_MBOX_RESOURCE], 0, 3);
|
||||
strcpy(mport->name, "Tsi721 mport");
|
||||
snprintf(mport->name, RIO_MAX_MPORT_NAME, "%s(%s)",
|
||||
dev_driver_string(&pdev->dev), dev_name(&pdev->dev));
|
||||
|
||||
/* Hook up interrupt handler */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue