Skip to content
Commit 7e20be28 authored by Teoh Ji Sheng's avatar Teoh Ji Sheng Committed by Liwei Song
Browse files

HSD #15012986938: net: stmmac: Make MSI interrupt routine generic

commit 90ab08cba61b4c9a70b766995b47676ae66f8351 from
https://github.com/altera-opensource/linux-socfpga.git

commit 8532f613

 ("net: stmmac: introduce MSI Interrupt routines for
mac, safety, RX & TX") introduced interrupt service routines(ISR) for
platform that uses MSI.

However, there is no support for non-MSI platform, where the MAC's
per channel interrupt hooks up to interrupt controller(GIC) through
shared peripheral interrupt(SPI) to handle interrupt from TX/RX
transmit channel.

This patch generalize the existing MSI ISR to also support non-MSI
platform.

Signed-off-by: default avatarTeoh Ji Sheng <ji.sheng.teoh@intel.com>
Signed-off-by: default avatarLiwei Song <liwei.song@windriver.com>
parent fd785704
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment