diff options
-rw-r--r-- | nvlib.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -327,6 +327,7 @@ struct nv_device : public nv_region pci_device_map_range(dev->pci, dev->pci->regions[ramin_bar].base_addr, dev->pci->regions[ramin_bar].size, PCI_DEV_MAP_FLAG_WRITABLE, (void**)&ptr); if (!ptr) throw std::runtime_error("Failed to init RAMIN mapping"); + cout << "RAMIN bar " << ramin_bar << " @ " << ptr << ": " << size << endl; } /* On older cards (or if the above failed), create a map covering |