.. | .. |
---|
68 | 68 | * |
---|
69 | 69 | * Returns Link state |
---|
70 | 70 | */ |
---|
71 | | -extern cvmx_helper_link_info_t __cvmx_helper_sgmii_link_get(int ipd_port); |
---|
| 71 | +extern union cvmx_helper_link_info __cvmx_helper_sgmii_link_get(int ipd_port); |
---|
72 | 72 | |
---|
73 | 73 | /** |
---|
74 | 74 | * Configure an IPD/PKO port for the specified link state. This |
---|
.. | .. |
---|
82 | 82 | * Returns Zero on success, negative on failure |
---|
83 | 83 | */ |
---|
84 | 84 | extern int __cvmx_helper_sgmii_link_set(int ipd_port, |
---|
85 | | - cvmx_helper_link_info_t link_info); |
---|
86 | | - |
---|
87 | | -/** |
---|
88 | | - * Configure a port for internal and/or external loopback. Internal loopback |
---|
89 | | - * causes packets sent by the port to be received by Octeon. External loopback |
---|
90 | | - * causes packets received from the wire to sent out again. |
---|
91 | | - * |
---|
92 | | - * @ipd_port: IPD/PKO port to loopback. |
---|
93 | | - * @enable_internal: |
---|
94 | | - * Non zero if you want internal loopback |
---|
95 | | - * @enable_external: |
---|
96 | | - * Non zero if you want external loopback |
---|
97 | | - * |
---|
98 | | - * Returns Zero on success, negative on failure. |
---|
99 | | - */ |
---|
100 | | -extern int __cvmx_helper_sgmii_configure_loopback(int ipd_port, |
---|
101 | | - int enable_internal, |
---|
102 | | - int enable_external); |
---|
| 85 | + union cvmx_helper_link_info link_info); |
---|
103 | 86 | |
---|
104 | 87 | #endif |
---|