TI Davinci EMAC: Fix in vector definition for EMAC_VERSION_2
authorSriram <srk@ti.com>
Thu, 24 Sep 2009 19:15:18 +0000 (19:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Sep 2009 20:43:49 +0000 (13:43 -0700)
commit43c2ed8e9e2d285be49d7ea1afc05071d5d7b0f9
treedea325fefb4e6c1b80f2d10f8a509c18706bd905
parentc0181d420cc1a506ca4418ce90e2ad89831eee2c
TI Davinci EMAC: Fix in vector definition for EMAC_VERSION_2

In the emac_poll function when looking for interrupt status masks
correct definition must be chosen based on EMAC_VERSION(the bit
mask has changed from version 1 to version 2).

Signed-off-by: Sriram <srk@ti.com>
Acked-by: Chaithrika U S <chaithrika@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/davinci_emac.c