summaryrefslogtreecommitdiff
path: root/drivers/mtd/maps/ck804xrom.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2014-04-30 04:37:47 +0400
committerBjorn Helgaas <bhelgaas@google.com>2014-05-23 20:47:20 +0400
commit31e9dd2565a6e27a3e698d7e3adf929db8d6c767 (patch)
tree7d3eefcac66a13eab42540e4a491b67dedde0b95 /drivers/mtd/maps/ck804xrom.c
parent72dc5601fe5fec37cc1bd0efb19d99948fe7e54c (diff)
downloadlinux-31e9dd2565a6e27a3e698d7e3adf929db8d6c767.tar.xz
PCI: Don't set BAR to zero if dma_addr_t is too small
If a BAR is above 4GB and our dma_addr_t is too small, don't clear the BAR to zero: that doesn't disable the BAR, and it makes it more likely that the BAR will conflict with things if we turn on the memory enable bit (as we will at "out:" if the device was already enabled at the handoff). We should also print the BAR info and its original size so we can follow the process when we try to assign space to it. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/mtd/maps/ck804xrom.c')
0 files changed, 0 insertions, 0 deletions