[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070924162314.408ece21.kristen.c.accardi@intel.com>
Date: Mon, 24 Sep 2007 16:23:14 -0700
From: Kristen Carlson Accardi <kristen.c.accardi@...el.com>
To: jgarzik@...ox.com
Cc: linux-ide@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [patch] ata: libata: add per device private data
Allow host controllers to store private data per device.
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@...el.com>
---
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-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists