Skip to content

Commit f13bc68

Browse files
hkallweitdavem330
authored andcommitted
r8169: re-enable MSI on RTL8168c
The original change fixed an issue on RTL8168b by mimicking the vendor driver behavior to disable MSI on chip versions before RTL8168d. This however now caused an issue on a system with RTL8168c, see [0]. Therefore leave MSI disabled on RTL8168b, but re-enable it on RTL8168c. [0] https://bugzilla.redhat.com/show_bug.cgi?id=1792839 Fixes: 003bd5b ("r8169: don't use MSI before RTL8168d") Signed-off-by: Heiner Kallweit <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent c312c78 commit f13bc68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/realtek/r8169_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5194,7 +5194,7 @@ static int rtl_alloc_irq(struct rtl8169_private *tp)
51945194
RTL_W8(tp, Config2, RTL_R8(tp, Config2) & ~MSIEnable);
51955195
rtl_lock_config_regs(tp);
51965196
/* fall through */
5197-
case RTL_GIGA_MAC_VER_07 ... RTL_GIGA_MAC_VER_24:
5197+
case RTL_GIGA_MAC_VER_07 ... RTL_GIGA_MAC_VER_17:
51985198
flags = PCI_IRQ_LEGACY;
51995199
break;
52005200
default:

0 commit comments

Comments
 (0)