Handle ATA controllers with only one port
authorDavid Zeuthen <davidz@redhat.com>
Fri, 4 Dec 2009 12:07:08 +0000 (07:07 -0500)
committerDavid Zeuthen <davidz@redhat.com>
Fri, 4 Dec 2009 12:07:08 +0000 (07:07 -0500)
commitcef5f633f10124a8f32d7898896d9ff7594cf593
treed2e88d1f21cdba6c0f5f8e0617aff283d94d5396
parent2a8733285897c1c2bca7dcd4992bab5811038be1
Handle ATA controllers with only one port

This happens on e.g. VirtualBox SATA controllers - just check the
driver name before anything else.

Signed-off-by: David Zeuthen <davidz@redhat.com>
src/adapter.c