[Bugme-janitors] [Bug 14603] New: Commit 4ae0ff606 break probing of cardbus

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Sat Nov 14 07:43:37 PST 2009


http://bugzilla.kernel.org/show_bug.cgi?id=14603

           Summary: Commit 4ae0ff606 break probing of cardbus
           Product: Platform Specific/Hardware
           Version: 2.5
    Kernel Version: 2.6.29.6+
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: PPC-32
        AssignedTo: platform_ppc-32 at kernel-bugs.osdl.org
        ReportedBy: blofeldus at yahoo.com
                CC: benh at kernel.crashing.org
        Regression: Yes


Cardbus devices fail probe with error -5 due to NULL archdata.dma_ops.

For example in sata_sil.c function sil_init_one

    rc = pci_set_dma_mask(pdev, ATA_DMA_MASK);

which returns -5 (-EIO) because

get_dma_ops(&pdev->dev);

returns NULL.

Adding set_dma_ops(dev, &dma_direct_ops) to the driver fixes the problem, but I
don't know if that is the right place to add the call or if that is
multi-platform appropriate. Perhaps the cardbus bridge (yenta) should have the
call?


I think this is the same as https://bugs.launchpad.net/ubuntu/+bug/421940
except that it is a rt2500 card.

Also http://bugzilla.kernel.org/show_bug.cgi?id=14121 except that it is for
ath5k.

-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the Bugme-janitors mailing list