diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2009-06-11 15:30:10 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-11 19:50:57 +0400 |
commit | 101b81590d8df0a74c33cf739886247c0a13f4af (patch) | |
tree | 29ae8b31fa7ccfaeb790a2eabcd014a9656f81bf /include/linux/cyclades.h | |
parent | 97e87f8ebe978e881c7325ba490574bd5500b133 (diff) | |
download | linux-101b81590d8df0a74c33cf739886247c0a13f4af.tar.xz |
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/cyclades.h')
-rw-r--r-- | include/linux/cyclades.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/cyclades.h b/include/linux/cyclades.h index 9ae03d5b3590..a14fe3079761 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; }; |