]> err.no Git - linux-2.6/blobdiff - arch/powerpc/kernel/pci_64.c
[POWERPC] Fix initialization and usage of dma_mask
[linux-2.6] / arch / powerpc / kernel / pci_64.c
index a97e23ac197639bd17eda467be127214f863af38..291ffbc360c9a023f30a6b40b4c77b9d272ebb31 100644 (file)
@@ -313,6 +313,7 @@ struct pci_dev *of_create_pci_dev(struct device_node *node,
 
        dev->current_state = 4;         /* unknown power state */
        dev->error_state = pci_channel_io_normal;
+       dev->dma_mask = 0xffffffff;
 
        if (!strcmp(type, "pci") || !strcmp(type, "pciex")) {
                /* a PCI-PCI bridge */