Use constants from linux/dma-mapping.h for pci_set_dma_mask() and
pci_set_consistent_dma_mask()
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
---
drivers/scsi/aacraid/commsup.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/aacraid/comms
On Wed, Apr 13, 2005 at 03:51:00PM +0100, Christoph Hellwig wrote:
> On Wed, Apr 13, 2005 at 03:43:08PM +0100, Christoph Hellwig wrote:
> > > static void waitForPause(unsigned amount)
> > > {
> > > - ULONG the_time = jiffies + MS_TO_JIFFIES(amount);
> > > + ULONG the_time = jiffies + msecs_to_jif
Replace the MS_TO_JIFFIES() macro with msecs_to_jiffies() from jiffies.h
The current macro is incorrect because HZ can have different values on
different architectures.
The patch also removes the JIFFIES_TO_MS() macro which is not used
anymore in the code.
Signed-off-by: Tobias Klauser <[EM
some architectures otherwise.
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2.6.11.orig/drivers/scsi/qlogicfc.c 2005-03-02 12:50:38.0
+0100
+++ linux-2.6.11/drivers/scsi/qlogicfc.c
tures otherwise.
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2.6.11.orig/drivers/scsi/qla1280.c2005-03-02 12:50:38.0
+0100
+++ linux-2.6.11/drivers/scsi/qla1280.c 2005-03-20 13:27
some architectures otherwise.
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2.6.11.orig/drivers/scsi/megaraid.c 2005-03-02 12:50:36.0
+0100
+++ linux-2.6.11/drivers/scsi/megaraid.c
some architectures otherwise.
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2.6.11.orig/drivers/scsi/megaraid/megaraid_mbox.c 2005-03-02
12:50:37.0 +0100
+++ linux-2.6.11/drivers/scsi/megaraid/me
some architectures otherwise.
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2.6.11.orig/drivers/scsi/initio.c 2005-03-02 12:50:38.0
+0100
+++ linux-2.6.11/drivers/scsi/initio.c 2005-03-20 14:06
some architectures otherwise.
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2.6.11.orig/drivers/scsi/gdth.c 2005-03-02 12:50:38.0
+0100
+++ linux-2.6.11/drivers/scsi/gdth.c2005-03-20 13:50
tures otherwise.
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2.6.11.orig/drivers/scsi/eata.c 2005-03-02 12:50:38.0
+0100
+++ linux-2.6.11/drivers/scsi/eata.c2005-03-20 13:27
tures otherwise.
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2.6.11.orig/drivers/scsi/BusLogic.c 2005-03-02 12:50:38.0
+0100
+++ linux-2.6.11/drivers/scsi/BusLogic.c2005-03-20
some architectures otherwise.
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2.6.11.orig/drivers/scsi/dpt_i2o.c2005-03-02 12:50:38.0
+0100
+++ linux-2.6.11/drivers/scsi/dpt_i2o.c 2005-03-20 13:27
tures otherwise.
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2.6.11.orig/drivers/scsi/atp870u.c2005-03-02 12:50:38.0
+0100
+++ linux-2.6.11/drivers/scsi/atp870u.c 2005-03-20 13:27
tures otherwise.
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2.6.11.orig/drivers/scsi/aic7xxx/aic7xxx_osm.c2005-03-02
12:50:36.0 +0100
+++ linux-2.6.11/drivers/scsi/aic7xxx/aic7xxx_o
tures otherwise.
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2.6.11.orig/drivers/scsi/aic7xxx/aic79xx_osm.c2005-03-02
12:50:36.0 +0100
+++ linux-2.6.11/drivers/scsi/aic7xxx/aic79xx_o
tures otherwise.
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2.6.11.orig/drivers/scsi/aacraid/linit.c 2005-03-02
12:50:37.0 +0100
+++ linux-2.6.11/drivers/scsi/aacraid/linit.c
some architectures otherwise.
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2.6.11.orig/drivers/scsi/aacraid/aachba.c 2005-03-02
12:50:37.0 +0100
+++ linux-2.6.11/drivers/scsi/aacraid/aachba.
tures otherwise.
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2.6.11.orig/drivers/scsi/a100u2w.c2005-03-02 12:50:38.0
+0100
+++ linux-2.6.11/drivers/scsi/a100u2w.c 2005-03-20 13:27
Hello,
Description: Use the DMA_{64,32}BIT_MASK constants from dma-mapping.h
when calling pci_set_dma_mask() or pci_set_consistent_dma_mask()
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2
Hello,
Description: Use the DMA_{64,32}BIT_MASK constants from dma-mapping.h
when calling pci_set_dma_mask() or pci_set_consistent_dma_mask()
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2
Hello,
Description: Use the DMA_{64,32}BIT_MASK constants from dma-mapping.h
when calling pci_set_dma_mask() or pci_set_consistent_dma_mask()
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2
Hello,
Description: Use the DMA_{64,32}BIT_MASK constants from dma-mapping.h
when calling pci_set_dma_mask() or pci_set_consistent_dma_mask()
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2
Hello,
Description: Use the DMA_{64,32}BIT_MASK constants from dma-mapping.h
when calling pci_set_dma_mask() or pci_set_consistent_dma_mask()
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2
Hello,
Description: Use the DMA_{64,32}BIT_MASK constants from dma-mapping.h
when calling pci_set_dma_mask() or pci_set_consistent_dma_mask()
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2
Hello,
Description: Use the DMA_{64,32}BIT_MASK constants from dma-mapping.h
when calling pci_set_dma_mask() or pci_set_consistent_dma_mask()
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2
Hello,
Description: Use the DMA_{64,32}BIT_MASK constants from dma-mapping.h
when calling pci_set_dma_mask() or pci_set_consistent_dma_mask()
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2
Hello,
Description: Use the DMA_{64,32}BIT_MASK constants from dma-mapping.h
when calling pci_set_dma_mask() or pci_set_consistent_dma_mask()
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2
Hello,
Description: Use the DMA_{64,32}BIT_MASK constants from dma-mapping.h
when calling pci_set_dma_mask() or pci_set_consistent_dma_mask()
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2
Hello,
Description: Use the DMA_{64,32}BIT_MASK constants from dma-mapping.h
when calling pci_set_dma_mask() or pci_set_consistent_dma_mask()
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2
Hello,
Description: Use the DMA_{64,32}BIT_MASK constants from dma-mapping.h
when calling pci_set_dma_mask() or pci_set_consistent_dma_mask()
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2
Hello,
Description: Use the DMA_{64,32}BIT_MASK constants from dma-mapping.h
when calling pci_set_dma_mask() or pci_set_consistent_dma_mask()
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2
Hello,
Description: Use the DMA_{64,32}BIT_MASK constants from dma-mapping.h
when calling pci_set_dma_mask() or pci_set_consistent_dma_mask()
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2
Hello,
Description: Use the DMA_{64,32}BIT_MASK constants from dma-mapping.h
when calling pci_set_dma_mask() or pci_set_consistent_dma_mask()
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2
Hello,
Description: Use the DMA_{64,32}BIT_MASK constants from dma-mapping.h
when calling pci_set_dma_mask() or pci_set_consistent_dma_mask()
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2
Hello,
Description: Use the DMA_{64,32}BIT_MASK constants from dma-mapping.h
when calling pci_set_dma_mask() or pci_set_consistent_dma_mask()
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2
Hello,
Description: Use the DMA_{64,32}BIT_MASK constants from dma-mapping.h
when calling pci_set_dma_mask() or pci_set_consistent_dma_mask()
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2
Hello,
Description: Use the DMA_{64,32}BIT_MASK constants from dma-mapping.h
when calling pci_set_dma_mask() or pci_set_consistent_dma_mask()
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2
Hello,
Description: Use the DMA_{64,32}BIT_MASK constants from dma-mapping.h
when calling pci_set_dma_mask() or pci_set_consistent_dma_mask()
See http://marc.theaimsgroup.com/?t=10800199301&r=1&w=2 for details
Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
--- linux-2
38 matches
Mail list logo