commit | c982aa9c304bf0b9a7522fd118fed4afa5a0263c | [log] [tgz] |
---|---|---|
author | James Clarke <jrtc27@jrtc27.com> | Mon May 29 20:17:56 2017 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 06 13:45:03 2017 -0700 |
tree | 506653c7e93fdbebde465b906b5f900aa02338d1 | |
parent | 654f4807624a657f364417c2a7454f0df9961734 [diff] |
sparc: Machine description indices can vary VIO devices were being looked up by their index in the machine description node block, but this often varies over time as devices are added and removed. Instead, store the ID and look up using the type, config handle and ID. Signed-off-by: James Clarke <jrtc27@jrtc27.com> Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=112541 Signed-off-by: David S. Miller <davem@davemloft.net>