X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Firda%2Firda_device.c;h=80a6648a40438b9ec6ba8bc3ee369661ab3bc3dc;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=8e7493f00bdf3da4e3ee6c42b2ae3940946ab789;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/net/irda/irda_device.c b/net/irda/irda_device.c index 8e7493f00..80a6648a4 100644 --- a/net/irda/irda_device.c +++ b/net/irda/irda_device.c @@ -536,7 +536,7 @@ int irda_device_set_mode(struct net_device* dev, int mode) * Setup the DMA channel. Commonly used by ISA FIR drivers * */ -void irda_setup_dma(int channel, char *buffer, int count, int mode) +void irda_setup_dma(int channel, dma_addr_t buffer, int count, int mode) { unsigned long flags; @@ -545,7 +545,7 @@ void irda_setup_dma(int channel, char *buffer, int count, int mode) disable_dma(channel); clear_dma_ff(channel); set_dma_mode(channel, mode); - set_dma_addr(channel, isa_virt_to_bus(buffer)); + set_dma_addr(channel, buffer); set_dma_count(channel, count); enable_dma(channel);