MCPcopy Create free account
hub / github.com/F-Stack/f-stack / igb_hw_control_release

Function igb_hw_control_release

dpdk/drivers/net/e1000/igb_ethdev.c:2486–2495  ·  view source on GitHub ↗

* igb_hw_control_release resets CTRL_EXT:DRV_LOAD bit. * For ASF and Pass Through versions of f/w this means that the * driver is no longer loaded. */

Source from the content-addressed store, hash-verified

2484 * driver is no longer loaded.
2485 */
2486static void
2487igb_hw_control_release(struct e1000_hw *hw)
2488{
2489 uint32_t ctrl_ext;
2490
2491 /* Let firmware taken over control of h/w */
2492 ctrl_ext = E1000_READ_REG(hw, E1000_CTRL_EXT);
2493 E1000_WRITE_REG(hw, E1000_CTRL_EXT,
2494 ctrl_ext & ~E1000_CTRL_EXT_DRV_LOAD);
2495}
2496
2497/*
2498 * Bit of a misnomer, what this really means is

Callers 2

eth_igb_dev_initFunction · 0.85
eth_igb_closeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected