diff options
author | Ben Hutchings | 2008-12-13 06:48:57 +0100 |
---|---|---|
committer | David S. Miller | 2008-12-13 06:58:16 +0100 |
commit | 356eebb2b3af24cc701823f1e025f04eef333239 (patch) | |
tree | 62f8e4e24e1e421d617fe08775dfd15b79862fdc /drivers/net/sfc/falcon_hwdefs.h | |
parent | sfc: Clean up board identification (diff) | |
download | kernel-qcow2-linux-356eebb2b3af24cc701823f1e025f04eef333239.tar.gz kernel-qcow2-linux-356eebb2b3af24cc701823f1e025f04eef333239.tar.xz kernel-qcow2-linux-356eebb2b3af24cc701823f1e025f04eef333239.zip |
sfc: Clean up MDIO flag setting
We often want to set or clear a flag in an MDIO register, but avoid
writing if no change is required since this can have side-effects.
Encapsulate this in a function, mdio_clause45_set_flag().
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/falcon_hwdefs.h')
0 files changed, 0 insertions, 0 deletions