[patch] ata: libata: add per device private data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Allow host controllers to store private data per device.

Signed-off-by:  Kristen Carlson Accardi <kristen.c.accardi@xxxxxxxxx>

---
 include/linux/libata.h |    3 +++
 1 file changed, 3 insertions(+)

Index: libata-dev/include/linux/libata.h
===================================================================
--- libata-dev.orig/include/linux/libata.h	2007-09-24 16:13:33.000000000 -0700
+++ libata-dev/include/linux/libata.h	2007-09-24 16:15:24.000000000 -0700
@@ -474,6 +474,9 @@ struct ata_device {
 	/* error history */
 	struct ata_ering	ering;
 	int			spdn_cnt;
+
+	/* controller driver per device private data */
+	void 			*private_data;
 };
 
 /* Offset into struct ata_device.  Fields above it are maintained
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux