Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266215
b: refs/heads/master
c: be3a84d
h: refs/heads/master
i:
  266213: 099eaaf
  266211: 544354d
  266207: 0422305
v: v3
  • Loading branch information
Rasesh Mody authored and David S. Miller committed Sep 29, 2011
1 parent 892e26c commit bf405ea
Show file tree
Hide file tree
Showing 4 changed files with 395 additions and 17 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3869f80605847b2235b9be01e59606d9b5606d96
refs/heads/master: be3a84d1364d2060f4045782a40db39ed21a5c66
8 changes: 7 additions & 1 deletion trunk/drivers/net/ethernet/brocade/bna/bfa_ioc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1981,7 +1981,13 @@ bfa_nw_ioc_pci_init(struct bfa_ioc *ioc, struct bfa_pcidev *pcidev,
BUG_ON(1);
}

bfa_nw_ioc_set_ct_hwif(ioc);
/**
* Set asic specific interfaces.
*/
if (ioc->asic_gen == BFI_ASIC_GEN_CT)
bfa_nw_ioc_set_ct_hwif(ioc);
else
bfa_nw_ioc_set_ct2_hwif(ioc);

bfa_ioc_map_port(ioc);
bfa_ioc_reg_init(ioc);
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/net/ethernet/brocade/bna/bfa_ioc.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ struct bfa_ioc_regs {
void __iomem *hfn_mbox;
void __iomem *lpu_mbox_cmd;
void __iomem *lpu_mbox;
void __iomem *lpu_read_stat;
void __iomem *pss_ctl_reg;
void __iomem *pss_err_status_reg;
void __iomem *app_pll_fast_ctl_reg;
Expand Down Expand Up @@ -287,6 +288,7 @@ void bfa_nw_ioc_mbox_regisr(struct bfa_ioc *ioc, enum bfi_mclass mc,
} while (0)

void bfa_nw_ioc_set_ct_hwif(struct bfa_ioc *ioc);
void bfa_nw_ioc_set_ct2_hwif(struct bfa_ioc *ioc);

void bfa_nw_ioc_attach(struct bfa_ioc *ioc, void *bfa,
struct bfa_ioc_cbfn *cbfn);
Expand Down
Loading

0 comments on commit bf405ea

Please sign in to comment.