]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commita413c09094e4df714c274690928dcf8125daf7e8
treefc7fcdbd1f85686638aa959a632cab0328abf47f
parent8c3520d4eb3b1bbf2e45fbae8dcfb8db06d5e775
[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