| Submitter | Bartlomiej Zolnierkiewicz |
|---|---|
| Date | Jan. 29, 2010, 4:06 p.m. |
| Message ID | <20100129160609.21495.41616.sendpatchset@localhost> |
| Download | mbox | patch |
| Permalink | /patch/43979/ |
| State | RFC |
| Delegated to: | David Miller |
| Headers | show |
Comments
Patch
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 */