diff options
author | Eilon Greenstein <eilong@broadcom.com> | 2009-02-12 03:36:23 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-16 02:31:09 -0500 |
commit | f1ef27ef42dc946a255de4cc7b878630011735d8 (patch) | |
tree | 031a60a38dc99a51f4d794d70bfb95f22c0b1521 /drivers/net/bnx2x_reg.h | |
parent | 0f00846deb9c9eaaeb4668b81496b783a04a241f (diff) |
bnx2x: Disabling interrupts after iSCSI-boot
Before initializing the chip after iSCSI boot, the interrupts of the function
that was used to boot must be disabled. That means that the driver needs to set
the chip as if it is the iSCSI PCI function - this bug is exposed only with MSI
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x_reg.h')
-rw-r--r-- | drivers/net/bnx2x_reg.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/net/bnx2x_reg.h b/drivers/net/bnx2x_reg.h index 0be77c5bcefa..b654d5d2a92b 100644 --- a/drivers/net/bnx2x_reg.h +++ b/drivers/net/bnx2x_reg.h | |||
@@ -2061,6 +2061,19 @@ | |||
2061 | #define PXP2_REG_PGL_INT_XSDM_5 0x1204e8 | 2061 | #define PXP2_REG_PGL_INT_XSDM_5 0x1204e8 |
2062 | #define PXP2_REG_PGL_INT_XSDM_6 0x1204ec | 2062 | #define PXP2_REG_PGL_INT_XSDM_6 0x1204ec |
2063 | #define PXP2_REG_PGL_INT_XSDM_7 0x1204f0 | 2063 | #define PXP2_REG_PGL_INT_XSDM_7 0x1204f0 |
2064 | /* [RW 3] this field allows one function to pretend being another function | ||
2065 | when accessing any BAR mapped resource within the device. the value of | ||
2066 | the field is the number of the function that will be accessed | ||
2067 | effectively. after software write to this bit it must read it in order to | ||
2068 | know that the new value is updated */ | ||
2069 | #define PXP2_REG_PGL_PRETEND_FUNC_F0 0x120674 | ||
2070 | #define PXP2_REG_PGL_PRETEND_FUNC_F1 0x120678 | ||
2071 | #define PXP2_REG_PGL_PRETEND_FUNC_F2 0x12067c | ||
2072 | #define PXP2_REG_PGL_PRETEND_FUNC_F3 0x120680 | ||
2073 | #define PXP2_REG_PGL_PRETEND_FUNC_F4 0x120684 | ||
2074 | #define PXP2_REG_PGL_PRETEND_FUNC_F5 0x120688 | ||
2075 | #define PXP2_REG_PGL_PRETEND_FUNC_F6 0x12068c | ||
2076 | #define PXP2_REG_PGL_PRETEND_FUNC_F7 0x120690 | ||
2064 | /* [R 1] this bit indicates that a read request was blocked because of | 2077 | /* [R 1] this bit indicates that a read request was blocked because of |
2065 | bus_master_en was deasserted */ | 2078 | bus_master_en was deasserted */ |
2066 | #define PXP2_REG_PGL_READ_BLOCKED 0x120568 | 2079 | #define PXP2_REG_PGL_READ_BLOCKED 0x120568 |