ata_detach
error = ata_detach(device);
int ata_detach(device_t dev);
ata_detach(dev);
if ((error = ata_detach(dev)))