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

« back to all changes in this revision

Viewing changes to drivers/scsi/be2iscsi/be_mgmt.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:
1
1
/**
2
 
 * Copyright (C) 2005 - 2010 ServerEngines
 
2
 * Copyright (C) 2005 - 2011 Emulex
3
3
 * All rights reserved.
4
4
 *
5
5
 * This program is free software; you can redistribute it and/or
7
7
 * as published by the Free Software Foundation.  The full GNU General
8
8
 * Public License is included in this distribution in the file called COPYING.
9
9
 *
10
 
 * Written by: Jayamohan Kallickal (jayamohank@serverengines.com)
 
10
 * Written by: Jayamohan Kallickal (jayamohan.kallickal@emulex.com)
11
11
 *
12
12
 * Contact Information:
13
 
 * linux-drivers@serverengines.com
14
 
 *
15
 
 * ServerEngines
16
 
 * 209 N. Fair Oaks Ave
17
 
 * Sunnyvale, CA 94085
18
 
 *
 
13
 * linux-drivers@emulex.com
 
14
 *
 
15
 * Emulex
 
16
 * 3333 Susan Street
 
17
 * Costa Mesa, CA 92626
19
18
 */
20
19
 
21
20
#include "be_mgmt.h"
203
202
                           OPCODE_COMMON_ISCSI_CLEANUP, sizeof(*req));
204
203
 
205
204
        req->chute = chute;
206
 
        req->hdr_ring_id = 0;
207
 
        req->data_ring_id = 0;
 
205
        req->hdr_ring_id = cpu_to_le16(HWI_GET_DEF_HDRQ_ID(phba));
 
206
        req->data_ring_id = cpu_to_le16(HWI_GET_DEF_BUFQ_ID(phba));
208
207
 
209
208
        status =  be_mcc_notify_wait(phba);
210
209
        if (status)