diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl3945-base.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl3945-base.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index 9d5f97dd7c73..ce729281ff62 100644 --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c | |||
@@ -4998,9 +4998,9 @@ static int iwl3945_pci_probe(struct pci_dev *pdev, const struct pci_device_id *e | |||
4998 | 4998 | ||
4999 | pci_set_master(pdev); | 4999 | pci_set_master(pdev); |
5000 | 5000 | ||
5001 | err = pci_set_dma_mask(pdev, DMA_32BIT_MASK); | 5001 | err = pci_set_dma_mask(pdev, DMA_BIT_MASK(32)); |
5002 | if (!err) | 5002 | if (!err) |
5003 | err = pci_set_consistent_dma_mask(pdev, DMA_32BIT_MASK); | 5003 | err = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(32)); |
5004 | if (err) { | 5004 | if (err) { |
5005 | IWL_WARN(priv, "No suitable DMA available.\n"); | 5005 | IWL_WARN(priv, "No suitable DMA available.\n"); |
5006 | goto out_pci_disable_device; | 5006 | goto out_pci_disable_device; |