Subject: Re: CVS commit: syssrc
To: None <jchacon@genuity.net>
From: Lennart Augustsson <lennart@mail.augustsson.net>
List: port-i386
Date: 12/20/2000 10:08:01
You can introduce isa_intr_establish_no_panic() (just pick a better name :)
which returns NULL on failure and then slowly migrate the drivers over
to using that.
I think that would be a better solution.
-- Lennart
jchacon@genuity.net wrote:
> There's 2 ways to really look at this:
>
> 1. wssattach() looks at already assigned irq's and doesn't try to attach if
> it's irq is taken. (Ok, yuck..violates some abstraction and gets very bad
> very quick).
>
> 2. Have isa_intr_establish return NULL on conflict cases and all drivers that
> use it start checking return values. (Not horrible, but would require some
> fairly wide code changes).
>
> James