Initialize a device for use with memory space
int pci_enable_device_mem(struct pci_dev * dev);
dev
PCI device to be initialized
Initialize device before it's used by a driver. Ask low-level code to enable Memory resources. Wake up the device if it was suspended. Beware, this function can fail.