|
@@ -1500,7 +1500,7 @@ pcnet32_probe_pci(struct pci_dev *pdev, const struct pci_device_id *ent)
|
|
return -ENODEV;
|
|
return -ENODEV;
|
|
}
|
|
}
|
|
|
|
|
|
- if (!pci_dma_supported(pdev, PCNET32_DMA_MASK)) {
|
|
|
|
|
|
+ if (!pci_set_dma_mask(pdev, PCNET32_DMA_MASK)) {
|
|
if (pcnet32_debug & NETIF_MSG_PROBE)
|
|
if (pcnet32_debug & NETIF_MSG_PROBE)
|
|
pr_err("architecture does not support 32bit PCI busmaster DMA\n");
|
|
pr_err("architecture does not support 32bit PCI busmaster DMA\n");
|
|
return -ENODEV;
|
|
return -ENODEV;
|