r8169: fix Config2 MSIEnable bit setting.
authorfrançois romieu <romieu@fr.zoreil.com>
Fri, 5 Oct 2012 21:29:15 +0000 (23:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Oct 2012 20:28:13 +0000 (05:28 +0900)
commit8ffd1cb75b0d422f4ee723c79d9eccc81b6442f6
tree78692db092d940e996a98ddf7e6fb252e1230324
parent85ce02207e7728d82cc6183d34c2bdd9e1999b2e
r8169: fix Config2 MSIEnable bit setting.

commit 2ca6cf06d988fea21e812a86be79353352677c9c upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/r8169.c