Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 23 Jun 2002 23:55:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 23 Jun 2002 23:55:08 -0400 Received: from nycsmtp2fb.rdc-nyc.rr.com ([24.29.99.78]:12809 "EHLO si.rr.com") by vger.kernel.org with ESMTP id ; Sun, 23 Jun 2002 23:55:07 -0400 Date: Sun, 23 Jun 2002 23:46:23 -0400 (EDT) From: Frank Davis X-X-Sender: fdavis@localhost.localdomain To: linux-kernel@vger.kernel.org cc: fdavis@si.rr.com Subject: [PATCH] 2.5.24 : drivers/scsi/inia100.c Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 853 Lines: 27 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"); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/