diff options
| author | Bin Meng <[email protected]> | 2016-01-11 22:41:19 -0800 |
|---|---|---|
| committer | Joe Hershberger <[email protected]> | 2016-01-28 12:22:55 -0600 |
| commit | 362b123f473cbc72d43720f9245c68d174439310 (patch) | |
| tree | 50dcbdcd88f4006179fd6f7a848975eccbd7f86d /include | |
| parent | 9872b736f957585c6494e727634fe6ed837bcd86 (diff) | |
net: tsec: Move rx_idx and tx_idx to struct tsec_private
At present rx_idx and tx_idx are declared as static variables
in the driver codes. To support multiple interfaces, move it to
struct tsec_private.
Signed-off-by: Bin Meng <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/tsec.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tsec.h b/include/tsec.h index f2aa11abe69..023f0954271 100644 --- a/include/tsec.h +++ b/include/tsec.h @@ -396,6 +396,8 @@ struct tsec_private { uint phyaddr; char mii_devname[16]; u32 flags; + uint rx_idx; /* index of the current RX buffer */ + uint tx_idx; /* index of the current TX buffer */ }; struct tsec_info_struct { |
