All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] [patch] use DMA_32BIT_MASK where appropriate in
@ 2007-06-06  4:15 Kevin Jackson
  2007-06-06  4:38 ` Randy Dunlap
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Kevin Jackson @ 2007-06-06  4:15 UTC (permalink / raw)
  To: kernel-janitors

From: Kev Jackson <foamdino@gmail.com>

-Removes TW_DMA_MASK definition from header/code use DMA_32BIT_MASK
instead as per kernel janitors TODO list

Signed-off-by: Kev Jackson <foamdino@gmail.com>

---

Hopefully this conforms to the requirements in the SubmittingPatches
docs :), please point out glaring errors etc (including if this
meta-comment really is ignored by changelogs as described in the docs)

--- drivers/scsi/3w-xxxx.c.orig 2007-06-06 10:30:21.000000000 +0700
+++ drivers/scsi/3w-xxxx.c      2007-06-06 10:31:29.000000000 +0700
@@ -2338,7 +2338,7 @@ static int __devinit tw_probe(struct pci

        pci_set_master(pdev);

-       retval = pci_set_dma_mask(pdev, TW_DMA_MASK);
+       retval = pci_set_dma_mask(pdev, DMA_32BIT_MASK);
        if (retval) {
                printk(KERN_WARNING "3w-xxxx: Failed to set dma mask.");
                goto out_disable_device;
--- drivers/scsi/3w-xxxx.h.orig 2007-06-06 10:30:29.000000000 +0700
+++ drivers/scsi/3w-xxxx.h      2007-06-06 10:32:01.000000000 +0700
@@ -234,7 +234,6 @@ static unsigned char tw_sense_table[][4]
 #define TW_IOCTL_TIMEOUT                      25 /* 25 seconds */
 #define TW_IOCTL_CHRDEV_TIMEOUT               60 /* 60 seconds */
 #define TW_IOCTL_CHRDEV_FREE                  -1
-#define TW_DMA_MASK                          DMA_32BIT_MASK
 #define TW_MAX_CDB_LEN                       16

 /* Bitmask macros to eliminate bitfields */
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-06-06  9:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-06  4:15 [KJ] [patch] use DMA_32BIT_MASK where appropriate in Kevin Jackson
2007-06-06  4:38 ` Randy Dunlap
2007-06-06  6:16 ` [KJ] [patch] Use " Kev Jackson
2007-06-06  6:17 ` [KJ] [patch] use DMA_32BIT_MASK where appropriate surya.prabhakar
2007-06-06  6:49 ` [KJ] [patch] Use " surya.prabhakar
2007-06-06  7:20 ` Kevin Jackson
2007-06-06  8:27 ` [KJ] [patch] Use DMA_32BIT_MASK where appropriate in Kev Jackson
2007-06-06  9:28 ` [KJ] [patch] Use DMA_32BIT_MASK where appropriate Kevin Jackson
2007-06-06  9:36 ` surya.prabhakar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.