ahci: ignore atapi devices which are not cdroms
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 4 Aug 2011 17:36:29 +0000 (19:36 +0200)
committerKevin O'Connor <kevin@koconnor.net>
Sat, 6 Aug 2011 17:57:53 +0000 (13:57 -0400)
commit263ea2f20507d7d30f6bfd80a8dc6fa16976d784
treedc969d35834168a4c83b66c20559d3892c11fdfc
parent9713f2418f99f003876419f8c656fa9725d912c1
ahci: ignore atapi devices which are not cdroms

Also simplify the code a bit further down the road
as we know iscd must be true ;)

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
src/ahci.c