Re: PCI hotplug problems: how to debug?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 16 November 2009 12:54:17 pm Ira W. Snyder wrote:

> +	pci_read_config_word(dev, 0xc0, &word1);
> +	pci_read_config_word(dev, 0xc2, &word2);
> +	dev_dbg(&dev->dev, "CNB20LE: noPF 0x%.4x 0x%.4x\n", word1, word2);
> +	if (word1 != word2) {
> +		start = word1;
> +		end   = word2;

This looks much closer to something that might work, but I think
you forgot the "(word1 << 16) | 0x0000" stuff here.  And it got
added to the IO aperture, where it shouldn't be.

Bjorn
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux