aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2008-07-31 07:52:40 +0900
committerJeff Garzik <jgarzik@redhat.com>2008-07-31 01:47:05 -0400
commit2486fa561a3192bbbec39c7feef87a1e07bd6342 (patch)
tree4241264273c63714e4c2021e7de69aee8bb2b20c /drivers/ata/libata.h
parentpata_via: add VX800 flag; add function for fixing h/w bugs (diff)
downloadlinux-dev-2486fa561a3192bbbec39c7feef87a1e07bd6342.tar.xz
linux-dev-2486fa561a3192bbbec39c7feef87a1e07bd6342.zip
libata: update atapi disable handling
Global and per-LLD ATAPI disable checks were done in the command issue path probably because it was left out during EH conversion. On affected machines, this can cause lots of warning messages. Move them to where they belong - the probing path. Reported by Chunbo Luo. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Chunbo Luo <chunbo.luo@windriver.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/libata.h')
-rw-r--r--drivers/ata/libata.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h
index f6f9c28ec7f8..ade5c75b6144 100644
--- a/drivers/ata/libata.h
+++ b/drivers/ata/libata.h
@@ -66,7 +66,6 @@ enum {
extern unsigned int ata_print_id;
extern struct workqueue_struct *ata_aux_wq;
-extern int atapi_enabled;
extern int atapi_passthru16;
extern int libata_fua;
extern int libata_noacpi;