X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=drivers%2Fscsi%2Fa100u2w.c;h=208d6df9ed5905d36b8fa56a82e95ae2f085ac5a;hb=48fb4fdd6b667ebeccbc6cde0a8a5a148d5c6b68;hp=84bb61628372faca2e104baf3911aab33727e752;hpb=3a628b0fd42f7eaf9d052447784d48ceae9ffb8e;p=safe%2Fjmp%2Flinux-2.6 diff --git a/drivers/scsi/a100u2w.c b/drivers/scsi/a100u2w.c index 84bb616..208d6df 100644 --- a/drivers/scsi/a100u2w.c +++ b/drivers/scsi/a100u2w.c @@ -54,7 +54,7 @@ * 9/28/04 Christoph Hellwig * - merge the two source files * - remove internal queueing code - * 14/06/07 Alan Cox + * 14/06/07 Alan Cox * - Grand cleanup and Linuxisation */ @@ -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;