* t4_fw_bye - end communication with FW * @adap: the adapter * @mbox: mailbox to use for the FW command * * Issues a command to terminate communication with FW. */
| 3337 | * Issues a command to terminate communication with FW. |
| 3338 | */ |
| 3339 | int t4_fw_bye(struct adapter *adap, unsigned int mbox) |
| 3340 | { |
| 3341 | struct fw_bye_cmd c; |
| 3342 | |
| 3343 | memset(&c, 0, sizeof(c)); |
| 3344 | INIT_CMD(c, BYE, WRITE); |
| 3345 | return t4_wr_mbox(adap, mbox, &c, sizeof(c), NULL); |
| 3346 | } |
| 3347 | |
| 3348 | /** |
| 3349 | * t4_fw_reset - issue a reset to FW |
no test coverage detected