aboutsummaryrefslogtreecommitdiff
path: root/hw/nx-rng.c
diff options
context:
space:
mode:
authorDan Streetman <ddstreet@ieee.org>2015-02-17 15:38:53 -0500
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-02-19 12:20:28 +1100
commit34b3786798f09650c4bf0d0ff92654fdb79748d3 (patch)
tree47508c1ca700c7418527b6ad0990870f48a3cf80 /hw/nx-rng.c
parentb3749779d1c9ba4b5b1b81de3ddfa0da1b830138 (diff)
downloadskiboot-34b3786798f09650c4bf0d0ff92654fdb79748d3.zip
skiboot-34b3786798f09650c4bf0d0ff92654fdb79748d3.tar.gz
skiboot-34b3786798f09650c4bf0d0ff92654fdb79748d3.tar.bz2
change direct use of LSH to SETFIELD
In several places, a "bus/device/function" u16 was being directly or'ed into an address using a left-shift. This should be using SETFIELD, especially now that all _LSH have been removed. Change use of BDFN (bus/device/function) field from using plain left-shift to using SETFIELD(). Add proper BDFN field definitions. Signed-off-by: Dan Streetman <ddstreet@ieee.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/nx-rng.c')
0 files changed, 0 insertions, 0 deletions