1. 18 3月, 2022 1 次提交
  2. 15 10月, 2021 1 次提交
  3. 20 3月, 2021 3 次提交
  4. 17 2月, 2021 3 次提交
  5. 06 11月, 2020 3 次提交
    • I
      net: phy: mscc: remove the use of .ack_interrupt() · 30446ae4
      Ioana Ciornei 提交于
      In preparation of removing the .ack_interrupt() callback, we must replace
      its occurrences (aka phy_clear_interrupt), from the 2 places where it is
      called from (phy_enable_interrupts and phy_disable_interrupts), with
      equivalent functionality.
      
      This means that clearing interrupts now becomes something that the PHY
      driver is responsible of doing, before enabling interrupts and after
      clearing them. Make this driver follow the new contract.
      
      Cc: Antoine Tenart <atenart@kernel.org>
      Signed-off-by: NIoana Ciornei <ioana.ciornei@nxp.com>
      Tested-by: Vladimir Oltean <olteanv@gmail.com> # VSC8514
      Signed-off-by: NJakub Kicinski <kuba@kernel.org>
      30446ae4
    • I
      net: phy: mscc: implement generic .handle_interrupt() callback · 4008f373
      Ioana Ciornei 提交于
      In an attempt to actually support shared IRQs in phylib, we now move the
      responsibility of triggering the phylib state machine or just returning
      IRQ_NONE, based on the IRQ status register, to the PHY driver. Having
      3 different IRQ handling callbacks (.handle_interrupt(),
      .did_interrupt() and .ack_interrupt() ) is confusing so let the PHY
      driver implement directly an IRQ handler like any other device driver.
      Make this driver follow the new convention.
      
      Also, remove the .did_interrupt() callback since it's not anymore used.
      Signed-off-by: NIoana Ciornei <ioana.ciornei@nxp.com>
      Tested-by: Vladimir Oltean <olteanv@gmail.com> # VSC8514
      Signed-off-by: NJakub Kicinski <kuba@kernel.org>
      4008f373
    • I
      net: phy: mscc: use phy_trigger_machine() to notify link change · f2e90604
      Ioana Ciornei 提交于
      According to the comment describing the phy_mac_interrupt() function, it
      it intended to be used by MAC drivers which have noticed a link change
      thus its use in the mscc PHY driver is improper and, most probably, was
      added just because phy_trigger_machine() was not exported.
      Now that we have acces to trigger the link state machine, use directly
      the phy_trigger_machine() function to notify a link change detected by
      the PHY driver.
      Signed-off-by: NIoana Ciornei <ioana.ciornei@nxp.com>
      Tested-by: NVladimir Oltean <olteanv@gmail.com>
      Signed-off-by: NJakub Kicinski <kuba@kernel.org>
      f2e90604
  6. 21 8月, 2020 1 次提交
  7. 26 6月, 2020 5 次提交
  8. 25 6月, 2020 3 次提交
  9. 06 6月, 2020 2 次提交
  10. 30 5月, 2020 1 次提交
  11. 24 5月, 2020 1 次提交
  12. 07 5月, 2020 1 次提交
  13. 21 4月, 2020 1 次提交
  14. 25 3月, 2020 1 次提交
  15. 24 3月, 2020 4 次提交
  16. 20 3月, 2020 3 次提交
  17. 18 3月, 2020 2 次提交
  18. 15 3月, 2020 2 次提交
  19. 02 3月, 2020 1 次提交
  20. 27 2月, 2020 1 次提交