~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to drivers/net/bna/bna_txrx.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
2229
2229
bna_rit_create(struct bna_rx *rx)
2230
2230
{
2231
2231
        struct list_head        *qe_rxp;
2232
 
        struct bna *bna;
2233
2232
        struct bna_rxp *rxp;
2234
2233
        struct bna_rxq *q0 = NULL;
2235
2234
        struct bna_rxq *q1 = NULL;
2236
2235
        int offset;
2237
2236
 
2238
 
        bna = rx->bna;
2239
 
 
2240
2237
        offset = 0;
2241
2238
        list_for_each(qe_rxp, &rx->rxp_q) {
2242
2239
                rxp = (struct bna_rxp *)qe_rxp;
2830
2827
        struct bna_mem_descr *dsqpt_mem;        /* s/w qpt for data */
2831
2828
        struct bna_mem_descr *hpage_mem;        /* hdr page mem */
2832
2829
        struct bna_mem_descr *dpage_mem;        /* data page mem */
2833
 
        int i, cpage_idx = 0, dpage_idx = 0, hpage_idx = 0, ret;
 
2830
        int i, cpage_idx = 0, dpage_idx = 0, hpage_idx = 0;
2834
2831
        int dpage_count, hpage_count, rcb_idx;
2835
2832
        struct bna_ib_config ibcfg;
2836
2833
        /* Fail if we don't have enough RXPs, RXQs */
2924
2921
                ibcfg.interpkt_timeo = BFI_RX_INTERPKT_TIMEO;
2925
2922
                ibcfg.ctrl_flags = BFI_IB_CF_INT_ENABLE;
2926
2923
 
2927
 
                ret = bna_ib_config(rxp->cq.ib, &ibcfg);
 
2924
                bna_ib_config(rxp->cq.ib, &ibcfg);
2928
2925
 
2929
2926
                /* Link rxqs to rxp */
2930
2927
                _rxp_add_rxqs(rxp, q0, q1);