summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorLendacky, Thomas <Thomas.Lendacky@amd.com>2016-02-17 11:49:28 -0600
committerDavid S. Miller <davem@davemloft.net>2016-02-17 15:22:20 -0500
commitced3fcae693b563b20ee8d2dba966760e6b771d4 (patch)
treed41b051a6ee63f4c7157456c5788454246e186ec /ipc
parentc3727d61ea73a1df60bacd0b416e01282a94240b (diff)
downloadop-kernel-dev-ced3fcae693b563b20ee8d2dba966760e6b771d4.zip
op-kernel-dev-ced3fcae693b563b20ee8d2dba966760e6b771d4.tar.gz
amd-xgbe: Mask auto-negotiation interrupts in ISR
Currently the auto-negotiation interrupt handling disables the irq instead of masking off the interrupts. This was done because the phy library was originally used to read and write the PCS registers, which could not be performed in interrupt context. Now that the phy library is no longer used to read and write the PCS registers the interrupts can be masked off in the interrupt service routine eliminating the need to call disable_irq/enable_irq. This also requires changing the protection mutex to a spinlock. Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud