All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 2.5.24 : drivers/scsi/inia100.c
@ 2002-06-24  3:46 Frank Davis
  2002-06-24  6:30 ` Francois Romieu
  0 siblings, 1 reply; 3+ messages in thread
From: Frank Davis @ 2002-06-24  3:46 UTC (permalink / raw)
  To: linux-kernel; +Cc: fdavis

Hello all,
  This patch adds the DMA mapping check (1st step for 
Documentation/DMA-mapping.txt compliance). Please review.

Regards,
Frank

--- drivers/scsi/inia100.c.old	Wed Feb 13 21:27:00 2002
+++ drivers/scsi/inia100.c	Sun Jun 23 23:30:10 2002
@@ -248,7 +248,10 @@
 					continue;
 				if (iAdapters >= MAX_SUPPORTED_ADAPTERS)
 					break;	/* Never greater than maximum   */
-
+				if(pci_set_dma_mask(pdev, 0xffffffff))
+				{
+					printk(KERN_WARNING "inia100 : No suitable DMA available.\n");
+				}
 				if (i == 0) {
 					/*
 					   printk("inia100: The RAID controller is not supported by\n");


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

end of thread, other threads:[~2002-06-24  6:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-24  3:46 [PATCH] 2.5.24 : drivers/scsi/inia100.c Frank Davis
2002-06-24  6:30 ` Francois Romieu
2002-06-24  6:48   ` Frank Davis

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.