aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <[email protected]>2007-11-16 18:37:38 +1100
committerJeff Garzik <[email protected]>2008-02-11 10:32:16 -0500
commit3c34ac36ac1084e571ef9b6fb1d6a5b10ccc1fd0 (patch)
tree5a5456b00c1a0bc5f9a7571539266783fd8ae8a6 /tools/perf/scripts/python
parent09dde54c6a69d4f9ea1213923b93aeae7020f8b6 (diff)
e1000: Fix for 32 bits platforms with 64 bits resources
The e1000 driver stores the content of the PCI resources into unsigned long's before ioremapping. This breaks on 32 bits platforms that support 64 bits MMIO resources such as ppc 44x. This fixes it by removing those temporary variables and passing directly the result of pci_resource_start/len to ioremap. The side effect is that I removed the assignments to the netdev fields mem_start, mem_end and base_addr, which are totally useless for PCI devices. Signed-off-by: Benjamin Herrenschmidt <[email protected]> -- drivers/net/e1000/e1000_main.c | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions