summaryrefslogtreecommitdiff
path: root/drivers/net/arcnet/com20020.h
diff options
context:
space:
mode:
authorMichael Grzeschik <m.grzeschik@pengutronix.de>2014-09-18 00:12:50 +0200
committerMichael Grzeschik <m.grzeschik@pengutronix.de>2015-10-26 09:10:56 +0100
commit5ef216c1f84825c6942fdd6c24d12a08ac2df135 (patch)
tree401f8c91fa1613f17c74f121135da9c651630813 /drivers/net/arcnet/com20020.h
parentae8ede6a0cdcf3b21596f44dff30bbd02265bb41 (diff)
arcnet: com20020-pci: add rotary index support
The EAE PLX-PCI card has a special rotary encoder to configure the address of every card individually. We take this information for the initial setup of the cards dev_id. Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Diffstat (limited to 'drivers/net/arcnet/com20020.h')
-rw-r--r--drivers/net/arcnet/com20020.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/arcnet/com20020.h b/drivers/net/arcnet/com20020.h
index 22a460f39fb9..f2ed2eff3ae3 100644
--- a/drivers/net/arcnet/com20020.h
+++ b/drivers/net/arcnet/com20020.h
@@ -47,6 +47,9 @@ struct com20020_pci_card_info {
int devcount;
struct com20020_pci_channel_map chan_map_tbl[PLX_PCI_MAX_CARDS];
+ struct com20020_pci_channel_map misc_map;
+
+ int rotary;
unsigned int flags;
};
@@ -54,6 +57,7 @@ struct com20020_pci_card_info {
struct com20020_priv {
struct com20020_pci_card_info *ci;
struct list_head list_dev;
+ resource_size_t misc;
};
struct com20020_dev {