diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2015-06-23 14:25:57 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-07-06 17:06:54 +1000 |
commit | 194bbe6f0038899a8468c1d11f3bec6489d95f44 (patch) | |
tree | b4de8b3a1555a3c823bd93bf8c7650dc3590600c /include | |
parent | f9e92f3714a85aa2ea1681cfb52879e30c5c6618 (diff) | |
download | skiboot-194bbe6f0038899a8468c1d11f3bec6489d95f44.zip skiboot-194bbe6f0038899a8468c1d11f3bec6489d95f44.tar.gz skiboot-194bbe6f0038899a8468c1d11f3bec6489d95f44.tar.bz2 |
fsi-master: Refactor the driver
Move the various base addresses etc... in a per-instance struct mfsi
which simplifies the code and will make it easier to add subsequent
error handling improvements.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/chip.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/chip.h b/include/chip.h index 654d2e0..5951ef0 100644 --- a/include/chip.h +++ b/include/chip.h @@ -79,6 +79,7 @@ struct dt_node; struct centaur_chip; +struct mfsi; /* Chip type */ enum proc_chip_type { @@ -162,6 +163,9 @@ struct proc_chip { /* Used by hw/psi.c */ struct psi *psi; + + /* Used by hw/fsi-master.c */ + struct mfsi *fsi_masters; }; extern uint32_t pir_to_chip_id(uint32_t pir); |