summaryrefslogtreecommitdiff
path: root/drivers/nubus
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-10-30 09:44:42 (GMT)
committerJeff Garzik <jgarzik@pobox.com>2005-10-30 09:44:42 (GMT)
commita7dac447bb9cef27d4d29cdf63e2d7809c50b1f4 (patch)
treea8935490cdd374aba3a804ba9f79d1aed67db36d /drivers/nubus
parent81cfb8864c73230eb1c37753aba517db15cf4d8f (diff)
downloadlinux-a7dac447bb9cef27d4d29cdf63e2d7809c50b1f4.tar.xz
[libata] change ata_qc_complete() to take error mask as second arg
The second argument to ata_qc_complete() was being used for two purposes: communicate the ATA Status register to the completion function, and indicate an error. On legacy PCI IDE hardware, the latter is often implicit in the former. On more modern hardware, the driver often completely emulated a Status register value, passing ATA_ERR as an indication that something went wrong. Now that previous code changes have eliminated the need to use drv_stat arg to communicate the ATA Status register value, we can convert it to a mask of possible error classes. This will lead to more flexible error handling in the future.
Diffstat (limited to 'drivers/nubus')
0 files changed, 0 insertions, 0 deletions