This is a patch to add support for ethtool operations and keeping
up to date statistics for RDC R6040 fast ethernet MAC driver.
Signed-off-by: Venkat Prashanth B U
---
changelog v3:
-Made the commit message more clear.
-Modified the locking interface used in r6040_get_regs().
-Verified the tabs
Signed-off-by: Venkat Prashanth B U
Changes since v1:
1. Made the commit message more clear
2. Add enumeration data type RTL_FLAG_MAX
3. Modified the locking interface used in r6040_get_regs()
4. Initialized mutex dynamically in a function r6040_get_regs()
5. Declared u32 msg_enable in
From: Venkat Prashanth B U
Signed-off-by: Venkat Prashanth B U
---
drivers/net/ethernet/rdc/r6040.c | 75
1 file changed, 75 insertions(+)
diff --git a/drivers/net/ethernet/rdc/r6040.c b/drivers/net/ethernet/rdc/r6040.c
index cb29ee2..eb7667a 100644