]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: don't use MSI before RTL8168d
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 27 Jul 2019 10:43:31 +0000 (12:43 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 27 Jul 2019 21:30:13 +0000 (14:30 -0700)
commit759dd3c2f3226a5f0799f216d03e0a33afc7e63b
treece529bc5d8884e243c7a4b04a8cfedb6db06d3d2
parente5dbda8eff8291b12109f13b05c9eea66008c20a
r8169: don't use MSI before RTL8168d

It was reported that after resuming from suspend network fails with
error "do_IRQ: 3.38 No irq handler for vector", see [0]. Enabling WoL
can work around the issue, but the only actual fix is to disable MSI.
So let's mimic the behavior of the vendor driver and disable MSI on
all chip versions before RTL8168d.

[0] https://bugzilla.kernel.org/show_bug.cgi?id=204079

Fixes: bd3c4edcb29f ("r8169: improve interrupt handling")
Reported-by: Dušan Dragić <dragic.dusan@gmail.com>
Tested-by: Dušan Dragić <dragic.dusan@gmail.com>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169_main.c