On Wed, Nov 09, 2005 at 01:20:00PM +0000, David Howells wrote:
> Andrew Morton <[EMAIL PROTECTED]> wrote:
> 
> > +                   desc->chip->set_type(irq, type);
> 
> How's the error handled if the PIC can't handle the requested type?
> 
> It seems like it ought to be wrong that the driver is setting this. It ought
> to be a property of the arch or the bus.

No it should not.  Neither the arch not the bus dictates what the
device manufacturer decides to do with their interrupt output.

It most definitely is a property of the device/driver and not a
higher level.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core

Reply via email to