Commit dfeee41e authored by Dave Jones's avatar Dave Jones Committed by Linus Torvalds

[PATCH] CCISS 64bit fixup.

parent 906afeb0
...@@ -2457,7 +2457,7 @@ static int __init cciss_init_one(struct pci_dev *pdev, ...@@ -2457,7 +2457,7 @@ static int __init cciss_init_one(struct pci_dev *pdev,
hba[i]->pdev = pdev; hba[i]->pdev = pdev;
/* configure PCI DMA stuff */ /* configure PCI DMA stuff */
if (!pci_set_dma_mask(pdev, (u64) 0xffffffffffffffff)) if (!pci_set_dma_mask(pdev, 0xffffffffffffffffULL))
printk("cciss: using DAC cycles\n"); printk("cciss: using DAC cycles\n");
else if (!pci_set_dma_mask(pdev, 0xffffffff)) else if (!pci_set_dma_mask(pdev, 0xffffffff))
printk("cciss: not using DAC cycles\n"); printk("cciss: not using DAC cycles\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment