## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
-## along with this program; if not, write to the Free Software
-## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+## along with this program; if not, see <http://www.gnu.org/licenses/>.
##
'''
-XFP I2C management interface structure decoder.
+This PD decodes the XFP I²C management interface structures/protocol.
-XFP modules include an I2C interface, used to monitor and control various
-aspects of the module. The specification defines an I2C slave at address
+XFP modules include an I²C interface, used to monitor and control various
+aspects of the module. The specification defines an I²C slave at address
0x50 (0xa0) which returns 128 bytes of a standard structure ("lower memory"),
and, after setting a table number in lower memory, a set of 256 "higher
memory" tables, which can be mapped to different subdevices on the XFP.
available for vendor-specific extensions. This decoder supports both lower
memory and table 0x01.
-The XFP specification is available here:
-
- ftp://ftp.seagate.com/sff/INF-8077.PDF
+Details:
+ftp://ftp.seagate.com/sff/INF-8077.PDF (XFP specification)
'''
-from .pd import *
-
+from .pd import Decoder