Sorry, typo...

> @@ -674,6 +712,20 @@
>           ad_start(&ch->device[MASTER]);
>       if (ch->devices & (ATA_ATA_SLAVE) && ch->device[SLAVE].driver)
>           ad_start(&ch->device[SLAVE]);
> +    }
> +    if (ch->devices & (ATA_ATA_MASTER) && ch->device[MASTER].driver) {
> +     if (ch->device[MASTER].suspended && ch->device[MASTER].mode >= ATA_DMA) {
> +         printf("%s: going to suspend, ignoring.\n", __func__);
> +         splx(s);
> +         return;
> +      }
> +    }
> +    if (ch->devices & (ATA_ATA_SLAVE) && ch->device[SLAVE].driver) {
> +     if (ch->device[SLAVE].suspended && ch->device[MASTER].mode >= ATA_DMA) {
                                                      ^^^^^^^ SLAVE

Thanks

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to