bnxt_en: map CAG_REG_LEGACY_INT_STATUS_MASK to GRC window #4
authorJeffrey Huang <huangjw@broadcom.com>
Thu, 5 Nov 2015 21:25:49 +0000 (16:25 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Nov 2015 21:33:08 +0000 (16:33 -0500)
commit11809490ac17810cff90c12e9f2f3e0303a72121
tree33294bbeb2e8c5369ea2c298a26373e53b8bfdd9
parent614388ce39f3d61ad7f95db65f409d35d5943616
bnxt_en: map CAG_REG_LEGACY_INT_STATUS_MASK to GRC window #4

In order to use offset 0x4014 for reading CAG interrupt status,
the actual CAG register must be mapped to GRC bar0 window #4.
Otherwise, the driver is reading garbage. This patch corrects
this issue.

Signed-off-by: Jeffrey Huang <huangjw@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h
This page took 0.025181 seconds and 5 git commands to generate.