| 161 | } |
| 162 | |
| 163 | void |
| 164 | ionic_dev_cmd_port_autoneg(struct ionic_dev *idev, uint8_t an_enable) |
| 165 | { |
| 166 | union ionic_dev_cmd cmd = { |
| 167 | .port_setattr.opcode = IONIC_CMD_PORT_SETATTR, |
| 168 | .port_setattr.index = 0, |
| 169 | .port_setattr.attr = IONIC_PORT_ATTR_AUTONEG, |
| 170 | .port_setattr.an_enable = an_enable, |
| 171 | }; |
| 172 | |
| 173 | ionic_dev_cmd_go(idev, &cmd); |
| 174 | } |
| 175 | |
| 176 | void |
| 177 | ionic_dev_cmd_port_fec(struct ionic_dev *idev, uint8_t fec_type) |
no test coverage detected