diff options
author | Michael Grzeschik <m.grzeschik@pengutronix.de> | 2014-09-18 02:12:50 +0400 |
---|---|---|
committer | Michael Grzeschik <m.grzeschik@pengutronix.de> | 2015-10-26 11:10:56 +0300 |
commit | 5ef216c1f84825c6942fdd6c24d12a08ac2df135 (patch) | |
tree | 401f8c91fa1613f17c74f121135da9c651630813 /drivers/net/arcnet/com20020.h | |
parent | ae8ede6a0cdcf3b21596f44dff30bbd02265bb41 (diff) | |
download | linux-5ef216c1f84825c6942fdd6c24d12a08ac2df135.tar.xz |
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.h | 4 |
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 { |