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

Next file: linux/drivers/fc4/socal.c
Previous file: linux/drivers/fc4/fcp_impl.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.40/linux/drivers/fc4/soc.c linux/drivers/fc4/soc.c
@@ -668,7 +668,7 @@
 	memset (cq, 0, sizeof(cq));
 	
 	size = (SOC_CQ_REQ0_SIZE + SOC_CQ_REQ1_SIZE) * sizeof(soc_req);
-	s->req_cpu = sbus_alloc_consistant(sdev, size, &s->req_dvma);
+	s->req_cpu = sbus_alloc_consistent(sdev, size, &s->req_dvma);
 	s->req[0].pool = s->req_cpu;
 	cq[0].address = s->req_dvma;
 	s->req[1].pool = s->req[0].pool + SOC_CQ_REQ0_SIZE;
@@ -765,7 +765,7 @@
 			sbus_iounmap(s->xram, sdev->reg_addrs[1].reg_size);
 			sbus_iounmap(s->regs, sdev->reg_addrs[2].reg_size);
 		}
-		sbus_free_consistant(sdev,
+		sbus_free_consistent(sdev,
 				     (SOC_CQ_REQ0_SIZE+SOC_CQ_REQ1_SIZE)*sizeof(soc_req),
 				     s->req_cpu, s->req_dvma);
 	}

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