]> git.hungrycats.org Git - linux/commitdiff
[PATCH] megaraid ULL fix.
authorDave Jones <davej@redhat.com>
Mon, 29 Sep 2003 03:37:45 +0000 (20:37 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 29 Sep 2003 03:37:45 +0000 (20:37 -0700)
drivers/scsi/megaraid.c

index f10b3068ebc3fba37427c776dfea3a6d83f85c33..033a89721d0bd6b7be5bf9af466f14ec2688a281 100644 (file)
@@ -586,7 +586,7 @@ mega_find_card(Scsi_Host_Template *host_template, u16 pci_vendor,
 
                /* 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  {