diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2009-06-11 07:30:10 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-11 11:50:57 -0400 |
commit | 101b81590d8df0a74c33cf739886247c0a13f4af (patch) | |
tree | 29ae8b31fa7ccfaeb790a2eabcd014a9656f81bf /include/linux/cyclades.h | |
parent | 97e87f8ebe978e881c7325ba490574bd5500b133 (diff) |
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 { | |||
518 | unsigned int nports; /* Number of ports in the card */ | 518 | unsigned int nports; /* Number of ports in the card */ |
519 | int bus_index; /* address shift - 0 for ISA, 1 for PCI */ | 519 | int bus_index; /* address shift - 0 for ISA, 1 for PCI */ |
520 | int intr_enabled; /* FW Interrupt flag - 0 disabled, 1 enabled */ | 520 | int intr_enabled; /* FW Interrupt flag - 0 disabled, 1 enabled */ |
521 | u32 hw_ver; | ||
521 | spinlock_t card_lock; | 522 | spinlock_t card_lock; |
522 | struct cyclades_port *ports; | 523 | struct cyclades_port *ports; |
523 | }; | 524 | }; |