Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S269192AbUIHWzV (ORCPT ); Wed, 8 Sep 2004 18:55:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S269194AbUIHWzV (ORCPT ); Wed, 8 Sep 2004 18:55:21 -0400 Received: from imf20aec.mail.bellsouth.net ([205.152.59.68]:35836 "EHLO imf20aec.mail.bellsouth.net") by vger.kernel.org with ESMTP id S269192AbUIHWy3 (ORCPT ); Wed, 8 Sep 2004 18:54:29 -0400 Date: Wed, 8 Sep 2004 17:54:31 -0500 From: Tommy Reynolds To: linux-kernel@vger.kernel.org Subject: Re: ISA DMA Message-Id: <20040908175431.5872dda0.Tommy.Reynolds@MegaCoder.com> In-Reply-To: <413F7960.8070500@drzeus.cx> References: <413F7960.8070500@drzeus.cx> X-Mailer: Sylpheed version 0.9.12cvs7 (GTK+ 1.2.10; i686-redhat-linux-gnu) X-Face: Nr)Jjr, spake thus: > I've been trying to figure out how other drivers do it but I can't see > what I'm missing. And the documentation doesn't cover ISA DMA. Allocate your DMA buffer area by OR'ing in the "GFP_DMA" flag. This keeps your DMA buffer below the magical 16MB limit. Also be sure to use "virt_to_bus()" to convert the kernel buffer address into one that you can give to the DMA engine. HTH. --Signature=_Wed__8_Sep_2004_17_54_31_-0500_M.IqQFWsR/h5MnG6 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBP42r/0ydqkQDlQERAiGuAKCbHAeISDfqulA/nYMxvRuAnnQl3gCfaL9U uMEMYUxG2nLdspikjDCQW/w= =IXfv -----END PGP SIGNATURE----- --Signature=_Wed__8_Sep_2004_17_54_31_-0500_M.IqQFWsR/h5MnG6-- - 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/