Fix scsi build on !CONFIG_GENERIC_ISA_DMA
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 21 lines · Linux Kernel Mailing List
ChangeSet 1.1101, 2003/04/17 22:02:50-07:00, [email protected]
[PATCH] Fix scsi build on !CONFIG_GENERIC_ISA_DMA
This allows the SCSI subsystem to build on systems where
CONFIG_GENERIC_ISA_DMAis not set.# This patch includes the following deltas:
# ChangeSet 1.1100 -> 1.1101
#drivers/scsi/hosts.c1.56 -> 1.57
#hosts.c | 2 ++ 1 files changed, 2 insertions(+)diff -Nru
a/drivers/scsi/hosts.cb/drivers/scsi/hosts.c
drivers/scsi/hosts.c line 191
Quoted 9 lines
drivers/scsi/hosts.c +2
-0@@ -183,8 +183,10 @@ {if (shost->irq)free_irq (shost->irq,NULL ); +#ifdef CONFIG_GENERIC_ISA_DMA if (shost->dma_channel !=0xff )free_dma (shost->dma_channel); +#endif if (shost->io_port && shost->n_io_port)release_region (shost->io_port, shost->n_io_port);
Hence it needs to include <linux/config.h>
drivers/scsi/hosts.c +1 -0
@@ -27,6 +27,7 @@* hosts currently present in the system. */ +#include <linux/config.h> #include <linux/module.h> #include <linux/blk.h> #include <linux/kernel.h>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds