dev pci min works, non pci dev doesnt

This commit is contained in:
Ciro Santilli
2017-06-25 09:08:03 +01:00
parent 2df31fe7dc
commit 6b85ade34c
4 changed files with 168 additions and 0 deletions

View File

@@ -242,6 +242,7 @@ static int pci_probe(struct pci_dev *dev, const struct pci_device_id *id)
pr_info("irq %x\n", pci_irq);
/* Initial value of the IO memory. */
pr_info("mmio %p %llx\n", mmio, (unsigned long long)virt_to_phys(mmio));
for (i = 0; i < 0x28; i += 4) {
pr_info("io %x %x\n", i, ioread32((void*)(mmio + i)));
}