summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/ifx6x60.h
diff options
context:
space:
mode:
authorRuss Gorby <russ.gorby@intel.com>2011-02-02 12:56:58 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-03 11:43:10 -0800
commit2f1522eccb09188f0008168f75420bc2fedc9cae (patch)
tree8b9fd188706ec80a763545960cf929ab0149a511 /drivers/tty/serial/ifx6x60.h
parenta5f4dbf0ae972510faca799a809d3771fab323b7 (diff)
downloadblackbird-op-linux-2f1522eccb09188f0008168f75420bc2fedc9cae.tar.gz
blackbird-op-linux-2f1522eccb09188f0008168f75420bc2fedc9cae.zip
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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/tty/serial/ifx6x60.h b/drivers/tty/serial/ifx6x60.h
index deb7b8d977dc..0ec39b58ccc4 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;
OpenPOWER on IntegriCloud