summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2009-06-11 12:30:10 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-11 08:50:57 -0700
commit101b81590d8df0a74c33cf739886247c0a13f4af (patch)
tree29ae8b31fa7ccfaeb790a2eabcd014a9656f81bf /include/linux
parent97e87f8ebe978e881c7325ba490574bd5500b133 (diff)
downloadop-kernel-dev-101b81590d8df0a74c33cf739886247c0a13f4af.zip
op-kernel-dev-101b81590d8df0a74c33cf739886247c0a13f4af.tar.gz
tty: cyclades, cache HW version
Store HW version locally to not read it all the time in interrupts and alike. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/cyclades.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/cyclades.h b/include/linux/cyclades.h
index 9ae03d5..a14fe30 100644
--- a/include/linux/cyclades.h
+++ b/include/linux/cyclades.h
@@ -518,6 +518,7 @@ struct cyclades_card {
unsigned int nports; /* Number of ports in the card */
int bus_index; /* address shift - 0 for ISA, 1 for PCI */
int intr_enabled; /* FW Interrupt flag - 0 disabled, 1 enabled */
+ u32 hw_ver;
spinlock_t card_lock;
struct cyclades_port *ports;
};
OpenPOWER on IntegriCloud