summaryrefslogtreecommitdiff
path: root/drivers/pcmcia/i82365.h
diff options
context:
space:
mode:
authorJens Künzer <Jens.Kuenzer@fpga.homeip.net>2010-03-06 07:46:16 +0100
committerDominik Brodowski <linux@dominikbrodowski.net>2010-03-15 14:50:15 +0100
commit28ca8dd71fc170090edca62cb8129625d01b7760 (patch)
treeafd386c42c2319f877883db6fd55c77958ff75ed /drivers/pcmcia/i82365.h
parentb416cd8efb6ce2661f8f98f603972f0b8f796ee4 (diff)
pcmcia: honor saved flags in yenta_socket's I365_CSCINT register
Instead of overwriting the I365_CSCINT register, save the old value and merely change the bits we care about. Part 1 of a series to allow the ISA irq to be used for Cardbus devices if the socket's PCI irq is unusable. [linux@dominikbrodowski.net: split up the original patch, commit message] Signed-off-by: Jens Kuenzer <Jens.Kuenzer@fpga.homeip.net> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/i82365.h')
-rw-r--r--drivers/pcmcia/i82365.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pcmcia/i82365.h b/drivers/pcmcia/i82365.h
index 849ef1b5d687..3f84d7a2dc84 100644
--- a/drivers/pcmcia/i82365.h
+++ b/drivers/pcmcia/i82365.h
@@ -95,6 +95,7 @@
#define I365_CSC_DETECT 0x08
#define I365_CSC_ANY 0x0F
#define I365_CSC_GPI 0x10
+#define I365_CSC_IRQ_MASK 0xF0
/* Flags for I365_ADDRWIN */
#define I365_ENA_IO(map) (0x40 << (map))