[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] 2.6.30-rc4: missing PCI_DMA_BUS_IS_PHYS
Steve Magnani wrote:
> Michal,
>
> I'm working on porting the mainline kernel into our environment and ran
> across the following compile error:
>
> drivers/scsi/scsi_lib.c: In function `scsi_calculate_bounce_limit':
> drivers/scsi/scsi_lib.c:1626: error: `PCI_DMA_BUS_IS_PHYS' undeclared
> (first use in this function)
>
> Based on what I see in other architectures I think arch/microblaze/
> include/asm/pci.h needs something like this added:
>
> /* The PCI address space does equal the physical memory
> * address space (no IOMMU). The IDE and SCSI device layers use
> * this boolean for bounce buffer decisions.
> */
> #define PCI_DMA_BUS_IS_PHYS (1)
this should go to pci.h which is currently pointed to io.h. That mean you want to use
scsi. This is far far away from changes which I need to do.
BTW: Please send me full patch in git format + proper commit message, I look at it and do decision
if I add it to any branch or just keep in my queue.
Thanks,
Michal
>
> Regards,
> ------------------------------------------------------------------------
> Steven J. Magnani "I claim this network for MARS!
> www.digidescorp.com Earthling, return my space modulator!"
>
> #include <standard.disclaimer>
>
>
> ___________________________
> microblaze-uclinux mailing list
> microblaze-uclinux@xxxxxxxxxxxxxx
> Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
>
>
--
Michal Simek, Ing. (M.Eng)
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com p: +61-7-30090663,+42-0-721842854 f: +61-7-30090663
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/