.. | .. |
---|
67 | 67 | { |
---|
68 | 68 | /* C14-9:3 -- We're at the end of the DR segment of path */ |
---|
69 | 69 | /* C14-9:4 -- Hop Pointer = Hop Count + 1 -> give to SMA/SM */ |
---|
70 | | - return ((device->process_mad && |
---|
| 70 | + return ((device->ops.process_mad && |
---|
71 | 71 | !ib_get_smp_direction(smp) && |
---|
72 | 72 | (smp->hop_ptr == smp->hop_cnt + 1)) ? |
---|
73 | 73 | IB_SMI_HANDLE : IB_SMI_DISCARD); |
---|
.. | .. |
---|
82 | 82 | { |
---|
83 | 83 | /* C14-13:3 -- We're at the end of the DR segment of path */ |
---|
84 | 84 | /* C14-13:4 -- Hop Pointer == 0 -> give to SM */ |
---|
85 | | - return ((device->process_mad && |
---|
| 85 | + return ((device->ops.process_mad && |
---|
86 | 86 | ib_get_smp_direction(smp) && |
---|
87 | 87 | !smp->hop_ptr) ? IB_SMI_HANDLE : IB_SMI_DISCARD); |
---|
88 | 88 | } |
---|