git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] pid.h cleanup
[safe/jmp/linux-2.6]
/
include
/
linux
/
libata.h
diff --git
a/include/linux/libata.h
b/include/linux/libata.h
index
ff67e75
..
d6a3d4b
100644
(file)
--- a/
include/linux/libata.h
+++ b/
include/linux/libata.h
@@
-36,7
+36,15
@@
#include <linux/workqueue.h>
#include <scsi/scsi_host.h>
#include <linux/workqueue.h>
#include <scsi/scsi_host.h>
+/*
+ * Define if arch has non-standard setup. This is a _PCI_ standard
+ * not a legacy or ISA standard.
+ */
+#ifdef CONFIG_ATA_NONSTANDARD
#include <asm/libata-portmap.h>
#include <asm/libata-portmap.h>
+#else
+#include <asm-generic/libata-portmap.h>
+#endif
/*
* compile-time options: to be removed as soon as all the drivers are
/*
* compile-time options: to be removed as soon as all the drivers are
@@
-289,6
+297,11
@@
enum {
* most devices.
*/
ATA_SPINUP_WAIT = 8000,
* most devices.
*/
ATA_SPINUP_WAIT = 8000,
+
+ /* Horkage types. May be set by libata or controller on drives
+ (some horkage may be drive/controller pair dependant */
+
+ ATA_HORKAGE_DIAGNOSTIC = (1 << 0), /* Failed boot diag */
};
enum hsm_task_states {
};
enum hsm_task_states {
@@
-476,6
+489,7
@@
struct ata_device {
/* error history */
struct ata_ering ering;
/* error history */
struct ata_ering ering;
+ unsigned int horkage; /* List of broken features */
};
/* Offset into struct ata_device. Fields above it are maintained
};
/* Offset into struct ata_device. Fields above it are maintained