diff options
author | Amit Kumar Salecha <amit.salecha@qlogic.com> | 2010-05-16 21:22:13 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-17 20:30:55 -0400 |
commit | 20c67bd40eacf26c8d61727aaf9cc791d682b40a (patch) | |
tree | bb35a49efd79dc37d48804b12fe480635fd167ce /drivers/net/qlcnic/qlcnic_hdr.h | |
parent | 78ad38923094a479453f5b02b37a012377a36f34 (diff) |
qlcnic: remove unused register
Removing register defines which are not used by Qlgoic CNA device.
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlcnic/qlcnic_hdr.h')
-rw-r--r-- | drivers/net/qlcnic/qlcnic_hdr.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/net/qlcnic/qlcnic_hdr.h b/drivers/net/qlcnic/qlcnic_hdr.h index 13740785d051..ad9d167723c4 100644 --- a/drivers/net/qlcnic/qlcnic_hdr.h +++ b/drivers/net/qlcnic/qlcnic_hdr.h | |||
@@ -563,32 +563,16 @@ enum { | |||
563 | #define CRB_PF_LINK_SPEED_1 (QLCNIC_REG(0xe8)) | 563 | #define CRB_PF_LINK_SPEED_1 (QLCNIC_REG(0xe8)) |
564 | #define CRB_PF_LINK_SPEED_2 (QLCNIC_REG(0xec)) | 564 | #define CRB_PF_LINK_SPEED_2 (QLCNIC_REG(0xec)) |
565 | 565 | ||
566 | #define CRB_MPORT_MODE (QLCNIC_REG(0xc4)) | ||
567 | #define CRB_DMA_SHIFT (QLCNIC_REG(0xcc)) | ||
568 | |||
569 | #define CRB_TEMP_STATE (QLCNIC_REG(0x1b4)) | 566 | #define CRB_TEMP_STATE (QLCNIC_REG(0x1b4)) |
570 | 567 | ||
571 | #define CRB_V2P_0 (QLCNIC_REG(0x290)) | 568 | #define CRB_V2P_0 (QLCNIC_REG(0x290)) |
572 | #define CRB_V2P(port) (CRB_V2P_0+((port)*4)) | 569 | #define CRB_V2P(port) (CRB_V2P_0+((port)*4)) |
573 | #define CRB_DRIVER_VERSION (QLCNIC_REG(0x2a0)) | 570 | #define CRB_DRIVER_VERSION (QLCNIC_REG(0x2a0)) |
574 | 571 | ||
575 | #define CRB_SW_INT_MASK_0 (QLCNIC_REG(0x1d8)) | ||
576 | #define CRB_SW_INT_MASK_1 (QLCNIC_REG(0x1e0)) | ||
577 | #define CRB_SW_INT_MASK_2 (QLCNIC_REG(0x1e4)) | ||
578 | #define CRB_SW_INT_MASK_3 (QLCNIC_REG(0x1e8)) | ||
579 | |||
580 | #define CRB_FW_CAPABILITIES_1 (QLCNIC_CAM_RAM(0x128)) | 572 | #define CRB_FW_CAPABILITIES_1 (QLCNIC_CAM_RAM(0x128)) |
581 | #define CRB_MAC_BLOCK_START (QLCNIC_CAM_RAM(0x1c0)) | 573 | #define CRB_MAC_BLOCK_START (QLCNIC_CAM_RAM(0x1c0)) |
582 | 574 | ||
583 | /* | 575 | /* |
584 | * capabilities register, can be used to selectively enable/disable features | ||
585 | * for backward compability | ||
586 | */ | ||
587 | #define CRB_NIC_CAPABILITIES_HOST QLCNIC_REG(0x1a8) | ||
588 | |||
589 | #define INTR_SCHEME_PERPORT 0x1 | ||
590 | |||
591 | /* | ||
592 | * CrbPortPhanCntrHi/Lo is used to pass the address of HostPhantomIndex address | 576 | * CrbPortPhanCntrHi/Lo is used to pass the address of HostPhantomIndex address |
593 | * which can be read by the Phantom host to get producer/consumer indexes from | 577 | * which can be read by the Phantom host to get producer/consumer indexes from |
594 | * Phantom/Casper. If it is not HOST_SHARED_MEMORY, then the following | 578 | * Phantom/Casper. If it is not HOST_SHARED_MEMORY, then the following |