From: Karsten Keil Date: Tue, 3 Feb 2009 23:18:01 +0000 (-0800) Subject: e1000: Fix PCI enable to honor the need_ioport flag X-Git-Tag: v2.6.27.16~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8863dd91d9bdd57efaeb3b47c6466b3a7c1b031;p=pandora-kernel.git e1000: Fix PCI enable to honor the need_ioport flag commit 4d7155b932b8129c72e2f2714890e20b2a05e0b7 upstream. 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 Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed