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

[microblaze-uclinux] 2.6.30-rc4: missing PCI_DMA_BUS_IS_PHYS



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)


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/