Source
* The hub is controlled by a set of control registers exposed as a regular fsi
/*
* FSI hub master driver
*
* Copyright (C) IBM Corporation 2016
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* 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.
*/
/* Control Registers */
/* R/W: mode */
/* R/W: delay */
/* R/W: clock rate */
/* R/W: enable */
/* R: plug detect */
/* S: Set enable */
/* C: Clear enable */
/* R: Error address */
/* R: master version/type */
/* W: Port reset */
/* R: Master error status */
/* W: Reset bridge */
/* W: Error control */
/* MMODE: Mode control */
/* Enable interrupt polling */
/* Enable error recovery */
/* Enable parity checking */
/* Timeout value LSB */
/* MSB=1, LSB=0 is 0.8 ms */
/* MSB=0, LSB=1 is 0.9 ms */
/* Clk rate selection 0 shift */
/* Clk rate selection 0 mask */
/* Clk rate selection 1 shift */
/* Clk rate selection 1 mask */
/* MRESB: Reset brindge */
/* General reset */
/* Error Reset */
/* MRESB: Reset port */
/* Reset all FSI masters */
/* Reset all FSI port contr. */
/* Reset FSI master reg. */
/* Reset FSI parity error */
/* Reset any error */
/* MECTRL: Error control */
/* Enable machine check when */