e1000: Fix PCI enable to honor the need_ioport flag
authorKarsten Keil <kkeil@suse.de>
Tue, 3 Feb 2009 23:18:01 +0000 (15:18 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Feb 2009 23:18:01 +0000 (15:18 -0800)
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: Karsten Keil <kkeil@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found