]> git.neil.brown.name Git - history.git/commit
[libata] Add missing hooks, to avoid oops in advanced SATA drivers
authorJeff Garzik <jgarzik@pobox.com>
Wed, 23 Feb 2005 09:47:10 +0000 (04:47 -0500)
committerJeff Garzik <jgarzik@pobox.com>
Wed, 23 Feb 2005 09:47:10 +0000 (04:47 -0500)
commitd66bf08586df78535a88a36b5e6ca468ab1834ee
tree2a1a267dfc3402fb94a8654a7e8e71093a81e102
parent32ad372a22daf4a5a425f5271faa23e1c914e333
[libata] Add missing hooks, to avoid oops in advanced SATA drivers

Advanced SATA drivers should not (and cannot) use the basic
PCI IDE hooks for checking the Status and Error registers, as these
registers are either in non-standard locations, or simply don't
exist.

In the error handling path, libata was unconditionally calling some
PCI IDE hardware bitbanging functions, which would cause an oops
in the AHCI driver and any other advanced libata driver.
drivers/scsi/ahci.c
drivers/scsi/libata-core.c
include/linux/libata.h