diff options
Diffstat (limited to 'drivers/scsi/qlogicfc.c')
-rw-r--r-- | drivers/scsi/qlogicfc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/scsi/qlogicfc.c b/drivers/scsi/qlogicfc.c index 5b15998c71a6..52b224a5d6fd 100644 --- a/drivers/scsi/qlogicfc.c +++ b/drivers/scsi/qlogicfc.c | |||
@@ -61,6 +61,7 @@ | |||
61 | #include <linux/unistd.h> | 61 | #include <linux/unistd.h> |
62 | #include <linux/spinlock.h> | 62 | #include <linux/spinlock.h> |
63 | #include <linux/interrupt.h> | 63 | #include <linux/interrupt.h> |
64 | #include <linux/dma-mapping.h> | ||
64 | #include <linux/jiffies.h> | 65 | #include <linux/jiffies.h> |
65 | #include <asm/io.h> | 66 | #include <asm/io.h> |
66 | #include <asm/irq.h> | 67 | #include <asm/irq.h> |
@@ -738,8 +739,8 @@ static int isp2x00_detect(struct scsi_host_template * tmpt) | |||
738 | continue; | 739 | continue; |
739 | 740 | ||
740 | /* Try to configure DMA attributes. */ | 741 | /* Try to configure DMA attributes. */ |
741 | if (pci_set_dma_mask(pdev, 0xffffffffffffffffULL) && | 742 | if (pci_set_dma_mask(pdev, DMA_64BIT_MASK) && |
742 | pci_set_dma_mask(pdev, 0xffffffffULL)) | 743 | pci_set_dma_mask(pdev, DMA_32BIT_MASK)) |
743 | continue; | 744 | continue; |
744 | 745 | ||
745 | host = scsi_register(tmpt, sizeof(struct isp2x00_hostdata)); | 746 | host = scsi_register(tmpt, sizeof(struct isp2x00_hostdata)); |