patch-2.4.6 linux/drivers/char/esp.c
Next file: linux/drivers/char/i810-tco.c
Previous file: linux/drivers/char/epca.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Wed Jun 27 14:13:01 2001
- Orig file:
v2.4.5/linux/drivers/char/esp.c
- Orig date:
Fri Apr 6 10:42:55 2001
diff -u --recursive --new-file v2.4.5/linux/drivers/char/esp.c linux/drivers/char/esp.c
@@ -957,7 +957,7 @@
if (!dma_buffer)
info->stat_flags |= ESP_STAT_USE_PIO;
else if (request_dma(dma, "esp serial")) {
- free_pages((unsigned int)dma_buffer,
+ free_pages((unsigned long)dma_buffer,
get_order(DMA_BUFFER_SZ));
dma_buffer = 0;
info->stat_flags |= ESP_STAT_USE_PIO;
@@ -1061,7 +1061,7 @@
if (!current_port) {
free_dma(dma);
- free_pages((unsigned int)dma_buffer,
+ free_pages((unsigned long)dma_buffer,
get_order(DMA_BUFFER_SZ));
dma_buffer = 0;
}
@@ -2770,7 +2770,7 @@
}
if (dma_buffer)
- free_pages((unsigned int)dma_buffer,
+ free_pages((unsigned long)dma_buffer,
get_order(DMA_BUFFER_SZ));
if (tmp_buf)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)