From: Kristian Høgsberg Date: Tue, 5 Jun 2007 23:27:05 +0000 (-0400) Subject: firewire: Fix pci resume to not pass in a __be32 config rom. X-Git-Tag: v2.6.24-rc2~66 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bd243c4d93583cd8e1786c0bd6982f6f9f94ab6;p=pandora-kernel.git firewire: Fix pci resume to not pass in a __be32 config rom. The ohci_enable() function shared between pci_probe and pci_resume takes a host endian config rom, but ohci->config_rom is __be32. This sets up the config rom in the wrong endian on little endian machine, specifically, BusOptions will be initialized to a 0 max receive size. This patch changes the way we reuse the config rom so that we avoid this problem. Signed-off-by: Kristian Hoegsberg Signed-off-by: Stefan Richter --- Reading git-diff-tree failed