This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / drivers / scsi / qla2xxx / qla_rscn.c
index f2050f9..c522d03 100644 (file)
@@ -16,6 +16,8 @@
  * General Public License for more details.
  *
  */
+#include "qla_os.h"
+
 #include "qla_def.h"
 
 /**
@@ -436,7 +438,6 @@ qla2x00_send_abort_iocb(scsi_qla_host_t *ha, struct io_descriptor *iodesc,
            cpu_to_le16(iodesc->remote_fcport->loop_id);
        mbxentry->mb2 = LSW(handle_to_abort);
        mbxentry->mb3 = MSW(handle_to_abort);
-       wmb();
 
        qla2x00_add_iodesc_timer(iodesc);
 
@@ -513,7 +514,6 @@ qla2x00_send_adisc_iocb(scsi_qla_host_t *ha, struct io_descriptor *iodesc,
        mbxentry->mb6 = cpu_to_le16(MSW(MSD(ha->iodesc_pd_dma)));
        mbxentry->mb7 = cpu_to_le16(LSW(MSD(ha->iodesc_pd_dma)));
        mbxentry->mb10 = __constant_cpu_to_le16(BIT_0);
-       wmb();
 
        qla2x00_add_iodesc_timer(iodesc);
 
@@ -625,7 +625,6 @@ qla2x00_send_logout_iocb(scsi_qla_host_t *ha, struct io_descriptor *iodesc,
        mbxentry->mb0 = __constant_cpu_to_le16(MBC_LOGOUT_FABRIC_PORT);
        mbxentry->mb1 = mbxentry->loop_id.extended =
            cpu_to_le16(iodesc->remote_fcport->loop_id);
-       wmb();
 
        qla2x00_add_iodesc_timer(iodesc);
 
@@ -703,7 +702,6 @@ qla2x00_send_login_iocb(scsi_qla_host_t *ha, struct io_descriptor *iodesc,
        mbxentry->mb2 = cpu_to_le16(d_id->b.domain);
        mbxentry->mb3 = cpu_to_le16(d_id->b.area << 8 | d_id->b.al_pa);
        mbxentry->mb10 = __constant_cpu_to_le16(BIT_0);
-       wmb();
 
        qla2x00_add_iodesc_timer(iodesc);