/* * Copyright (C) 2016 Glider bvba * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. */ #ifndef __DT_BINDINGS_POWER_R8A7793_SYSC_H__ #define __DT_BINDINGS_POWER_R8A7793_SYSC_H__ /* * These power domain indices match the numbers of the interrupt bits * representing the power areas in the various Interrupt Registers * (e.g. SYSCISR, Interrupt Status Register) * * Note that R-Car M2-N is identical to R-Car M2-W w.r.t. power domains. */ #define R8A7793_PD_CA15_CPU0 0 #define R8A7793_PD_CA15_CPU1 1 #define R8A7793_PD_CA15_SCU 12 #define R8A7793_PD_SH_4A 16 #define R8A7793_PD_SGX 20 /* Always-on power area */ #define R8A7793_PD_ALWAYS_ON 32 #endif /* __DT_BINDINGS_POWER_R8A7793_SYSC_H__ */ e='id' value='e9838ef2d6f3f3ccb058514d4ac03a6f6155ecc2'/> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWingMan Kwok <w-kwok2@ti.com>2016-12-19 17:55:56 -0500
committerDavid S. Miller <davem@davemloft.net>2016-12-20 14:07:17 -0500
commite9838ef2d6f3f3ccb058514d4ac03a6f6155ecc2 (patch)
tree71e7736c1c9d39dec43814c94797d5f0db036f99
parent04fddde37642dd270ecb430b879f311536cfd6a5 (diff)
net: netcp: ethss: fix errors in ethtool ops
In ethtool ops, it needs to retrieve the corresponding ethss module (gbe or xgbe) from the net_device structure. Prior to this patch, the retrieving procedure only checks for the gbe module. This patch fixes the issue by checking the xgbe module if the net_device structure does not correspond to the gbe module. Signed-off-by: WingMan Kwok <w-kwok2@ti.com> Signed-off-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat