• Rene Herman's avatar
    pnp: add ISAPnP MPU option quirks · 3b73a223
    Rene Herman authored
    The AD181x and AZT230 chips don't support an IRQ-less MPU401 option but
    work fine without one.  This adds (priority functional) IRQ-less options
    for each port option to help systems with few available IRQs.
    
    The AD1815 quirk can't use pnp_register_irq_resource() due to doubly
    penalizing the IRQ.  Also, while not a practical issue due to no IRQ
    option being present for the dependents, this needs to add in front, not
    back.
    
    Doesn't use pnp_register_port_resource() for symetry with above.
    
    This does not delete the AD1815 independent option even though it should
    be empty after the IRQ transfer due to AD1816 coming with an empty but
    still present independent option by default.
    
    Was tested on AD1815, AD1816 and AZT2320.  The ALSA snd-ad1818a driver
    also support the AZT2002 ID for MPU401 but this doesn't as I was unable to
    test it.
    Signed-off-by: default avatarRene Herman <rene.herman@gmail.com>
    Tested-by: default avatarUwe Bugla <uwe.bugla@gmx.de>
    Acked-by: default avatarUwe Bugla <uwe.bugla@gmx.de>
    Acked-by: default avatarBjorn Helgaas <bjorn.helgaas@hp.com>
    Cc: Takashi Iwai <tiwai@suse.de>
    Cc: Len Brown <len.brown@intel.com
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    3b73a223
quirks.c 7.96 KB