[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Re: Re: 3ware 9650 and Xen 3.1
On 14/9/07 23:41, "Shaun R." <mailinglists@xxxxxxxxxxxxxxxx> wrote: > ok, i finally got it to boot, i had to do some digging and used the previous > 3ware driver version and it works, not here's the diff of the two... doesnt > look like too much was changed so i figured i would paste it and see if you > had a idea about if the problem was with 3wares driver or somthing in the > xen kernel patch... Following chunk is the only one that could really have an effect. What happens if you revert it? -- Keir > - retval = pci_set_dma_mask(pdev, sizeof(dma_addr_t) > 4 ? > DMA_64BIT_MASK : DMA_32BIT_MASK); > - if (retval) { > - TW_PRINTK(host, TW_DRIVER, 0x23, "Failed to set dma mask"); > - goto out_disable_device; > - } > + 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_32BIT_MASK) > + || pci_set_consistent_dma_mask(pdev, DMA_32BIT_MASK)) { > + TW_PRINTK(host, TW_DRIVER, 0x23, "Failed to set dma > mask"); > + retval = -ENODEV; > + goto out_disable_device; > + } _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |