rpms/kernel/devel linux-2.6-firewire-git-pending.patch,1.16,1.17

Jarod Wilson (jwilson) fedora-extras-commits at redhat.com
Thu Mar 13 01:17:30 UTC 2008


Author: jwilson

Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8547

Modified Files:
	linux-2.6-firewire-git-pending.patch 
Log Message:
Slightly better version of sync tweak (although it seems this really shouldn't be needed, and only accidentally fixes the panic on my box, but hey, that's better than a panic for now...)

linux-2.6-firewire-git-pending.patch:

Index: linux-2.6-firewire-git-pending.patch
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/linux-2.6-firewire-git-pending.patch,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- linux-2.6-firewire-git-pending.patch	12 Mar 2008 21:48:36 -0000	1.16
+++ linux-2.6-firewire-git-pending.patch	13 Mar 2008 01:17:17 -0000	1.17
@@ -887,17 +887,17 @@
  1 files changed, 4 insertions(+), 0 deletions(-)
 
 diff --git a/drivers/firewire/fw-ohci.c b/drivers/firewire/fw-ohci.c
-index 081a434..fc45868 100644
+index 081a434..c60abb8 100644
 --- a/drivers/firewire/fw-ohci.c
 +++ b/drivers/firewire/fw-ohci.c
-@@ -780,6 +780,10 @@ at_context_queue_packet(struct context *ctx, struct fw_packet *packet)
- 
- 	context_append(ctx, d, z, 4 - z);
+@@ -778,6 +778,10 @@ at_context_queue_packet(struct context *ctx, struct fw_packet *packet)
+ 		return -1;
+ 	}
  
 +	/* Sync the DMA buffer up for the device to read from */
 +	dma_sync_single_for_device(ohci->card.device, payload_bus,
 +				   packet->payload_length, DMA_TO_DEVICE);
 +
+ 	context_append(ctx, d, z, 4 - z);
+ 
  	/* If the context isn't already running, start it up. */
- 	reg = reg_read(ctx->ohci, CONTROL_SET(ctx->regs));
- 	if ((reg & CONTEXT_RUN) == 0)




More information about the fedora-extras-commits mailing list