Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 11 Feb 2002 10:41:03 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 11 Feb 2002 10:40:53 -0500 Received: from www.microgate.com ([216.30.46.105]:63496 "EHLO sol.microgate.com") by vger.kernel.org with ESMTP id ; Mon, 11 Feb 2002 10:40:36 -0500 Message-ID: <001701c1b312$24448ca0$0c00a8c0@diemos> From: "Paul Fulghum" To: , Cc: In-Reply-To: Subject: Re: [PATCH] 2.5.3-dj5 synclink.c fix so that it compiles Date: Mon, 11 Feb 2002 09:38:23 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > This is a temp fix for thje synclink.c file in drivers/char it work's for me > so DJ will you please apply this patch. > Thank you Victor Torres. > All it does it removes the #error please convert me to > Documentation/DMA-mapping.txt > it compiles and work's great for me. > Please apply There is nothing in the DMA-mapping.txt that applies to the PCI version of the synclink adapter (which does not do DMA to/from system memory). The ISA version of the synclink adapter does do ISA DMA bus master transfers. After reading DMA-mapping.txt twice it is unclear what changes need to be applied. The documentation seems to imply that ISA devices need to make some pci_xxx calls. I'm not sure how this works when there is no PCI bus. For now, removing the #error line should work fine for the PCI adapter and probably for the ISA as well. I will look at this again as time allows. I usually wait 6-12 months after the new development kernel opens before attempting to sync my drivers to the latest changes. This avoids most of the eat-your-file-system phase, prevents wasting time chasing after a rapidly changing API, and still leaves another 12 months for tweaking. Paul Fulghum, paulkf@microgate.com Microgate Corporation, www.microgate.com - 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/