* igb_hw_control_acquire sets CTRL_EXT:DRV_LOAD bit. * For ASF and Pass Through versions of f/w this means * that the driver is loaded. */
| 2469 | * that the driver is loaded. |
| 2470 | */ |
| 2471 | static void |
| 2472 | igb_hw_control_acquire(struct e1000_hw *hw) |
| 2473 | { |
| 2474 | uint32_t ctrl_ext; |
| 2475 | |
| 2476 | /* Let firmware know the driver has taken over */ |
| 2477 | ctrl_ext = E1000_READ_REG(hw, E1000_CTRL_EXT); |
| 2478 | E1000_WRITE_REG(hw, E1000_CTRL_EXT, ctrl_ext | E1000_CTRL_EXT_DRV_LOAD); |
| 2479 | } |
| 2480 | |
| 2481 | /* |
| 2482 | * igb_hw_control_release resets CTRL_EXT:DRV_LOAD bit. |