patch-2.1.29 linux/drivers/sbus/dvma.c

Next file: linux/drivers/sbus/sbus.c
Previous file: linux/drivers/sbus/char/sunserial.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.28/linux/drivers/sbus/dvma.c linux/drivers/sbus/dvma.c
@@ -76,9 +76,11 @@
 		 * routine only alloc 1 page, that was what the original code did
 		 */
 		if(hme) /* On HME cards, dvma lives with esp, 2 reg sets. */
-			prom_apply_sbus_ranges(sbus, dma->SBus_dev->reg_addrs, 0x2);
+			prom_apply_sbus_ranges(sbus, dma->SBus_dev->reg_addrs,
+					       0x2, dma->SBus_dev);
 		else    /* All others have only 1 reg set. */
-			prom_apply_sbus_ranges(sbus, dma->SBus_dev->reg_addrs, 0x1);
+			prom_apply_sbus_ranges(sbus, dma->SBus_dev->reg_addrs,
+					       0x1, dma->SBus_dev);
 		dma->regs = (struct sparc_dma_registers *)
 			sparc_alloc_io (dma->SBus_dev->reg_addrs[0].phys_addr, 0,
 					PAGE_SIZE, "dma",

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov