summaryrefslogtreecommitdiff
path: root/parse_datasheet/gbe.py
diff options
context:
space:
mode:
Diffstat (limited to 'parse_datasheet/gbe.py')
-rw-r--r--parse_datasheet/gbe.py70
1 files changed, 70 insertions, 0 deletions
diff --git a/parse_datasheet/gbe.py b/parse_datasheet/gbe.py
new file mode 100644
index 0000000..d78ec31
--- /dev/null
+++ b/parse_datasheet/gbe.py
@@ -0,0 +1,70 @@
+from datasheet_tables import TE_Id, ProfileBase, register_profile
+
+
+class Gbe(ProfileBase):
+ name = "gbe"
+ min_page = 1438
+ max_page = 1548
+ te_table = {
+ (1458, TE_Id(text=u'ERR_INTBUS Triggers Internal Bus Error', top=358, left=136, width=148, height=8)):
+ [TE_Id(text=u'ERR_INTBUS', top=358, left=136, width=10, height=8),
+ TE_Id(text=u'Triggers Internal Bus Error', top=358, left=198, width=30, height=8)],
+ (1458, TE_Id(text=u'ERR_MCFSPF Triggers Special Packet Filter Parity Error', top=386, left=136, width=198, height=8)):
+ [TE_Id(text=u'ERR_MCFSPF', top=386, left=144, width=30, height=8),
+ TE_Id(text=u'Triggers Special Packet Filter Parity Error', top=386, left=198, width=30, height=8)],
+ (1459, TE_Id(text=u'ERR_INTBUS Enables Internal Bus Error', top=417, left=144, width=147, height=8)):
+ [TE_Id(text=u'ERR_INTBUS', top=417, left=144, width=30, height=8),
+ TE_Id(text=u'Enables Internal Bus Error', top=417, left=198, width=30, height=8)],
+ (1459, TE_Id(text=u'ERR_MCFSPF Enables Special Packet Filter Parity Error', top=445, left=144, width=197, height=8)):
+ [TE_Id(text=u'ERR_MCFSPF', top=445, left=144, width=30, height=8),
+ TE_Id(text=u'Enables Special Packet Filter Parity Error', top=445, left=198, width=30, height=8)],
+ (1460, TE_Id(text=u'ERR_INTBUS Clears the mask for Internal Bus Error', top=631, left=136, width=189, height=8)):
+ [TE_Id(text=u'ERR_INTBUS', top=631, left=144, width=30, height=8),
+ TE_Id(text=u'Clears the mask for Internal Bus Error', top=631, left=198, width=30, height=8)],
+ (1460, TE_Id(text=u'ERR_MCFSPF Clears the mask for the Filter Memory Errors', top=659, left=136, width=212, height=8)):
+ [TE_Id(text=u'ERR_MCFSPF', top=659, left=144, width=30, height=8),
+ TE_Id(text=u'Clears the mask for the Filter Memory Errors', top=659, left=198, width=30, height=8)],
+ (1464, TE_Id(text=u'ERR_INTBUS Triggers Internal Bus Error', top=634, left=136, width=148, height=8)):
+ [TE_Id(text=u'ERR_INTBUS', top=634, left=144, width=30, height=8),
+ TE_Id(text=u'Triggers Internal Bus Error', top=634, left=198, width=30, height=8)],
+ (1464, TE_Id(text=u'ERR_MCFSPF Triggers Special Packet Filter Parity Error', top=662, left=136, width=198, height=8)):
+ [TE_Id(text=u'ERR_MCFSPF', top=662, left=144, width=30, height=8),
+ TE_Id(text=u'Triggers Special Packet Filter Parity Error', top=662, left=198, width=30, height=8)],
+ (1466, TE_Id(text=u'ERR_INTBUS Enables Internal Bus Error', top=417, left=136, width=147, height=8)):
+ [TE_Id(text=u'ERR_INTBUS', top=417, left=144, width=30, height=8),
+ TE_Id(text=u'Enables Internal Bus Error', top=417, left=198, width=30, height=8)],
+ (1466, TE_Id(text=u'ERR_MCFSPF Enables Special Packet Filter Parity Error', top=445, left=136, width=197, height=8)):
+ [TE_Id(text=u'ERR_MCFSPF', top=445, left=144, width=30, height=8),
+ TE_Id(text=u'Enables Special Packet Filter Parity Error', top=445, left=198, width=30, height=8)],
+ (1467, TE_Id(text=u'ERR_INTBUS Clears the mask for Internal Bus Error', top=643, left=144, width=189, height=8)):
+ [TE_Id(text=u'ERR_INTBUS', top=643, left=144, width=30, height=8),
+ TE_Id(text=u'Clears the mask for Internal Bus Error', top=643, left=198, width=30, height=8)],
+ (1467, TE_Id(text=u'ERR_MCFSPF Clears the mask for the Filter Memory Errors', top=671, left=144, width=212, height=8)):
+ [TE_Id(text=u'ERR_MCFSPF', top=671, left=144, width=30, height=8),
+ TE_Id(text=u'Clears the mask for the Filter Memory Errors', top=671, left=198, width=30, height=8)],
+ (1471, TE_Id(text=u'ERR_INTBUS Triggers Internal Bus Error', top=358, left=144, width=148, height=8)):
+ [TE_Id(text=u'ERR_INTBUS', top=358, left=144, width=30, height=8),
+ TE_Id(text=u'Triggers Internal Bus Error', top=358, left=198, width=30, height=8)],
+ (1471, TE_Id(text=u'ERR_MCFSPF Triggers Special Packet Filter Parity Error', top=386, left=144, width=198, height=8)):
+ [TE_Id(text=u'ERR_MCFSPF', top=386, left=144, width=30, height=8),
+ TE_Id(text=u'Triggers Special Packet Filter Parity Error', top=386, left=198, width=30, height=8)],
+ (1472, TE_Id(text=u'ERR_INTBUS Enables Internal Bus Error', top=417, left=136, width=147, height=8)):
+ [TE_Id(text=u'ERR_INTBUS', top=417, left=144, width=30, height=8),
+ TE_Id(text=u'Enables Internal Bus Error', top=417, left=198, width=30, height=8)],
+ (1472, TE_Id(text=u'ERR_MCFSPF Enables Special Packet Filter Parity Error', top=445, left=136, width=197, height=8)):
+ [TE_Id(text=u'ERR_MCFSPF', top=445, left=144, width=30, height=8),
+ TE_Id(text=u'Enables Special Packet Filter Parity Error', top=445, left=198, width=30, height=8)],
+ (1473, TE_Id(text=u'ERR_INTBUS Clears the mask for Internal Bus Error', top=388, left=144, width=189, height=8)):
+ [TE_Id(text=u'ERR_INTBUS', top=388, left=144, width=30, height=8),
+ TE_Id(text=u'Clears the mask for Internal Bus Error', top=388, left=198, width=30, height=8)],
+ (1490, TE_Id(text=u'VLAN_Vector 32b vector of VLAN filter table information.', top=353, left=134, width=204, height=8)):
+ [TE_Id(text=u'VLAN_Vector', top=353, left=134, width=30, height=8),
+ TE_Id(text=u'VLAN_Vector 32b vector of VLAN filter table information.', top=353, left=198, width=30, height=8)],
+ }
+ def special_replace(self, ps, te):
+ return self.special_te_mapper(ps, te, self.te_table)
+ def post_fix(self, a_t):
+ a_t.auto_tables_offset()
+
+
+register_profile(Gbe)