patch-2.3.36 linux/drivers/fc4/soc.c

Next file: linux/drivers/fc4/soc.h
Previous file: linux/drivers/char/zr36120_mem.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.35/linux/drivers/fc4/soc.c linux/drivers/fc4/soc.c
@@ -205,7 +205,7 @@
 		hwrsp = (soc_rsp *)sw_cq->pool + sw_cq->out;
 
 		hwrspc = NULL;
-		flags = hwrsp->shdr.flags;
+		flags = xram_get_16 ((xram_p)&hwrsp->shdr.flags);
 		count = xram_get_8 ((xram_p)&hwrsp->count);
 		fc = (fc_channel *)&s->port[flags & SOC_PORT_B];
 		SOD(("FC %08lx fcp_state_change %08lx\n",

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)