ar71xx: ag71xx: use dynamically allocated buffer for napi_stats
[openwrt.git] / package / ep80579-drivers / patches / 105-iegbe_new_dma_masks.patch
1 --- a/Embedded/src/GbE/iegbe_main.c
2 +++ b/Embedded/src/GbE/iegbe_main.c
3 @@ -775,13 +775,13 @@ static int __devinit iegbe_probe(struct
4 if (err)
5 return err;
6
7 - if (!pci_set_dma_mask(pdev, DMA_64BIT_MASK) &&
8 - !pci_set_consistent_dma_mask(pdev, DMA_64BIT_MASK)) {
9 + if (!pci_set_dma_mask(pdev, DMA_BIT_MASK(64)) &&
10 + !pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64))) {
11 pci_using_dac = 1;
12 } else {
13 - err = pci_set_dma_mask(pdev, DMA_32BIT_MASK);
14 + err = pci_set_dma_mask(pdev, DMA_BIT_MASK(32));
15 if (err) {
16 - err = pci_set_consistent_dma_mask(pdev, DMA_32BIT_MASK);
17 + err = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(32));
18 if (err) {
19 E1000_ERR("No usable DMA configuration, "
20 "aborting\n");
This page took 0.043399 seconds and 5 git commands to generate.