Commit 103f7033 authored by Borislav Petkov's avatar Borislav Petkov
Browse files

ide: unify interrupt reason checking



Add ide_check_ireason() function that handles all ATAPI devices.
Reorganize all unlikely cases in ireason checking further down in the
code path.

In addition, add PFX for printks originating from ide-atapi. Finally,
remove ide_cd_check_ireason.

Signed-off-by: default avatarBorislav Petkov <petkovbb@gmail.com>
parent 239f7e25
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment