PATCH: enable the hwif->raw_taskfile hook
drivers/ide/ide-taskfile.c +5 -1
@@ -604,7 +604,11 @@int ide_raw_taskfile (ide_drive_t *drive,ide_task_t *args,u8 *buf) { -return ide_diag_taskfile (drive, args,0 , buf); +ide_hwif_t *hwif =HWIF (drive); +if (hwif->raw_taskfile) +return hwif->raw_taskfile (drive, args, buf); +else +return ide_diag_taskfile (drive, args,0 , buf); }EXPORT_SYMBOL (ide_raw_taskfile);
Signed-off-by Alan Cox <[email protected]>
--
Xenophobia: fear of paravirtualization