1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
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)
|