diff options
author | Muli Ben-Yehuda | 2007-10-17 18:04:35 +0200 |
---|---|---|
committer | Thomas Gleixner | 2007-10-17 20:15:45 +0200 |
commit | d588ba8c09aa2516a06512d8ba065a05f9620ee0 (patch) | |
tree | 7a9f5f1435540e86577a26b6649a185ce0e3e6f5 /drivers/ide | |
parent | 84e0fdb1754d066dd0a8b257de7299f392d1e727 (diff) |
x86: Calgary: fix disable busnum for CalIOC2
The old check we used based on dev->bus->number is wrong for devices on
CalIOC2. Instead look whether we have an IOMMU table for that bus - if
not, translation is disabled.
Thanks to Murillo Fernandes Bernardes <bernarde@br.ibm.com> for
spotting, suggesting a fix and testing.
Signed-off-by: Muli Ben-Yehuda <muli@il.ibm.com>
Acked-by: Murillo Fernandes Bernardes <bernarde@br.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/ide')
0 files changed, 0 insertions, 0 deletions