author | Murali Karicheri <m-karicheri2@ti.com> | |
Thu, 23 Jan 2020 16:07:16 +0000 (11:07 -0500) | ||
committer | Sekhar Nori <nsekhar@ti.com> | |
Mon, 27 Jan 2020 10:29:33 +0000 (15:59 +0530) | ||
commit | c3ca4a37d94aed2aaf0b4c75fb4aca338ec034fc | |
tree | af3eea7b899c061a062257be9620da8fbcc256b7 | tree | snapshot (tar.xz tar.gz zip) |
parent | 90319ffbadc1add930fafe1402661b5db8fa20ee | commit | diff |
net: ethernet: icssg: introduce a generic f/w command interface
Refactor the command creation code to a separate function,
emac_send_command() to prepare for additional command support
in the driver. Adjust the error messages in emac_send_command()
to include the command type. Use constant for shutdown command
type instead of using hardcoded value and add a comment
for the shutdown command in icssg_config.h.
Acked-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Refactor the command creation code to a separate function,
emac_send_command() to prepare for additional command support
in the driver. Adjust the error messages in emac_send_command()
to include the command type. Use constant for shutdown command
type instead of using hardcoded value and add a comment
for the shutdown command in icssg_config.h.
Acked-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
drivers/net/ethernet/ti/icssg_config.h | diff | blob | history | |
drivers/net/ethernet/ti/icssg_prueth.c | diff | blob | history | |
drivers/net/ethernet/ti/icssg_prueth.h | diff | blob | history |