diff options
author | James Bottomley <jejb@mulgrave.(none)> | 2005-10-28 12:41:41 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-10-28 12:41:41 -0400 |
commit | 38a9a621aba953ddb8051547e98c10ec3c741312 (patch) | |
tree | 53fc96a2902d2c5bf2a82d97d99b78570c76291e /drivers/scsi/aacraid/linit.c | |
parent | 27d1097d39509494706eaa2620ef3b1e780a3224 (diff) | |
parent | e75d51761debffbc5e556e02c8ceda4f8c1a3e83 (diff) |
Merge HEAD from ../scsi-misc-2.6-old
Diffstat (limited to 'drivers/scsi/aacraid/linit.c')
-rw-r--r-- | drivers/scsi/aacraid/linit.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c index a1f9ceef0ac9..c235d0c0e7a7 100644 --- a/drivers/scsi/aacraid/linit.c +++ b/drivers/scsi/aacraid/linit.c | |||
@@ -752,8 +752,8 @@ static int __devinit aac_probe_one(struct pci_dev *pdev, | |||
752 | if (error) | 752 | if (error) |
753 | goto out; | 753 | goto out; |
754 | 754 | ||
755 | if (pci_set_dma_mask(pdev, 0xFFFFFFFFULL) || | 755 | if (pci_set_dma_mask(pdev, DMA_32BIT_MASK) || |
756 | pci_set_consistent_dma_mask(pdev, 0xFFFFFFFFULL)) | 756 | pci_set_consistent_dma_mask(pdev, DMA_32BIT_MASK)) |
757 | goto out; | 757 | goto out; |
758 | /* | 758 | /* |
759 | * If the quirk31 bit is set, the adapter needs adapter | 759 | * If the quirk31 bit is set, the adapter needs adapter |
@@ -797,9 +797,9 @@ static int __devinit aac_probe_one(struct pci_dev *pdev, | |||
797 | * address space. | 797 | * address space. |
798 | */ | 798 | */ |
799 | if (aac_drivers[index].quirks & AAC_QUIRK_31BIT) | 799 | if (aac_drivers[index].quirks & AAC_QUIRK_31BIT) |
800 | if (pci_set_dma_mask(pdev, 0xFFFFFFFFULL)) | 800 | if (pci_set_dma_mask(pdev, DMA_32BIT_MASK)) |
801 | goto out_free_fibs; | 801 | goto out_deinit; |
802 | 802 | ||
803 | aac->maximum_num_channels = aac_drivers[index].channels; | 803 | aac->maximum_num_channels = aac_drivers[index].channels; |
804 | error = aac_get_adapter_info(aac); | 804 | error = aac_get_adapter_info(aac); |
805 | if (error < 0) | 805 | if (error < 0) |