Re: iommu-helpers.h patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 28, 2007 at 03:27:26PM +0000, rubisher wrote:
> Anyway cnt variable was gone:
> # grep cnt drivers/parisc/iommu-helpers.h
>                            (unsigned long)sg_dma_address(startsg), cnt,

oh! that's definitely wrong too then...

> the interesting hunk's part was:
> -		int cnt = sg_dma_len(startsg);
> -		sg_dma_len(startsg) = 0;
> +		unsigned long vaddr;
> +		long size;

Yup...

> (and make a kernel with DEBUG_CCIO_RUN_SG failed with an error at this 
> place, so we need to patch ;-)
>
>> "cnt" was the thing I needed/wanted dumped.
> So may be something like:
>
>                 DBG_RUN_SG(" %d : %08lx/%05x %08lx/%05x\n", nents,
> -                          (unsigned long)sg_dma_address(startsg), cnt,
> +                          (unsigned long)sg_dma_address(startsg), 
> sg_dma_len(startsg),
>                            sg_virt_addr(startsg), startsg->length
>                 );

Yeah, that would be better I think.

grant
-
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux