Re: ppc64 HDIO_TASK_* ioctls 2.4, 2.6

From: Bartlomiej Zolnierkiewicz
Date: Wed May 12 2004 - 17:47:54 EST


On Thursday 13 of May 2004 00:09, Doug Maxey wrote:
> Howdy,
>
> I need a some guidance on enabling the ioctls on ppc64 to allow
> the smartmontools to run the appropriate set of commands.
>
> Does this look ok?

+COMPATIBLE_IOCTL(HDIO_DRIVE_CMD)
+#ifdef CONFIG_IDE_TASK_IOCTL
+COMPATIBLE_IOCTL(HDIO_DRIVE_TASKFILE),
+COMPATIBLE_IOCTL(HDIO_DRIVE_TASK),
+#endif CONFIG_IDE_TASK_IOCTL

HDIO_DRIVE_TASK is _always_ available

> Have sniff tested, and the smart tools do run without ioctl errors.
>
> ++doug

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/