* cxgb_up - enable the adapter * @adap: adapter being enabled * * Called when the first port is enabled, this function performs the * actions necessary to make an adapter operational, such as completing * the initialization of HW modules, and enabling interrupts. */
| 2096 | * the initialization of HW modules, and enabling interrupts. |
| 2097 | */ |
| 2098 | int cxgbe_up(struct adapter *adap) |
| 2099 | { |
| 2100 | enable_rx(adap, &adap->sge.fw_evtq); |
| 2101 | t4_sge_tx_monitor_start(adap); |
| 2102 | if (is_pf4(adap)) |
| 2103 | t4_intr_enable(adap); |
| 2104 | adap->flags |= FULL_INIT_DONE; |
| 2105 | |
| 2106 | /* TODO: deadman watchdog ?? */ |
| 2107 | return 0; |
| 2108 | } |
| 2109 | |
| 2110 | /* |
| 2111 | * Close the port |
no test coverage detected