Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 20 Feb 2001 11:53:08 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 20 Feb 2001 11:52:58 -0500 Received: from kxmail.berlin.de ([195.243.105.30]:21894 "EHLO kxmail.berlin.de") by vger.kernel.org with ESMTP id ; Tue, 20 Feb 2001 11:52:46 -0500 Message-ID: <3A92A071.8D7906C8@berlin.de> Date: Tue, 20 Feb 2001 17:50:57 +0100 From: Norbert Roos X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.17-7 i686) X-Accept-Language: en MIME-Version: 1.0 To: Jeff Garzik CC: linux-kernel@vger.kernel.org Subject: Re: Probs with PCI bus master DMA to user space In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Jeff Garzik wrote: > > On Tue, 20 Feb 2001, Norbert Roos wrote: > > > Jeff Garzik wrote: > > > > > > But the buffers are usually allocated with malloc() by any application > > > > which wants to use my driver.. otherwise my driver would have to offer a > > fd = open(...); > buf = mmap(fd, ...); > fill_buffer_with_data(buf); > ioctl(fd, ...); /* tell kernel data is there */ > Hm hm - this is exactly what i wanted to avoid: The application should not be modified only to be able to use my driver - and if it is using malloc(), it would have to be modified.. Thanks anyway! Norbert - 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/