lkml.org 
[lkml]   [2002]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[PATCH] : ir256_bus_to_virt.diff
From
ir256_bus_to_virt.diff :
----------------------
o [CRITICA] Fix ISA FIR drivers for new DMA API
<PCI FIR drivers are still broken and need fixing>


diff -u -p linux/net/irda/irda_device.d4.c linux/net/irda/irda_device.c
--- linux/net/irda/irda_device.d4.c Tue Feb 26 10:41:06 2002
+++ linux/net/irda/irda_device.c Tue Feb 26 10:41:36 2002
@@ -598,7 +598,7 @@ void setup_dma(int channel, char *buffer
disable_dma(channel);
clear_dma_ff(channel);
set_dma_mode(channel, mode);
- set_dma_addr(channel, virt_to_bus(buffer));
+ set_dma_addr(channel, isa_virt_to_bus(buffer));
set_dma_count(channel, count);
enable_dma(channel);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:24    [W:0.870 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site