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)
commit2ca6cf06d988fea21e812a86be79353352677c9c
tree11383032a96388d8746e06a772415294bcb429f0
parent9cef310fcdee12b49b8b4c96fd8f611c8873d284
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