]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] yenta: don't mess with bridge control register
authorDaniel Ritz <daniel.ritz@gmx.ch>
Wed, 24 Aug 2005 15:03:23 +0000 (17:03 +0200)
committerDominik Brodowski <linux@dominikbrodowski.net>
Mon, 26 Sep 2005 11:11:24 +0000 (13:11 +0200)
commitedad98f927ce3cd2e676886965ffb239bc639e8f
treefc7fcdbd1f85686638aa959a632cab0328abf47f
parentfdc81cbad546292a488e9261d202c3a7c612bf9e
[PATCH] yenta: don't mess with bridge control register

In interrupt probing (both ISA and PCI) the bridge control register is used
to change interrupt routing to ISA or PCI by changing bit 7.  But this bit
only controls the routing of card functional interrupts, not the CSC
interrupts which are used for interrupt probing.

A bad side effect of messing with this register in yenta_probe_irq() is
that it can lead to irq storms if a card is inserted and already powered by
the BIOS.

Usage in yenta_sock_init() and yenta_config_init() seem to be fishy as well.

Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/yenta_socket.c