Skip to content

Commit

Permalink
net: ethernet: stmicro: stmmac: generate stmmac dma conf before open
Browse files Browse the repository at this point in the history
Rework the driver to generate the stmmac dma_conf before stmmac_open.
This permits a function to first check if it's possible to allocate a
new dma_config and then pass it directly to __stmmac_open and "open" the
interface with the new configuration.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  • Loading branch information
Christian Marangi authored and Jakub Kicinski committed Jul 26, 2022
1 parent 8531c80 commit ba39b34
Showing 1 changed file with 289 additions and 173 deletions.
Loading

0 comments on commit ba39b34

Please sign in to comment.