]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/scsi/a100u2w.c
Merge branch 'for-2.6.30' into for-2.6.31
[mv-sheeva.git] / drivers / scsi / a100u2w.c
index 3c298c7253eece8e742d7b9373357096f4561530..208d6df9ed5905d36b8fa56a82e95ae2f085ac5a 100644 (file)
@@ -633,7 +633,7 @@ static int orc_device_reset(struct orc_host * host, struct scsi_cmnd *cmd, unsig
                return FAILED;
        }
 
-       /* Reset device is handled by the firmare, we fill in an SCB and
+       /* Reset device is handled by the firmware, we fill in an SCB and
           fire it at the controller, it does the rest */
        scb->opcode = ORC_BUSDEVRST;
        scb->target = target;
@@ -1094,7 +1094,7 @@ static int __devinit inia100_probe_one(struct pci_dev *pdev,
 
        if (pci_enable_device(pdev))
                goto out;
-       if (pci_set_dma_mask(pdev, DMA_32BIT_MASK)) {
+       if (pci_set_dma_mask(pdev, DMA_BIT_MASK(32))) {
                printk(KERN_WARNING "Unable to set 32bit DMA "
                                    "on inia100 adapter, ignoring.\n");
                goto out_disable_device;