Commit e34121f7 authored by Marc Zyngier's avatar Marc Zyngier Committed by Linus Torvalds

[PATCH] EISA: PCI-EISA dma_mask

- Use parent bridge device dma_mask as default for each discovered
  device.
parent e0e5907e
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
static struct eisa_root_device pci_eisa_root; static struct eisa_root_device pci_eisa_root;
static int __devinit pci_eisa_init (struct pci_dev *pdev, static int __devinit pci_eisa_init (struct pci_dev *pdev,
const struct pci_device_id *ent) const struct pci_device_id *ent)
{ {
int rc; int rc;
...@@ -35,6 +35,7 @@ static int __devinit pci_eisa_init (struct pci_dev *pdev, ...@@ -35,6 +35,7 @@ static int __devinit pci_eisa_init (struct pci_dev *pdev,
pci_eisa_root.res = pdev->bus->resource[0]; pci_eisa_root.res = pdev->bus->resource[0];
pci_eisa_root.bus_base_addr = pdev->bus->resource[0]->start; pci_eisa_root.bus_base_addr = pdev->bus->resource[0]->start;
pci_eisa_root.slots = EISA_MAX_SLOTS; pci_eisa_root.slots = EISA_MAX_SLOTS;
pci_eisa_root.dma_mask = pdev->dma_mask;
if (eisa_root_register (&pci_eisa_root)) { if (eisa_root_register (&pci_eisa_root)) {
printk (KERN_ERR "pci_eisa : Could not register EISA root\n"); printk (KERN_ERR "pci_eisa : Could not register EISA root\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment