]> git.baikalelectronics.ru Git - kernel.git/commit
ntb_hw_switchtec: Make switchtec_ntb_init_req_id_table() more general
authorLogan Gunthorpe <logang@deltatee.com>
Wed, 29 Nov 2017 17:55:27 +0000 (10:55 -0700)
committerJon Mason <jdmason@kudzu.us>
Mon, 29 Jan 2018 03:17:23 +0000 (22:17 -0500)
commitf954cca62110cdcf81a3a73b6232fb6729767a32
tree363d68cf3b3e04afe85890d119ee73016a6ea216
parent6e20a6e7818ba0b37c5bcbc91413e13fa36cd477
ntb_hw_switchtec: Make switchtec_ntb_init_req_id_table() more general

This is a prep patch in order to support the crosslink feature which
will require the driver to setup the requester ID table in another
partition as well as it's own. To aid this, create a helper function
which sets up the requester IDs from an array.

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/hw/mscc/ntb_hw_switchtec.c