]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - ti-linux-kernel/ti-linux-kernel.git/commit
net: ethernet: icssg: introduce a generic f/w command interface
authorMurali Karicheri <m-karicheri2@ti.com>
Thu, 23 Jan 2020 16:07:16 +0000 (11:07 -0500)
committerSekhar Nori <nsekhar@ti.com>
Mon, 27 Jan 2020 10:29:33 +0000 (15:59 +0530)
commitc3ca4a37d94aed2aaf0b4c75fb4aca338ec034fc
treeaf3eea7b899c061a062257be9620da8fbcc256b7
parent90319ffbadc1add930fafe1402661b5db8fa20ee
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>
drivers/net/ethernet/ti/icssg_config.h
drivers/net/ethernet/ti/icssg_prueth.c
drivers/net/ethernet/ti/icssg_prueth.h