[PATCH] megaraid ULL fix.

From: davej
Date: Mon Sep 29 2003 - 12:09:51 EST


diff -urpN --exclude-from=/home/davej/.exclude bk-linus/drivers/scsi/megaraid.c linux-2.5/drivers/scsi/megaraid.c
--- bk-linus/drivers/scsi/megaraid.c 2003-09-08 00:46:59.000000000 +0100
+++ linux-2.5/drivers/scsi/megaraid.c 2003-09-08 01:30:56.000000000 +0100
@@ -586,7 +586,7 @@ mega_find_card(Scsi_Host_Template *host_

/* Set the Mode of addressing to 64 bit if we can */
if((adapter->flag & BOARD_64BIT)&&(sizeof(dma_addr_t) == 8)) {
- pci_set_dma_mask(pdev, 0xffffffffffffffff);
+ pci_set_dma_mask(pdev, 0xffffffffffffffffULL);
adapter->has_64bit_addr = 1;
}
else {
-
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/