net: dsa: microchip: ksz9477: enable interrupt for internal phy link detection
Status from this message: This series was applied to netdev/net-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest6 patches 3 repliesApplied 6/6
- v36 patches 1 replySuperseded
- v25 patches 2 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 5 patches | 2 replies | Superseded |
Changes in v4 from the cover letter
- Rebased the code to latest net-next
Patches in v4 All 6 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | net: dsa: microchip: determine number of port irq based on switch typedrivers/ drivers/ drivers/ | +12 | 0 replies | Applied |
| 2/6 | net: dsa: microchip: enable phy interrupts only if interrupt enabled in dtsdrivers/ | +8 | 0 replies | Applied |
| 3/6 | net: dsa: microchip: lan937x: return zero if mdio node not presentdrivers/ | +2 | 1 reply | Applied |
| 4/6 | net: dsa: microchip: move interrupt handling logic from lan937x to ksz_commondrivers/ drivers/ drivers/ | +433 | 2 replies | Applied |
| 5/6 | net: dsa: microchip: use common irq routines for girq and pirqdrivers/ drivers/ | +81 | 0 replies | Applied |
| 6/6 | net: phy: micrel: enable interrupt for ksz9477 phydrivers/ | +2 | 0 replies | Applied |
Reviews trailers per patch
5 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Andrew Lunn |
|---|---|
| 1/6 | R-b |
| 2/6 | R-b |
| 3/6 | R-b |
| 4/6 | R-b R-b |
| 5/6 | |
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Patch net-next v4 0/6] net: dsa: microchip: ksz9477: enable interrupt for internal phy link detection
This patch series implements the common interrupt handling for ksz9477 based switches and lan937x. The ksz9477 and lan937x has similar interrupt registers except ksz9477 has 4 port based interrupts whereas lan937x has 6 interrupts. The patch moves the phy interrupt hanler implemented in lan937x_main.c to ksz_common.c, along with the mdio_register functionality.
v3 -> v4
- Rebased the code to latest net-next
v2 -> v3
- Added the common interrupt routines for girq and pirq
v1 -> v2
- Added the .port_nirqs = 2 for ksz9896
Changes in RFC -> v1
- modified the return -ENODEV to 0 if mdio node not present
Arun Ramadoss (6):
net: dsa: microchip: determine number of port irq based on switch type
net: dsa: microchip: enable phy interrupts only if interrupt enabled
in dts
net: dsa: microchip: lan937x: return zero if mdio node not present
net: dsa: microchip: move interrupt handling logic from lan937x to
ksz_common
net: dsa: microchip: use common irq routines for girq and pirq
net: phy: micrel: enable interrupt for ksz9477 phy
drivers/net/dsa/microchip/ksz_common.c | 320 +++++++++++++++++ drivers/net/dsa/microchip/ksz_common.h | 15 +- drivers/net/dsa/microchip/lan937x_main.c | 427 ----------------------- drivers/net/phy/micrel.c | 2 + 4 files changed, 336 insertions(+), 428 deletions(-)
base-commit: 7a5d48c4463e6ef896ea2190a97d9e90b37c38da
Signature · 1 line
2.36.1