Re: [RFC] New Driver Model for 2.5
Benjamin Herrenschmidt (benh@kernel.crashing.org)
Thu, 25 Oct 2001 09:58:32 +0200
>> I really don't think it's _that_ difficult to properly do this blocking.
>> For things like sound drivers, a simple semaphore is plenty enough. For
>
>Sound is more easily handled by not blocking user space but waiting until
>the final IRQ off moment and grabbing the registers. That avoids a lot
>of ugly locking gunge. It literally comes down to
My point about using a semaphore was to avoid getting mixer ioctls
banging the HW while it is shut down.
Ben.
-
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/