Skip to content
Commit 4d7155b9 authored by Karsten Keil's avatar Karsten Keil Committed by David S. Miller
Browse files

e1000: Fix PCI enable to honor the need_ioport flag



On machine were no IO ports are assigned the call
to pci_enable_device() will fail, even if need_ioport
is false, we need to use pci_enable_device_mem() here.

Signed-off-by: default avatarKarsten Keil <kkeil@suse.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 714c48f1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment