diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-23 14:47:02 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-23 14:47:02 -0400 |
commit | 5f05647dd81c11a6a165ccc8f0c1370b16f3bcb0 (patch) | |
tree | 7851ef1c93aa1aba7ef327ca4b75fd35e6d10f29 /drivers/scsi/bnx2i | |
parent | 02f36038c568111ad4fc433f6fa760ff5e38fab4 (diff) | |
parent | ec37a48d1d16c30b655ac5280209edf52a6775d4 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6: (1699 commits)
bnx2/bnx2x: Unsupported Ethtool operations should return -EINVAL.
vlan: Calling vlan_hwaccel_do_receive() is always valid.
tproxy: use the interface primary IP address as a default value for --on-ip
tproxy: added IPv6 support to the socket match
cxgb3: function namespace cleanup
tproxy: added IPv6 support to the TPROXY target
tproxy: added IPv6 socket lookup function to nf_tproxy_core
be2net: Changes to use only priority codes allowed by f/w
tproxy: allow non-local binds of IPv6 sockets if IP_TRANSPARENT is enabled
tproxy: added tproxy sockopt interface in the IPV6 layer
tproxy: added udp6_lib_lookup function
tproxy: added const specifiers to udp lookup functions
tproxy: split off ipv6 defragmentation to a separate module
l2tp: small cleanup
nf_nat: restrict ICMP translation for embedded header
can: mcp251x: fix generation of error frames
can: mcp251x: fix endless loop in interrupt handler if CANINTF_MERRF is set
can-raw: add msg_flags to distinguish local traffic
9p: client code cleanup
rds: make local functions/variables static
...
Fix up conflicts in net/core/dev.c, drivers/net/pcmcia/smc91c92_cs.c and
drivers/net/wireless/ath/ath9k/debug.c as per David
Diffstat (limited to 'drivers/scsi/bnx2i')
-rw-r--r-- | drivers/scsi/bnx2i/57xx_iscsi_constants.h | 2 | ||||
-rw-r--r-- | drivers/scsi/bnx2i/bnx2i.h | 2 | ||||
-rw-r--r-- | drivers/scsi/bnx2i/bnx2i_hwi.c | 3 |
3 files changed, 6 insertions, 1 deletions
diff --git a/drivers/scsi/bnx2i/57xx_iscsi_constants.h b/drivers/scsi/bnx2i/57xx_iscsi_constants.h index 2fceb19eb27b..1b6f86b2482d 100644 --- a/drivers/scsi/bnx2i/57xx_iscsi_constants.h +++ b/drivers/scsi/bnx2i/57xx_iscsi_constants.h | |||
@@ -120,6 +120,8 @@ | |||
120 | /* additional LOM specific iSCSI license not installed */ | 120 | /* additional LOM specific iSCSI license not installed */ |
121 | #define ISCSI_KCQE_COMPLETION_STATUS_LOM_ISCSI_NOT_ENABLED (0x51) | 121 | #define ISCSI_KCQE_COMPLETION_STATUS_LOM_ISCSI_NOT_ENABLED (0x51) |
122 | 122 | ||
123 | #define ISCSI_KCQE_COMPLETION_STATUS_CID_BUSY (0x80) | ||
124 | |||
123 | /* SQ/RQ/CQ DB structure sizes */ | 125 | /* SQ/RQ/CQ DB structure sizes */ |
124 | #define ISCSI_SQ_DB_SIZE (16) | 126 | #define ISCSI_SQ_DB_SIZE (16) |
125 | #define ISCSI_RQ_DB_SIZE (16) | 127 | #define ISCSI_RQ_DB_SIZE (16) |
diff --git a/drivers/scsi/bnx2i/bnx2i.h b/drivers/scsi/bnx2i/bnx2i.h index b6345d91bb66..a44b1b33fa18 100644 --- a/drivers/scsi/bnx2i/bnx2i.h +++ b/drivers/scsi/bnx2i/bnx2i.h | |||
@@ -58,6 +58,8 @@ | |||
58 | #define MAX_PAGES_PER_CTRL_STRUCT_POOL 8 | 58 | #define MAX_PAGES_PER_CTRL_STRUCT_POOL 8 |
59 | #define BNX2I_RESERVED_SLOW_PATH_CMD_SLOTS 4 | 59 | #define BNX2I_RESERVED_SLOW_PATH_CMD_SLOTS 4 |
60 | 60 | ||
61 | #define BNX2I_5771X_DBELL_PAGE_SIZE 128 | ||
62 | |||
61 | /* 5706/08 hardware has limit on maximum buffer size per BD it can handle */ | 63 | /* 5706/08 hardware has limit on maximum buffer size per BD it can handle */ |
62 | #define MAX_BD_LENGTH 65535 | 64 | #define MAX_BD_LENGTH 65535 |
63 | #define BD_SPLIT_SIZE 32768 | 65 | #define BD_SPLIT_SIZE 32768 |
diff --git a/drivers/scsi/bnx2i/bnx2i_hwi.c b/drivers/scsi/bnx2i/bnx2i_hwi.c index 90cef716b796..8d9dbb33972f 100644 --- a/drivers/scsi/bnx2i/bnx2i_hwi.c +++ b/drivers/scsi/bnx2i/bnx2i_hwi.c | |||
@@ -2406,7 +2406,8 @@ int bnx2i_map_ep_dbell_regs(struct bnx2i_endpoint *ep) | |||
2406 | if (test_bit(BNX2I_NX2_DEV_57710, &ep->hba->cnic_dev_type)) { | 2406 | if (test_bit(BNX2I_NX2_DEV_57710, &ep->hba->cnic_dev_type)) { |
2407 | reg_base = pci_resource_start(ep->hba->pcidev, | 2407 | reg_base = pci_resource_start(ep->hba->pcidev, |
2408 | BNX2X_DOORBELL_PCI_BAR); | 2408 | BNX2X_DOORBELL_PCI_BAR); |
2409 | reg_off = PAGE_SIZE * (cid_num & 0x1FFFF) + DPM_TRIGER_TYPE; | 2409 | reg_off = BNX2I_5771X_DBELL_PAGE_SIZE * (cid_num & 0x1FFFF) + |
2410 | DPM_TRIGER_TYPE; | ||
2410 | ep->qp.ctx_base = ioremap_nocache(reg_base + reg_off, 4); | 2411 | ep->qp.ctx_base = ioremap_nocache(reg_base + reg_off, 4); |
2411 | goto arm_cq; | 2412 | goto arm_cq; |
2412 | } | 2413 | } |