Record that there is no devices if SATA reset found none.

This commit is contained in:
Alexander Motin 2010-11-18 10:34:18 +00:00
parent c865d740d5
commit 1f6aa21d47

View File

@ -463,6 +463,8 @@ ata_via_sata_reset(device_t dev)
devs = 1;
if (devs)
ata_generic_reset(dev);
else
ch->devices = 0;
}
static int