[PATCH] CCISS 64bit fixup.

From: davej
Date: Mon Aug 11 2003 - 08:54:06 EST


diff -urpN --exclude-from=/home/davej/.exclude bk-linus/drivers/block/cciss.c linux-2.5/drivers/block/cciss.c
--- bk-linus/drivers/block/cciss.c 2003-08-07 13:51:31.000000000 +0100
+++ linux-2.5/drivers/block/cciss.c 2003-08-07 14:13:28.000000000 +0100
@@ -2457,7 +2457,7 @@ static int __init cciss_init_one(struct
hba[i]->pdev = pdev;

/* configure PCI DMA stuff */
- if (!pci_set_dma_mask(pdev, (u64) 0xffffffffffffffff))
+ if (!pci_set_dma_mask(pdev, (u64) 0xffffffffffffffffULL))
printk("cciss: using DAC cycles\n");
else if (!pci_set_dma_mask(pdev, 0xffffffff))
printk("cciss: not using DAC cycles\n");
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/