diff options
author | Russ Gorby <russ.gorby@intel.com> | 2011-02-02 20:56:58 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-03 19:43:10 (GMT) |
commit | 2f1522eccb09188f0008168f75420bc2fedc9cae (patch) | |
tree | 8b9fd188706ec80a763545960cf929ab0149a511 /drivers/tty/serial/ifx6x60.h | |
parent | a5f4dbf0ae972510faca799a809d3771fab323b7 (diff) | |
download | linux-fsl-qoriq-2f1522eccb09188f0008168f75420bc2fedc9cae.tar.xz |
serial: ifx6x60: expanded info available from platform data
Some platform attributes (e.g. max_hz, use_dma) were being intuited
from the modem type. These things should be specified by the platform
data.
Added max_hz, use_dma to ifx_modem_platform_data definition,
replaced is_6160 w/ modem_type, and changed clients accordingly
Signed-off-by: Russ Gorby <russ.gorby@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/tty/serial/ifx6x60.h')
-rw-r--r-- | drivers/tty/serial/ifx6x60.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/tty/serial/ifx6x60.h b/drivers/tty/serial/ifx6x60.h index deb7b8d..0ec39b5 100644 --- a/drivers/tty/serial/ifx6x60.h +++ b/drivers/tty/serial/ifx6x60.h @@ -88,7 +88,9 @@ struct ifx_spi_device { dma_addr_t rx_dma; dma_addr_t tx_dma; - int is_6160; /* Modem type */ + int modem; /* Modem type */ + int use_dma; /* provide dma-able addrs in SPI msg */ + long max_hz; /* max SPI frequency */ spinlock_t write_lock; int write_pending; |