remarkable-linux/drivers/pnp
Rene Herman 3b73a22366 pnp: add ISAPnP MPU option quirks
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: Rene Herman <rene.herman@gmail.com>
Tested-by: Uwe Bugla <uwe.bugla@gmx.de>
Acked-by: Uwe Bugla <uwe.bugla@gmx.de>
Acked-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Takashi Iwai <tiwai@suse.de>
Cc: Len Brown <len.brown@intel.com
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-05-14 19:11:13 -07:00
..
isapnp Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 2008-04-30 11:52:52 -07:00
pnpacpi Merge branch 'pnp' into release 2008-04-30 13:59:05 -04:00
pnpbios PNP: fix printk format warnings 2008-05-01 08:04:00 -07:00
base.h pnp: add pnp_build_option() to the API 2008-05-14 19:11:13 -07:00
card.c PNP: add pnp_alloc_card() 2008-04-29 03:22:17 -04:00
core.c PNP: make pnp_resource_table private to PNP core 2008-04-29 03:22:27 -04:00
driver.c PNP: change pnp_add_id() to allocate its own pnp_id structures 2008-04-29 03:22:16 -04:00
interface.c PNP: set IRQ index in sysfs "set irq" interface 2008-05-13 08:02:24 -07:00
Kconfig Use menuconfig objects: PNP 2007-07-16 09:05:40 -07:00
Makefile PNP: use dev_info(), dev_err(), etc in core 2007-10-17 08:43:04 -07:00
manager.c PNP: add pnp_resource index for ISAPNP 2008-04-29 03:22:28 -04:00
quirks.c pnp: add ISAPnP MPU option quirks 2008-05-14 19:11:13 -07:00
resource.c pnp: add pnp_build_option() to the API 2008-05-14 19:11:13 -07:00
support.c PNP: convert assign, interface to use pnp_get_resource(), not pnp_resource_table 2008-04-29 03:22:26 -04:00
system.c PNP: remove PNP_MAX_* uses 2008-04-29 03:22:26 -04:00