[lkml]   [2007]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: libata & no PCI: dma_[un]map_single undefined
    On Tue, Jun 05, 2007 at 04:50:56PM +0100, Alan Cox wrote:
    > > If you don't have DMA capabilities, does libata still need ->pad and
    > > ->pad_dma set?
    > It shouldn't - nor the prd. You don't need to use the default
    > ata_port_start in this case. I've just added ata_sff_port_start to my
    > tree which figures out which to allocate for SFF devices.

    I had already sorted out the PRD, but I couldn't convince myself that
    the pad stuff wasn't used, so for pata_icside I had:

    static int pata_icside_port_start(struct ata_port *ap)
    /* No PRD to alloc */
    return ata_pad_alloc(ap, ap->dev);

    Therefore, I can just arrange for this to do nothing and just return
    zero. A similar fix for pata_platform should probably also be in order
    as well.

    Russell King
    Linux kernel 2.6 ARM Linux -
    maintainer of:
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-06-05 17:55    [W:0.021 / U:8.952 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site