dma-mapping: replace all DMA_64BIT_MASK macro with DMA_BIT_MASK(64)
Replace all DMA_64BIT_MASK macro with DMA_BIT_MASK(64) Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
このコミットが含まれているのは:
@@ -1929,8 +1929,8 @@ static int cp_init_one (struct pci_dev *pdev, const struct pci_device_id *ent)
|
||||
|
||||
/* Configure DMA attributes. */
|
||||
if ((sizeof(dma_addr_t) > 4) &&
|
||||
!pci_set_consistent_dma_mask(pdev, DMA_64BIT_MASK) &&
|
||||
!pci_set_dma_mask(pdev, DMA_64BIT_MASK)) {
|
||||
!pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64)) &&
|
||||
!pci_set_dma_mask(pdev, DMA_BIT_MASK(64))) {
|
||||
pci_using_dac = 1;
|
||||
} else {
|
||||
pci_using_dac = 0;
|
||||
|
@@ -1161,7 +1161,7 @@ static int __devinit ace_init(struct net_device *dev)
|
||||
/*
|
||||
* Configure DMA attributes.
|
||||
*/
|
||||
if (!pci_set_dma_mask(pdev, DMA_64BIT_MASK)) {
|
||||
if (!pci_set_dma_mask(pdev, DMA_BIT_MASK(64))) {
|
||||
ap->pci_using_dac = 1;
|
||||
} else if (!pci_set_dma_mask(pdev, DMA_32BIT_MASK)) {
|
||||
ap->pci_using_dac = 0;
|
||||
|
@@ -7527,7 +7527,7 @@ bnx2_init_board(struct pci_dev *pdev, struct net_device *dev)
|
||||
if (CHIP_NUM(bp) == CHIP_NUM_5708)
|
||||
persist_dma_mask = dma_mask = DMA_40BIT_MASK;
|
||||
else
|
||||
persist_dma_mask = dma_mask = DMA_64BIT_MASK;
|
||||
persist_dma_mask = dma_mask = DMA_BIT_MASK(64);
|
||||
|
||||
/* Configure DMA attributes. */
|
||||
if (pci_set_dma_mask(pdev, dma_mask) == 0) {
|
||||
|
@@ -10979,9 +10979,9 @@ static int __devinit bnx2x_init_dev(struct pci_dev *pdev,
|
||||
goto err_out_release;
|
||||
}
|
||||
|
||||
if (pci_set_dma_mask(pdev, DMA_64BIT_MASK) == 0) {
|
||||
if (pci_set_dma_mask(pdev, DMA_BIT_MASK(64)) == 0) {
|
||||
bp->flags |= USING_DAC_FLAG;
|
||||
if (pci_set_consistent_dma_mask(pdev, DMA_64BIT_MASK) != 0) {
|
||||
if (pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64)) != 0) {
|
||||
printk(KERN_ERR PFX "pci_set_consistent_dma_mask"
|
||||
" failed, aborting\n");
|
||||
rc = -EIO;
|
||||
|
@@ -5074,10 +5074,10 @@ static int __devinit cas_init_one(struct pci_dev *pdev,
|
||||
|
||||
|
||||
/* Configure DMA attributes. */
|
||||
if (!pci_set_dma_mask(pdev, DMA_64BIT_MASK)) {
|
||||
if (!pci_set_dma_mask(pdev, DMA_BIT_MASK(64))) {
|
||||
pci_using_dac = 1;
|
||||
err = pci_set_consistent_dma_mask(pdev,
|
||||
DMA_64BIT_MASK);
|
||||
DMA_BIT_MASK(64));
|
||||
if (err < 0) {
|
||||
dev_err(&pdev->dev, "Unable to obtain 64-bit DMA "
|
||||
"for consistent allocations\n");
|
||||
|
@@ -1056,10 +1056,10 @@ static int __devinit init_one(struct pci_dev *pdev,
|
||||
goto out_disable_pdev;
|
||||
}
|
||||
|
||||
if (!pci_set_dma_mask(pdev, DMA_64BIT_MASK)) {
|
||||
if (!pci_set_dma_mask(pdev, DMA_BIT_MASK(64))) {
|
||||
pci_using_dac = 1;
|
||||
|
||||
if (pci_set_consistent_dma_mask(pdev, DMA_64BIT_MASK)) {
|
||||
if (pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64))) {
|
||||
CH_ERR("%s: unable to obtain 64-bit DMA for "
|
||||
"consistent allocations\n", pci_name(pdev));
|
||||
err = -ENODEV;
|
||||
|
@@ -3038,9 +3038,9 @@ static int __devinit init_one(struct pci_dev *pdev,
|
||||
goto out_release_regions;
|
||||
}
|
||||
|
||||
if (!pci_set_dma_mask(pdev, DMA_64BIT_MASK)) {
|
||||
if (!pci_set_dma_mask(pdev, DMA_BIT_MASK(64))) {
|
||||
pci_using_dac = 1;
|
||||
err = pci_set_consistent_dma_mask(pdev, DMA_64BIT_MASK);
|
||||
err = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64));
|
||||
if (err) {
|
||||
dev_err(&pdev->dev, "unable to obtain 64-bit DMA for "
|
||||
"coherent allocations\n");
|
||||
|
@@ -962,8 +962,8 @@ static int __devinit e1000_probe(struct pci_dev *pdev,
|
||||
if (err)
|
||||
return err;
|
||||
|
||||
if (!pci_set_dma_mask(pdev, DMA_64BIT_MASK) &&
|
||||
!pci_set_consistent_dma_mask(pdev, DMA_64BIT_MASK)) {
|
||||
if (!pci_set_dma_mask(pdev, DMA_BIT_MASK(64)) &&
|
||||
!pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64))) {
|
||||
pci_using_dac = 1;
|
||||
} else {
|
||||
err = pci_set_dma_mask(pdev, DMA_32BIT_MASK);
|
||||
|
@@ -4763,9 +4763,9 @@ static int __devinit e1000_probe(struct pci_dev *pdev,
|
||||
return err;
|
||||
|
||||
pci_using_dac = 0;
|
||||
err = pci_set_dma_mask(pdev, DMA_64BIT_MASK);
|
||||
err = pci_set_dma_mask(pdev, DMA_BIT_MASK(64));
|
||||
if (!err) {
|
||||
err = pci_set_consistent_dma_mask(pdev, DMA_64BIT_MASK);
|
||||
err = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64));
|
||||
if (!err)
|
||||
pci_using_dac = 1;
|
||||
} else {
|
||||
|
@@ -1154,9 +1154,9 @@ static int __devinit igb_probe(struct pci_dev *pdev,
|
||||
return err;
|
||||
|
||||
pci_using_dac = 0;
|
||||
err = pci_set_dma_mask(pdev, DMA_64BIT_MASK);
|
||||
err = pci_set_dma_mask(pdev, DMA_BIT_MASK(64));
|
||||
if (!err) {
|
||||
err = pci_set_consistent_dma_mask(pdev, DMA_64BIT_MASK);
|
||||
err = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64));
|
||||
if (!err)
|
||||
pci_using_dac = 1;
|
||||
} else {
|
||||
|
@@ -1226,10 +1226,10 @@ static int __devinit ioc3_probe(struct pci_dev *pdev,
|
||||
int err, pci_using_dac;
|
||||
|
||||
/* Configure DMA attributes. */
|
||||
err = pci_set_dma_mask(pdev, DMA_64BIT_MASK);
|
||||
err = pci_set_dma_mask(pdev, DMA_BIT_MASK(64));
|
||||
if (!err) {
|
||||
pci_using_dac = 1;
|
||||
err = pci_set_consistent_dma_mask(pdev, DMA_64BIT_MASK);
|
||||
err = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64));
|
||||
if (err < 0) {
|
||||
printk(KERN_ERR "%s: Unable to obtain 64 bit DMA "
|
||||
"for consistent allocations\n", pci_name(pdev));
|
||||
|
@@ -365,8 +365,8 @@ ixgb_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
|
||||
if (err)
|
||||
return err;
|
||||
|
||||
if (!(err = pci_set_dma_mask(pdev, DMA_64BIT_MASK)) &&
|
||||
!(err = pci_set_consistent_dma_mask(pdev, DMA_64BIT_MASK))) {
|
||||
if (!(err = pci_set_dma_mask(pdev, DMA_BIT_MASK(64))) &&
|
||||
!(err = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64)))) {
|
||||
pci_using_dac = 1;
|
||||
} else {
|
||||
if ((err = pci_set_dma_mask(pdev, DMA_32BIT_MASK)) ||
|
||||
|
@@ -4509,8 +4509,8 @@ static int __devinit ixgbe_probe(struct pci_dev *pdev,
|
||||
if (err)
|
||||
return err;
|
||||
|
||||
if (!pci_set_dma_mask(pdev, DMA_64BIT_MASK) &&
|
||||
!pci_set_consistent_dma_mask(pdev, DMA_64BIT_MASK)) {
|
||||
if (!pci_set_dma_mask(pdev, DMA_BIT_MASK(64)) &&
|
||||
!pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64))) {
|
||||
pci_using_dac = 1;
|
||||
} else {
|
||||
err = pci_set_dma_mask(pdev, DMA_32BIT_MASK);
|
||||
|
@@ -1076,7 +1076,7 @@ static int __mlx4_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
|
||||
|
||||
pci_set_master(pdev);
|
||||
|
||||
err = pci_set_dma_mask(pdev, DMA_64BIT_MASK);
|
||||
err = pci_set_dma_mask(pdev, DMA_BIT_MASK(64));
|
||||
if (err) {
|
||||
dev_warn(&pdev->dev, "Warning: couldn't set 64-bit PCI DMA mask.\n");
|
||||
err = pci_set_dma_mask(pdev, DMA_32BIT_MASK);
|
||||
@@ -1085,7 +1085,7 @@ static int __mlx4_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
|
||||
goto err_release_bar2;
|
||||
}
|
||||
}
|
||||
err = pci_set_consistent_dma_mask(pdev, DMA_64BIT_MASK);
|
||||
err = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64));
|
||||
if (err) {
|
||||
dev_warn(&pdev->dev, "Warning: couldn't set 64-bit "
|
||||
"consistent PCI DMA mask.\n");
|
||||
|
@@ -3792,7 +3792,7 @@ static int myri10ge_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
|
||||
|
||||
pci_set_master(pdev);
|
||||
dac_enabled = 1;
|
||||
status = pci_set_dma_mask(pdev, DMA_64BIT_MASK);
|
||||
status = pci_set_dma_mask(pdev, DMA_BIT_MASK(64));
|
||||
if (status != 0) {
|
||||
dac_enabled = 0;
|
||||
dev_err(&pdev->dev,
|
||||
@@ -3804,7 +3804,7 @@ static int myri10ge_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
|
||||
dev_err(&pdev->dev, "Error %d setting DMA mask\n", status);
|
||||
goto abort_with_enabled;
|
||||
}
|
||||
(void)pci_set_consistent_dma_mask(pdev, DMA_64BIT_MASK);
|
||||
(void)pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64));
|
||||
mgp->cmd = dma_alloc_coherent(&pdev->dev, sizeof(*mgp->cmd),
|
||||
&mgp->cmd_bus, GFP_KERNEL);
|
||||
if (mgp->cmd == NULL)
|
||||
|
@@ -1973,7 +1973,7 @@ static int __devinit ns83820_init_one(struct pci_dev *pci_dev,
|
||||
|
||||
/* See if we can set the dma mask early on; failure is fatal. */
|
||||
if (sizeof(dma_addr_t) == 8 &&
|
||||
!pci_set_dma_mask(pci_dev, DMA_64BIT_MASK)) {
|
||||
!pci_set_dma_mask(pci_dev, DMA_BIT_MASK(64))) {
|
||||
using_dac = 1;
|
||||
} else if (!pci_set_dma_mask(pci_dev, DMA_32BIT_MASK)) {
|
||||
using_dac = 0;
|
||||
|
@@ -3934,9 +3934,9 @@ static int __devinit ql3xxx_probe(struct pci_dev *pdev,
|
||||
|
||||
pci_set_master(pdev);
|
||||
|
||||
if (!pci_set_dma_mask(pdev, DMA_64BIT_MASK)) {
|
||||
if (!pci_set_dma_mask(pdev, DMA_BIT_MASK(64))) {
|
||||
pci_using_dac = 1;
|
||||
err = pci_set_consistent_dma_mask(pdev, DMA_64BIT_MASK);
|
||||
err = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64));
|
||||
} else if (!(err = pci_set_dma_mask(pdev, DMA_32BIT_MASK))) {
|
||||
pci_using_dac = 0;
|
||||
err = pci_set_consistent_dma_mask(pdev, DMA_32BIT_MASK);
|
||||
|
@@ -3726,9 +3726,9 @@ static int __devinit ql_init_device(struct pci_dev *pdev,
|
||||
}
|
||||
|
||||
pci_set_master(pdev);
|
||||
if (!pci_set_dma_mask(pdev, DMA_64BIT_MASK)) {
|
||||
if (!pci_set_dma_mask(pdev, DMA_BIT_MASK(64))) {
|
||||
set_bit(QL_DMA64, &qdev->flags);
|
||||
err = pci_set_consistent_dma_mask(pdev, DMA_64BIT_MASK);
|
||||
err = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64));
|
||||
} else {
|
||||
err = pci_set_dma_mask(pdev, DMA_32BIT_MASK);
|
||||
if (!err)
|
||||
|
@@ -2046,7 +2046,7 @@ rtl8169_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
|
||||
tp->cp_cmd = PCIMulRW | RxChkSum;
|
||||
|
||||
if ((sizeof(dma_addr_t) > 4) &&
|
||||
!pci_set_dma_mask(pdev, DMA_64BIT_MASK) && use_dac) {
|
||||
!pci_set_dma_mask(pdev, DMA_BIT_MASK(64)) && use_dac) {
|
||||
tp->cp_cmd |= PCIDAC;
|
||||
dev->features |= NETIF_F_HIGHDMA;
|
||||
} else {
|
||||
|
@@ -7775,11 +7775,11 @@ s2io_init_nic(struct pci_dev *pdev, const struct pci_device_id *pre)
|
||||
return ret;
|
||||
}
|
||||
|
||||
if (!pci_set_dma_mask(pdev, DMA_64BIT_MASK)) {
|
||||
if (!pci_set_dma_mask(pdev, DMA_BIT_MASK(64))) {
|
||||
DBG_PRINT(INIT_DBG, "s2io_init_nic: Using 64bit DMA\n");
|
||||
dma_flag = TRUE;
|
||||
if (pci_set_consistent_dma_mask
|
||||
(pdev, DMA_64BIT_MASK)) {
|
||||
(pdev, DMA_BIT_MASK(64))) {
|
||||
DBG_PRINT(ERR_DBG,
|
||||
"Unable to obtain 64bit DMA for \
|
||||
consistent allocations\n");
|
||||
|
@@ -3912,9 +3912,9 @@ static int __devinit skge_probe(struct pci_dev *pdev,
|
||||
|
||||
pci_set_master(pdev);
|
||||
|
||||
if (!pci_set_dma_mask(pdev, DMA_64BIT_MASK)) {
|
||||
if (!pci_set_dma_mask(pdev, DMA_BIT_MASK(64))) {
|
||||
using_dac = 1;
|
||||
err = pci_set_consistent_dma_mask(pdev, DMA_64BIT_MASK);
|
||||
err = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64));
|
||||
} else if (!(err = pci_set_dma_mask(pdev, DMA_32BIT_MASK))) {
|
||||
using_dac = 0;
|
||||
err = pci_set_consistent_dma_mask(pdev, DMA_32BIT_MASK);
|
||||
|
@@ -4374,9 +4374,9 @@ static int __devinit sky2_probe(struct pci_dev *pdev,
|
||||
pci_set_master(pdev);
|
||||
|
||||
if (sizeof(dma_addr_t) > sizeof(u32) &&
|
||||
!(err = pci_set_dma_mask(pdev, DMA_64BIT_MASK))) {
|
||||
!(err = pci_set_dma_mask(pdev, DMA_BIT_MASK(64)))) {
|
||||
using_dac = 1;
|
||||
err = pci_set_consistent_dma_mask(pdev, DMA_64BIT_MASK);
|
||||
err = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64));
|
||||
if (err < 0) {
|
||||
dev_err(&pdev->dev, "unable to obtain 64 bit DMA "
|
||||
"for consistent allocations\n");
|
||||
|
@@ -3042,7 +3042,7 @@ static int __devinit gem_init_one(struct pci_dev *pdev,
|
||||
*/
|
||||
if (pdev->vendor == PCI_VENDOR_ID_SUN &&
|
||||
pdev->device == PCI_DEVICE_ID_SUN_GEM &&
|
||||
!pci_set_dma_mask(pdev, DMA_64BIT_MASK)) {
|
||||
!pci_set_dma_mask(pdev, DMA_BIT_MASK(64))) {
|
||||
pci_using_dac = 1;
|
||||
} else {
|
||||
err = pci_set_dma_mask(pdev, DMA_32BIT_MASK);
|
||||
|
@@ -1941,8 +1941,8 @@ bdx_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
|
||||
if ((err = pci_enable_device(pdev))) /* it trigers interrupt, dunno why. */
|
||||
goto err_pci; /* it's not a problem though */
|
||||
|
||||
if (!(err = pci_set_dma_mask(pdev, DMA_64BIT_MASK)) &&
|
||||
!(err = pci_set_consistent_dma_mask(pdev, DMA_64BIT_MASK))) {
|
||||
if (!(err = pci_set_dma_mask(pdev, DMA_BIT_MASK(64))) &&
|
||||
!(err = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64)))) {
|
||||
pci_using_dac = 1;
|
||||
} else {
|
||||
if ((err = pci_set_dma_mask(pdev, DMA_32BIT_MASK)) ||
|
||||
|
@@ -31,6 +31,7 @@
|
||||
#include <linux/vmalloc.h>
|
||||
#include <linux/firmware.h>
|
||||
#include <asm/byteorder.h>
|
||||
#include <linux/dma-mapping.h>
|
||||
|
||||
/* Compile Time Switches */
|
||||
/* start */
|
||||
@@ -98,10 +99,6 @@
|
||||
#define READ_REG(pp, reg) readl(pp->pBdxRegs + reg)
|
||||
#define WRITE_REG(pp, reg, val) writel(val, pp->pBdxRegs + reg)
|
||||
|
||||
#ifndef DMA_64BIT_MASK
|
||||
# define DMA_64BIT_MASK 0xffffffffffffffffULL
|
||||
#endif
|
||||
|
||||
#ifndef DMA_32BIT_MASK
|
||||
# define DMA_32BIT_MASK 0x00000000ffffffffULL
|
||||
#endif
|
||||
|
@@ -13232,10 +13232,10 @@ static int __devinit tg3_init_one(struct pci_dev *pdev,
|
||||
else if (tp->tg3_flags & TG3_FLAG_40BIT_DMA_BUG) {
|
||||
persist_dma_mask = dma_mask = DMA_40BIT_MASK;
|
||||
#ifdef CONFIG_HIGHMEM
|
||||
dma_mask = DMA_64BIT_MASK;
|
||||
dma_mask = DMA_BIT_MASK(64);
|
||||
#endif
|
||||
} else
|
||||
persist_dma_mask = dma_mask = DMA_64BIT_MASK;
|
||||
persist_dma_mask = dma_mask = DMA_BIT_MASK(64);
|
||||
|
||||
/* Configure DMA attributes. */
|
||||
if (dma_mask > DMA_32BIT_MASK) {
|
||||
|
@@ -1180,7 +1180,7 @@ usbnet_probe (struct usb_interface *udev, const struct usb_device_id *prod)
|
||||
#if 0
|
||||
// dma_supported() is deeply broken on almost all architectures
|
||||
// possible with some EHCI controllers
|
||||
if (dma_supported (&udev->dev, DMA_64BIT_MASK))
|
||||
if (dma_supported (&udev->dev, DMA_BIT_MASK(64)))
|
||||
net->features |= NETIF_F_HIGHDMA;
|
||||
#endif
|
||||
|
||||
|
@@ -772,7 +772,7 @@ static u64 supported_dma_mask(struct b43_wldev *dev)
|
||||
|
||||
tmp = b43_read32(dev, SSB_TMSHIGH);
|
||||
if (tmp & SSB_TMSHIGH_DMA64)
|
||||
return DMA_64BIT_MASK;
|
||||
return DMA_BIT_MASK(64);
|
||||
mmio_base = b43_dmacontroller_base(0, 0);
|
||||
b43_write32(dev, mmio_base + B43_DMA32_TXCTL, B43_DMA32_TXADDREXT_MASK);
|
||||
tmp = b43_read32(dev, mmio_base + B43_DMA32_TXCTL);
|
||||
@@ -788,7 +788,7 @@ static enum b43_dmatype dma_mask_to_engine_type(u64 dmamask)
|
||||
return B43_DMA_30BIT;
|
||||
if (dmamask == DMA_32BIT_MASK)
|
||||
return B43_DMA_32BIT;
|
||||
if (dmamask == DMA_64BIT_MASK)
|
||||
if (dmamask == DMA_BIT_MASK(64))
|
||||
return B43_DMA_64BIT;
|
||||
B43_WARN_ON(1);
|
||||
return B43_DMA_30BIT;
|
||||
@@ -999,7 +999,7 @@ static int b43_dma_set_mask(struct b43_wldev *dev, u64 mask)
|
||||
err = ssb_dma_set_mask(dev->dev, mask);
|
||||
if (!err)
|
||||
break;
|
||||
if (mask == DMA_64BIT_MASK) {
|
||||
if (mask == DMA_BIT_MASK(64)) {
|
||||
mask = DMA_32BIT_MASK;
|
||||
fallback = 1;
|
||||
continue;
|
||||
|
@@ -846,7 +846,7 @@ static u64 supported_dma_mask(struct b43legacy_wldev *dev)
|
||||
|
||||
tmp = b43legacy_read32(dev, SSB_TMSHIGH);
|
||||
if (tmp & SSB_TMSHIGH_DMA64)
|
||||
return DMA_64BIT_MASK;
|
||||
return DMA_BIT_MASK(64);
|
||||
mmio_base = b43legacy_dmacontroller_base(0, 0);
|
||||
b43legacy_write32(dev,
|
||||
mmio_base + B43legacy_DMA32_TXCTL,
|
||||
@@ -865,7 +865,7 @@ static enum b43legacy_dmatype dma_mask_to_engine_type(u64 dmamask)
|
||||
return B43legacy_DMA_30BIT;
|
||||
if (dmamask == DMA_32BIT_MASK)
|
||||
return B43legacy_DMA_32BIT;
|
||||
if (dmamask == DMA_64BIT_MASK)
|
||||
if (dmamask == DMA_BIT_MASK(64))
|
||||
return B43legacy_DMA_64BIT;
|
||||
B43legacy_WARN_ON(1);
|
||||
return B43legacy_DMA_30BIT;
|
||||
@@ -1042,7 +1042,7 @@ static int b43legacy_dma_set_mask(struct b43legacy_wldev *dev, u64 mask)
|
||||
err = ssb_dma_set_mask(dev->dev, mask);
|
||||
if (!err)
|
||||
break;
|
||||
if (mask == DMA_64BIT_MASK) {
|
||||
if (mask == DMA_BIT_MASK(64)) {
|
||||
mask = DMA_32BIT_MASK;
|
||||
fallback = 1;
|
||||
continue;
|
||||
|
新しいイシューから参照
ユーザーをブロックする