Re: problem with blk_queue_bounce_limit()

David Mosberger
2003-06-07T07:07:17Z

>>>>> On Fri, 06 Jun 2003 23:44:01 -0700 (PDT), "David S. Miller" <davem@redhat.com> said:

DaveM> This sounds all very dramatic, but try as I might, all I
DaveM> find is three places where PCI_DMA_BUS_IS_PHYS is used:

DaveM> Fix your grep,

What am I missing?

--david

$ find . -type f | xargs fgrep PCI_DMA_BUS_IS_PHYS | fgrep -v /SCCS/
./drivers/ide/ide-lib.c: if (!PCI_DMA_BUS_IS_PHYS)
./drivers/net/tg3.c:#ifndef PCI_DMA_BUS_IS_PHYS
./drivers/net/tg3.c:#define PCI_DMA_BUS_IS_PHYS 1
./drivers/net/tg3.c:#if !PCI_DMA_BUS_IS_PHYS
./drivers/net/tg3.c:#if !PCI_DMA_BUS_IS_PHYS
./drivers/scsi/scsi_lib.c: if (PCI_DMA_BUS_IS_PHYS && host_dev && host_dev->dma_mask)
./include/asm-alpha/pci.h:#define PCI_DMA_BUS_IS_PHYS 0
./include/asm-arm/pci.h:#define PCI_DMA_BUS_IS_PHYS (0)
./include/asm-i386/pci.h:#define PCI_DMA_BUS_IS_PHYS (1)
./include/asm-ia64/pci.h: * PCI_DMA_BUS_IS_PHYS should be set to 1 if there is necessarily a direct corespondence
./include/asm-ia64/pci.h:#define PCI_DMA_BUS_IS_PHYS pci_dma_bus_is_phys
./include/asm-m68k/pci.h:#define PCI_DMA_BUS_IS_PHYS (1)
./include/asm-parisc/pci.h:#define PCI_DMA_BUS_IS_PHYS (1)
./include/asm-ppc/pci.h:#define PCI_DMA_BUS_IS_PHYS (1)
./include/asm-ppc64/pci.h:#define PCI_DMA_BUS_IS_PHYS (0)
./include/asm-s390/pci.h:#define PCI_DMA_BUS_IS_PHYS (1)
./include/asm-sparc/pci.h:#define PCI_DMA_BUS_IS_PHYS (0)
./include/asm-sparc64/pci.h:#define PCI_DMA_BUS_IS_PHYS (0)
./include/asm-um/pci.h:#define PCI_DMA_BUS_IS_PHYS (1)
./include/asm-x86_64/pci.h:#define PCI_DMA_BUS_IS_PHYS (0)
./include/asm-x86_64/pci.h:#define PCI_DMA_BUS_IS_PHYS 1