lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100129160609.21495.41616.sendpatchset@localhost>
Date:	Fri, 29 Jan 2010 17:06:09 +0100
From:	Bartlomiej Zolnierkiewicz <bzolnier@...il.com>
To:	linux-ide@...r.kernel.org
Cc:	Bartlomiej Zolnierkiewicz <bzolnier@...il.com>,
	linux-kernel@...r.kernel.org
Subject: [PATCH 28/68] add ide2libata header file

From: Bartlomiej Zolnierkiewicz <bzolnier@...il.com>
Subject: [PATCH] add ide2libata header file

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@...il.com>
---
 include/linux/ide2libata.h |   17 +++++++++++++++++
 1 file changed, 17 insertions(+)

Index: b/include/linux/ide2libata.h
===================================================================
--- /dev/null
+++ b/include/linux/ide2libata.h
@@ -0,0 +1,17 @@
+#ifndef __IDE2LIBATA_H
+#define __IDE2LIBATA_H
+
+#include <linux/ide.h>
+
+#define __IDE2LIBATA		1
+
+#define ATA_DEV_ATA		ide_disk
+
+#define ata_host		ide_host
+#define ata_port		hwif_s
+#define ata_device		ide_drive_s
+
+#define ata_pio_need_iordy(d)	ide_pio_need_iordy(d, d->pio_mode - XFER_PIO_0)
+#define ata_dev_pair		ide_get_pair_dev
+
+#endif /* __IDE2LIBATA_H */
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ