Re: [PATCH] esssolo1.c: get rid of check_region

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Sep 29 2000 - 11:23:05 EST


> allocated and requested as soon as they are known. Now, that _may_ be at
> open() time - there are cards that actually shut down completely and do
> not react to IO etc until actually enabled through some magic means (*)
> and potentially you could allocate the IO range dynamically at open() time
> and make them shut up at any other time.

Thats how it works. There are reasons for doing it this way. These sound boards
support legacy mapping of legacy device emulation stuff. If you dont have an
ISA card then its rather nice to have it enabled, but if we blindly enable
it you _cannot_ disable it on the ISA device it collides with.

In general yes you are right, but this is one of the ugly cases. And while the
bits are disabled the address is truely free for the ISA device to use

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 30 2000 - 21:00:24 EST