From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 21 Jun 2001 17:11:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 21 Jun 2001 17:10:54 -0400 Received: from cpe126.netz6.cablesurf.de ([195.206.156.126]:1159 "EHLO idun.neukum.org") by vger.kernel.org with ESMTP id ; Thu, 21 Jun 2001 17:10:50 -0400 Content-Type: text/plain; charset=US-ASCII From: Oliver Neukum To: Abramo Bagnara , Alan Cox Subject: Re: Is it useful to support user level drivers Date: Thu, 21 Jun 2001 23:09:04 +0200 X-Mailer: KMail [version 1.2] Cc: "D.A.Fedorov@inp.nsk.su Balbir Singh" , linux-kernel@vger.kernel.org In-Reply-To: <3B325206.3EB44DDD@alsa-project.org> In-Reply-To: <3B325206.3EB44DDD@alsa-project.org> MIME-Version: 1.0 Message-Id: <01062123090407.02500@idun> Content-Transfer-Encoding: 7BIT Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > Kernel space: > - irq 9 arrives from our device > - interrupts are disabled > - our kernel space micro handler is invoked > - interrupt source is checked > - if no notification is pending a signal is notificated for user space > (or a process is marked runnable) > - optionally our device interrupt generation is disabled > - handler returns > - interrupts are enabled Then why bother ? Write a minimum conventional kernel driver implementing poll() Regards Oliver