]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: fix Config2 MSIEnable bit setting.
authorfrançois romieu <romieu@fr.zoreil.com>
Thu, 15 Dec 2011 08:37:43 +0000 (08:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Dec 2011 21:06:48 +0000 (16:06 -0500)
commit90b6901e21be9e572964ad35eab3668dd83049bd
tree11383032a96388d8746e06a772415294bcb429f0
parentf9af228b890c9fe8498dcfb4d2a7c50645938dbd
r8169: fix Config2 MSIEnable bit setting.

The MSIEnable bit is only available for the 8169.

Avoid Config2 writes for the post-8169 8168 and 810x.

Reported-by: Su Kang Yin <cantona@cantona.net>
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c