aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2018-04-28 22:19:26 +0200
committerDavid S. Miller <davem@davemloft.net>2018-04-30 09:38:19 -0400
commit0ae0974eb3d08e2166dd83aa669b63cb84a5ced3 (patch)
treeffb7ff2aced21b9f434631edf4eeaf6d3c07edd3 /tools/perf/scripts/python/export-to-sqlite.py
parentr8169: replace magic number for INTT mask with a constant (diff)
downloadlinux-0ae0974eb3d08e2166dd83aa669b63cb84a5ced3.tar.gz
linux-0ae0974eb3d08e2166dd83aa669b63cb84a5ced3.zip
r8169: improve CPlusCmd handling
tp->cp_cmd is supposed to reflect the current value of the CplusCmd register. Several (quite old) changes however directly change this register w/o updating tp->cp_cmd. Also we have places in the code reading this register where we could use the cached value. In addition: - Properly initialize tp->cmd with the register value. - In rtl_hw_start_8169 remove one setting of PCIMulRW because it's set unconditionally anyway a few lines later. - In rtl_hw_start_8168 properly mask out the INTT bits before setting INTT_1. So far we rely on both bits being zero. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions