diff options
author | Roland Dreier <rolandd@cisco.com> | 2008-07-15 02:48:49 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-07-15 02:48:49 -0400 |
commit | 8294f29767c53e97664a27db9974adea8e2ea95b (patch) | |
tree | b2c2ab078539b486667fcb1464a02bedeb5b7c85 /drivers/infiniband/hw/nes/nes.h | |
parent | 52c8084b740c42af27d5bfa62cec7079d12fbc2b (diff) |
RDMA/nes: Get rid of ring_doorbell parameter of nes_post_cqp_request()
Every caller of nes_post_cqp_request() passed it NES_CQP_REQUEST_RING_DOORBELL,
so just remove that parameter and always ring the doorbell.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Acked-by: Faisal Latif <flatif@neteffect.com>
Diffstat (limited to 'drivers/infiniband/hw/nes/nes.h')
-rw-r--r-- | drivers/infiniband/hw/nes/nes.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/infiniband/hw/nes/nes.h b/drivers/infiniband/hw/nes/nes.h index fe88bec48949..39bd897b40c6 100644 --- a/drivers/infiniband/hw/nes/nes.h +++ b/drivers/infiniband/hw/nes/nes.h | |||
@@ -94,9 +94,6 @@ | |||
94 | 94 | ||
95 | #define MAX_DPC_ITERATIONS 128 | 95 | #define MAX_DPC_ITERATIONS 128 |
96 | 96 | ||
97 | #define NES_CQP_REQUEST_NO_DOORBELL_RING 0 | ||
98 | #define NES_CQP_REQUEST_RING_DOORBELL 1 | ||
99 | |||
100 | #define NES_DRV_OPT_ENABLE_MPA_VER_0 0x00000001 | 97 | #define NES_DRV_OPT_ENABLE_MPA_VER_0 0x00000001 |
101 | #define NES_DRV_OPT_DISABLE_MPA_CRC 0x00000002 | 98 | #define NES_DRV_OPT_DISABLE_MPA_CRC 0x00000002 |
102 | #define NES_DRV_OPT_DISABLE_FIRST_WRITE 0x00000004 | 99 | #define NES_DRV_OPT_DISABLE_FIRST_WRITE 0x00000004 |
@@ -542,7 +539,7 @@ void nes_free_cqp_request(struct nes_device *nesdev, | |||
542 | struct nes_cqp_request *cqp_request); | 539 | struct nes_cqp_request *cqp_request); |
543 | void nes_put_cqp_request(struct nes_device *nesdev, | 540 | void nes_put_cqp_request(struct nes_device *nesdev, |
544 | struct nes_cqp_request *cqp_request); | 541 | struct nes_cqp_request *cqp_request); |
545 | void nes_post_cqp_request(struct nes_device *, struct nes_cqp_request *, int); | 542 | void nes_post_cqp_request(struct nes_device *, struct nes_cqp_request *); |
546 | int nes_arp_table(struct nes_device *, u32, u8 *, u32); | 543 | int nes_arp_table(struct nes_device *, u32, u8 *, u32); |
547 | void nes_mh_fix(unsigned long); | 544 | void nes_mh_fix(unsigned long); |
548 | void nes_clc(unsigned long); | 545 | void nes_clc(unsigned long); |