diff options
author | Giuseppe CAVALLARO <peppe.cavallaro@st.com> | 2010-01-06 18:07:17 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-07 20:06:08 -0500 |
commit | db98a0b001df79ffcdd4f231c3516411786a1113 (patch) | |
tree | 0a21ac92a40c2c6cefc3e442b1dfa40982da446a /drivers/net/stmmac/stmmac.h | |
parent | 65818fa744e70a58d230083dda1f1cd8e5c5e2ee (diff) |
stmmac: reorganise class operations.
This patch reorganises the internal stmmac ops structure.
The stmmac_ops has been splitted into other three structures named:
stmmac_ops
stmmac_dma_ops
stmmac_desc_ops
This makes the code more clear and also helps the next work to
make the driver more generic.
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/stmmac/stmmac.h')
-rw-r--r-- | drivers/net/stmmac/stmmac.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/stmmac/stmmac.h b/drivers/net/stmmac/stmmac.h index 0d5529fa579..44421d9667a 100644 --- a/drivers/net/stmmac/stmmac.h +++ b/drivers/net/stmmac/stmmac.h | |||
@@ -58,7 +58,7 @@ struct stmmac_priv { | |||
58 | int rx_csum; | 58 | int rx_csum; |
59 | unsigned int dma_buf_sz; | 59 | unsigned int dma_buf_sz; |
60 | struct device *device; | 60 | struct device *device; |
61 | struct mac_device_info *mac_type; | 61 | struct mac_device_info *hw; |
62 | 62 | ||
63 | struct stmmac_extra_stats xstats; | 63 | struct stmmac_extra_stats xstats; |
64 | struct napi_struct napi; | 64 | struct napi_struct napi; |