Comment 15 for bug 659143

Revision history for this message
Daniel T Chen (crimsun) wrote :

commit 412b31334b831a8c2909afaca017c5a236ac2dd0
Author: Wolfgang Kufner <email address hidden>
Date: Mon Dec 13 12:39:39 2010 +0100

    rt2x00: Fix firmware loading regression on x86_64.

    Commit 6175ddf06b6172046a329e3abfd9c901a43efd2e changes the way
    memcpy_toio() works for x86_64, causing firmware loading to fail for
    some Ralink WLAN devices with the rt2800pci driver since linux 2.6.34.
    This causes the log message: "phy0 -> rt2800pci_load_firmware: Error -
    PBF system register not ready.".

    Fix this by using __iowrite32_copy instead of memcpy_toio().

    Signed-off-by: Wolfgang Kufner <email address hidden>
    Signed-off-by: Ivo van Doorn <email address hidden>
    Signed-off-by: John W. Linville <email address hidden>