aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fsi.h
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2017-06-06 16:08:44 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-09 11:52:08 +0200
commitf7ade2a603cfd205a6d7afb9d96ac7975f666dd6 (patch)
treea8baf323d6c60a549c32d914ade4a61947ee0181 /include/linux/fsi.h
parentdrivers/fsi: Set slave SMODE to init communication (diff)
downloadlinux-dev-f7ade2a603cfd205a6d7afb9d96ac7975f666dd6.tar.xz
linux-dev-f7ade2a603cfd205a6d7afb9d96ac7975f666dd6.zip
drivers/fsi: scan slaves & register devices
Now that we have fsi_slave devices, scan each for endpoints, and register them on the fsi bus. Includes contributions from Christopher Bostic <cbostic@linux.vnet.ibm.com>. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Christopher Bostic <cbostic@linux.vnet.ibm.com> Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/fsi.h')
-rw-r--r--include/linux/fsi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/fsi.h b/include/linux/fsi.h
index 273cbf6400ea..efa55ba6cb39 100644
--- a/include/linux/fsi.h
+++ b/include/linux/fsi.h
@@ -21,6 +21,10 @@ struct fsi_device {
struct device dev;
u8 engine_type;
u8 version;
+ u8 unit;
+ struct fsi_slave *slave;
+ uint32_t addr;
+ uint32_t size;
};
struct fsi_device_id {