mmc-omap: add support for 16-bit and 32-bit registers
[safe/jmp/linux-2.6] / drivers / scsi / initio.c
index 5529518..a771416 100644 (file)
@@ -531,7 +531,7 @@ static void initio_read_eeprom(unsigned long base)
  *     initio_stop_bm          -       stop bus master
  *     @host: InitIO we are stopping
  *
- *     Stop any pending DMA operation, aborting the DMA if neccessary
+ *     Stop any pending DMA operation, aborting the DMA if necessary
  */
 
 static void initio_stop_bm(struct initio_host * host)
@@ -2856,7 +2856,7 @@ static int initio_probe_one(struct pci_dev *pdev,
                reg = 0;
        bios_seg = (bios_seg << 8) + ((u16) ((reg & 0xFF00) >> 8));
 
-       if (pci_set_dma_mask(pdev, DMA_32BIT_MASK)) {
+       if (pci_set_dma_mask(pdev, DMA_BIT_MASK(32))) {
                printk(KERN_WARNING  "i91u: Could not set 32 bit DMA mask\n");
                error = -ENODEV;
                goto out_disable_device;