diff options
author | Rasesh Mody <rmody@brocade.com> | 2011-09-27 06:39:05 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-09-29 19:36:34 -0400 |
commit | be3a84d1364d2060f4045782a40db39ed21a5c66 (patch) | |
tree | 5470da48877c317c08f39e9b5b148b82129d26a9 /drivers/net/ethernet/brocade/bna/bfa_ioc.h | |
parent | 3869f80605847b2235b9be01e59606d9b5606d96 (diff) |
bna: Brocade 1860 IOC PLL, Reg Defs and ASIC Mode Changes
Add logic to set ASIC specfic interface in IOC, HW interface initialization
APIs, mode based initialization and MSI-X resource allocation for 1860 with
no asic block. Add new h/w specific register definitions and setup registers
used by IOC logic.
Use normal kernel declaration style, c99 initializers and const for mailbox
structures. Remove unneeded parentheses.
Signed-off-by: Gurunatha Karaje <gkaraje@brocade.com>
Signed-off-by: Rasesh Mody <rmody@brocade.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/brocade/bna/bfa_ioc.h')
-rw-r--r-- | drivers/net/ethernet/brocade/bna/bfa_ioc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/brocade/bna/bfa_ioc.h b/drivers/net/ethernet/brocade/bna/bfa_ioc.h index e11496db7ac6..5899a5648393 100644 --- a/drivers/net/ethernet/brocade/bna/bfa_ioc.h +++ b/drivers/net/ethernet/brocade/bna/bfa_ioc.h | |||
@@ -72,6 +72,7 @@ struct bfa_ioc_regs { | |||
72 | void __iomem *hfn_mbox; | 72 | void __iomem *hfn_mbox; |
73 | void __iomem *lpu_mbox_cmd; | 73 | void __iomem *lpu_mbox_cmd; |
74 | void __iomem *lpu_mbox; | 74 | void __iomem *lpu_mbox; |
75 | void __iomem *lpu_read_stat; | ||
75 | void __iomem *pss_ctl_reg; | 76 | void __iomem *pss_ctl_reg; |
76 | void __iomem *pss_err_status_reg; | 77 | void __iomem *pss_err_status_reg; |
77 | void __iomem *app_pll_fast_ctl_reg; | 78 | void __iomem *app_pll_fast_ctl_reg; |
@@ -287,6 +288,7 @@ void bfa_nw_ioc_mbox_regisr(struct bfa_ioc *ioc, enum bfi_mclass mc, | |||
287 | } while (0) | 288 | } while (0) |
288 | 289 | ||
289 | void bfa_nw_ioc_set_ct_hwif(struct bfa_ioc *ioc); | 290 | void bfa_nw_ioc_set_ct_hwif(struct bfa_ioc *ioc); |
291 | void bfa_nw_ioc_set_ct2_hwif(struct bfa_ioc *ioc); | ||
290 | 292 | ||
291 | void bfa_nw_ioc_attach(struct bfa_ioc *ioc, void *bfa, | 293 | void bfa_nw_ioc_attach(struct bfa_ioc *ioc, void *bfa, |
292 | struct bfa_ioc_cbfn *cbfn); | 294 | struct bfa_ioc_cbfn *cbfn); |